Let the AI see the robots: shipping research software with coding agents

SED seminar · Inria Paris · 8 Dec 2026

Geovane Fedrecheski, Research Engineer, AIO team, Inria Paris

The speaker

Portrait photo of Geovane Fedrecheski, smiling, on a city street.
Figure 1: Geovane Fedrecheski.

Geovane Fedrecheski

Research Engineer, AIO team, Inria Paris

  • Leads the 1,000-robot DotBot testbed, and designed Mari, the testbed’s radio link layer
  • Works on IoT security at the IETF: co-author of ELA (zero-touch enrollment), and implemented EDHOC in Rust as Lakers
  • PhD in Electrical Engineering (USP), visiting scholar at UC Berkeley, earlier at LG Electronics

fedrecheski.com · GitHub · LinkedIn

The AIO team

Group photo of about twenty members of the AIO team standing outside the Inria Paris building.

The AIO team, February 2024. Photo: aio.inria.fr.

From smart dust to robot swarms

Smart Dustlate 1990s TSCH mesh2000s OpenWSN · 6TiSCH2010s DotBots2020s Smart Dustnorth star Smart Dust a concept: networked sensing motes, a cubic millimetre each proposed by K. Pister, UC Berkeley, late 1990s the idea behind everything that follows 1 mm³ power · sensing · radio Channel hopping a shared schedule of time slots, a new channel every hop Dust Networks TSMP, 2000s IEEE 802.15.4e TSCH, 2012 time slots → channels IPv6 over TSCH open source and standard IETF 6TiSCH working group, 2013 IPv6 6TiSCH 802.15.4e TSCH OpenWSNopen source, Berkeley SmartMesh IPindustrial product Robot swarms the mesh, now on wheels DotBots, AIO team, Inria 10 cm, battery-free Smart Dust the concept we still work towards a research pillar of the AIO team Once the nodes move, a swarm needs Connectivityon the moveMari radio PositioningLighthouse Chargingcharging station Re-programmingover the airSwarmIT

The story

Jan Apr · · · May Jun Jul Aug Sep Oct Nov 725 robots,Limerick Photo: Inria OpenSwarm:3 AIO (Inria)+ 3 partners Part 1 · The problem 1 engineer11 repositories Part 2 Build thecontext layer 11 → 7 repos, one CLIpapers and schematics as textskills, surveys, plans ANTS demo, Darmstadt Part 3 Let the AIsee the robots crash reports watchdog PC ceiling camera crash tracedin 11 minutes Part 4 What itenabled control loop,Console São Paulo workshop multi-Lighthouse Part 5 Responsible use July: IETF,UX research
Rows of DotBots with green LEDs on a warehouse floor: the 725-robot deployment in Limerick, January 2026.

Part 1: the problem

The DotBots testbed

725 robots in one deployment, January 2026 · Video: OpenSwarm · Video: 725 robots in action

Architecture

DotBot testbed architecture in three planes: dotbot-python and user apps, the MQTT broker, and the robot plane with Mari gateways, Lighthouse base stations, the DotBot swarm and a charging station.

One engineer, eleven repositories, a June deadline

DotBot-firmware C DotBot-libs C dotbot-swarmit C mari Py C swarmit C Py marilib Py PyDotBot TS Py PyDotBot-utils Py dotbot-provision Py dotbot-lh2-calibration Py qrkey JS Py 1 engineer People on the project until April 6 Inria partners from May 1 My coding time is about 60%; the rest is dissemination and IETF standardization. Live demo · ANTS 2026, Darmstadt 34 days 5 May to 8 June The decision Try agentic coding on DotBots, as an experiment

May 2026: what was still broken

Set up 12 steps5 repositories, an IDE, cables
Flash ~3.5 minto reflash 700 robots, at every code change
Operate 2 web appsdrive in one, flash in the other
Drive 76–230 mmoff at the stop; 11 of 45 starts failed
Locate 1 Lighthouseabout 4 × 4 m usable; beyond that, robots cannot be located
Crash no causereported by a crashed robotExample: at 1 crash per 20 robots every 10 min, 1,000 robots would see ~50 crashes every 10 min.

Setting up a testbed, May 2026

SES 1 install the SEGGER IDE SES 2 IDE packages: CMSIS, nRF 3 git clone mari 4 edit main.c: the network id NET ID SES 5 build, flash the gateway by cable 6 git clone swarmit 7 flash every robot by cable × N SES 8 clone, build the app in the IDE 9 pip install swarmit swarmit -n NETID NET ID 10 calibrate: cable, serial tool 11 pip install pydotbot dotbot-controller -s NET ID 12 dashboard: openssl keys repositories network id id id id typed in 3 places 1–2 days for a new contributor team estimate, May 2026

Part 2: build the context layer

Day one: one folder with everything an engineer would read

workspace/ 5 May 2026 by the end of May AGENTS.md the map and the rules LOGS.md what happened, by date repos/ 10 11 papers/ 7 papers, PDF → text docs/ 2 talk decks, a doc docs-hardware/ KiCad → BOM, GPIO map plans/ one file per task .claude/skills/ reusable procedures Claude studies each codebase, writes its AGENTS.md The root AGENTS.md points to each repo's Claude repo map conventions who owns what what I knew 2 talk decks, a project doc PDF PDF PDF 7 papers 10 repositories schematic, KiCad files the work in progress how to build, flash, review Claude Code $ claude reads AGENTS.md Every session starts from this folder

By the end of May: hardware, plans and skills join it

workspace/ 5 May 2026 by the end of May AGENTS.md the map and the rules LOGS.md what happened, by date repos/ 10 11 papers/ 7 papers, PDF → text docs/ 2 talk decks, a doc docs-hardware/ KiCad → BOM, GPIO map plans/ one file per task .claude/skills/ reusable procedures Claude studies each codebase, writes its AGENTS.md The root AGENTS.md points to each repo's Claude repo map conventions who owns what what I knew 2 talk decks, a project doc PDF PDF PDF 7 papers 10 repositories schematic, KiCad files the work in progress how to build, flash, review Claude Code $ claude reads AGENTS.md Every session starts from this folder

Simplify first: fewer repos, one CLI, one config

repositories mari+1 marilib PyDotBot+2 dotbot-provision dotbot-lh2-calibration DotBot-firmware+1 dotbot-swarmit DotBot-libs swarmit PyDotBot-utils qrkey 11 → 7repositories by June command lines dotbot-controller swarmit dotbot-provision dotbot-calibration python -m swarmit.dashboard.main dotbotone command one network id, four spellings #define MARI_APP_NET_ID network_id swarmit_network_id swarm_id swarm_id = …one config file

369 commits, 12 May to 4 June

~52 pull requests

~535 Python tests

6 repositories, 3 languages

From a fresh laptop to a swarm: 8 commands

May 2026: 12 steps, 5 repositories SES 1 3 SES 2 3 3 1 4 2 SES 5 4 6 1 7 5 8 3 9 7 10 9 11 8 12 8 1–2 days about 15 min
a fresh laptop, today
$ pip install pydotbot$ dotbot config init --conn mqtts://<broker>:8883 --swarm-id 1234$ dotbot fw fetch$ dotbot device flash mari-gateway --probe 10$ dotbot device flash swarmit-sandbox --probe 77$ dotbot run gateway -p /dev/cu.usbmodem...$ dotbot swarm flash spin -ys$ dotbot run controller# optional: Lighthouse calibration, 4 commands, over the air

From the PyDotBot README, “Deploy a real swarm”, release 0.34.0

The context layer: papers and hardware as text

The main board, from its KiCad files

KiCad schematic bom.md gpio-map.md sheets.md 239 parts PDF nRF5340 datasheet nRF5340_PS.txt + register maps (SVD) 57,544 lines PDF our papers papers/*.txt greppable 9 papers $ grep m1-ctrl docs-hardware/*gpio-map.md | P0.30 | /mcu/m1-ctrl.in-a | U5.2 |

Aug-Sep: the hardware index pays off

MayJunJulAugSepOctNovDec May: board indexed Aug-Sep: control-loop rebuild TRACK 90 mm 77–78 mm firmware had 90 mm board drawing + caliper MOTOR ENCODER 12 counts / turn 28 counts / turn firmware had 12 (2.33x) bench count, Aug WHEEL 40 mm 43 mm firmware had 40 mm caliper, Sep

until fixed, the firmware under-read distance −9.1% rotation −14.4%

Skills: the checklist you would give a new colleague

commit pr dotbot-code-review dotbot-firmware-build-flash dotbot-hil-validate dotbot-swarm-ops hardware-debugging plan-html best-in-class-survey cli-naming svg-diagrams mari-firmware-review persona-review workspace-setup jira

commit commit pull request pr dotbot-code-review flash a robot dotbot-firmware-build-flash say "validated" dotbot-hil-validate AI-assisted: trailer, my commits since May 1,711 / 1,902

Best-in-class survey: inspired by the best

best-in-class-survey before designing a CLI, a config, an SDK or a console

Survey Principle Our design
npm, Docker, git one verb tree, discoverable help the dotbot CLI
Bitcraze cflib SyncCrazyflie a synchronous facade over an async radio the swarm SDK
14 robot platforms where the control loop lives the onboard control loop

Hardware questions start from the index

Does the firmware drive the left motor the way the board is wired? gpio-map.md P0.30 m1-ctrl.in-a U5.2 bom.md U5 BDR6120H motor driver DotBot-libs drv/motors.h:23 uses a DRV8833 H-bridge ≠ 22 May a stale comment, no wiring bug

Validated means it ran on the robots

> claude /dotbot-hil-validate laptop + agent Mari gateway ceiling camera Lighthouse .csv plan.html validated: none ci tests hil validated: hil preflight: bridge, gateway, robot listed flash over the radio run, and measure from outside the logged run comes back

21 Sep New target: Lighthouse positions read against the ceiling camera. A 50 mm lag that looks like a failure is written down as normal.

Plans: May and October

a text file18 May 2026
a page in the browser2 Oct 2026
18 Maymarkdown plan
6 JulHTML only
29 Jullive state + log
27 Augcontrol-loop plan
10 Sepnumbered figures
22 Sepreview summary
2 Octmulti-Lighthouse

Live state, at the top of every plan

Top of the multi-Lighthouse plan: title, summary, live state with status, progress, validated, dates, code refs and a review summary table.
Live state: the one region that changes
7 of 7 phases merged
none, ci, tests or hil
every PR: lines, files, state, merge date

Since 29 Jul: everything that changes while work is in flight lives in one region, and nowhere else.

The log: the plan’s lab notebook

Phase 1 of the multi-Lighthouse plan: description, deliverable and check, and a log of five timestamped entries.
Log: one stamped line per thing that happened
2 Oct 11:30planned
13:40revised
14:57in review
4 Oct 04:25reviewed, fixed
10 Nov 12:41merged, released

Plans draw their own diagrams

Figure 1 of the control-loop plan: waypoint path, direct path, wheel-speed setpoints, two per-wheel PI controllers, PWM and motors, each block with a green tick.
Figure 5 of the multi-Lighthouse plan: ten phases as boxes, blue host track, amber firmware track, dashed optional phases, arrows for the order.
Figure 1: the control loop, drawn by the agent as SVG
a tick: built and tested on the floor
Multi-Lighthouse: phases in order, blue host, amber firmware

The real plans

Part 3: let the AI see the robots

The gap: tests pass, the robot still does the wrong thing

CI build unit tests mocked radio mocked broker mocked serial port checks the code against itself planned miss the robot checks it against physics Tests that only pass against a mockedradio, broker or serial port do not countas hardware validation validated: none ci tests hil Since 10 August: an agent may set hil only for a run it performed and logged (before: never)

The bench the agent drives

THE AGENT'S REACH agent › build › flash › run bench scripts › read telemetry laptop gateway Mari gateway Lighthouse camera robots the human places and picks up robots dotbot-hil-validate a fixed check sequence, plus the signatures that look like failures but are not

Telemetry 1: crash reports an agent can read

robot HardFault status cfsr0x01000000 pc0xce2 lr✓ status frame kept across the reset frame 28 Jul 2026, A23EFBCB596212AE $ dotbot swarm -d A23E… info fault HardFault (secure) cfsr 0x01000000 (UNALIGNED) pc 0x00000ce2 addr2line swarmit_localization_get_position cmse_implib.c 92 mutex_lock(); 93 position->x = ipc_shared_data.current_position.x; 94 position->y = ipc_shared_data.current_position.y;

From the program counter to one line of source: a packed struct had grown by an odd number of bytes.

29 Maya crash-source sweep, 29 bugs fixed before any bench (#411)Junethe bootloader keeps CFSR, PC and LR across the reset (#151)10 Augthe PC on a watchdog timeout too (#156)

From a program counter to a root cause in 11 minutes

10:16 10:19 10:27 10:28 10:16 pc=0x0000918e CFSR UNALIGNED only with two lighthouses on 10:19 RTT logger cannot find its buffer in secure RAM: the agent writes a background reader, no halt 10:27 reproduced on the bench restart one station: crash within 2 s 10:28 release ELF disassembled vfprintf NaN branch → strlen → unaligned load

Root cause: an uncalibrated second station solves to NaN, and printing a NaN faults on the secure side. Fixed with a written regression check (swarmit#176).

Telemetry 2: a ceiling camera as an independent witness

Lighthouse ceiling camera 50 mm Lighthouse, as advertised camera what the camera sees

Without a witness, an automated build, flash, measure loop can only optimize what the robot reports about itself.

Four marker sheets in an area's corners: the tool finds the camera that sees them and registers it to the Lighthouse frame (PyDotBot#293).

The console draws the image under the robots; bench agents record every run.

Finding: the advertised position only updates past 50 mm. Many "localization failures" were quantization.

Telemetry 3: robot detection without markers

1 found, 1 present 3 found, 3 present 5 found, 5 present no marker no trained model OpenCV only position and heading, beside the Lighthouse answer

The detector, merged in PyDotBot#300.

The agent is wrong too, and the record shows it

4 Sep

The agent said “Wheel test passed” What was true The wheels were off the floor. Re-run on the carpet 12 minutes later, and corrected.

22 Sep

The agent said “The right wheel is 35% weaker” What was true The USB tether and the charger cable were dragging the robot.

Plan review

The agent said A motor-mixer formula with a sign error What was true Caught in the plan, before any code was written.

Mistakes are recorded and corrected in the open, so the results can be trusted.

Part 4: what it enabled

The rebuilt control loop, on robots

One 400 mm straight, same day, two robots side by side · paths to scale old app 0 of 3 stopped within 10 mm rebuilt 6 of 6 stopped within 10 mm target · 10 mm 100 mm 76–230 → 14–18 mm where a straight drive stops, off target 11 of 45 → 0 of 16 runs where the robot failed to start

The DotBot Console

Until August: two web apps Since September: one console Merged 25 Aug, released 8 Sep 2026 · 102 robots in the simulator PyDotBot drive robots SwarmIT dashboard flash, start, stop 1,000 robots simulated, one controller one poll of the robot list ~26 MB → 439 KiB the controller did not start → 47% of one core

Several Lighthouses, one map

??? LH0 LH1 May: one station, about 4 × 4 m at most A second station, a second room, overlap at the door Robots spin in place: one calibration joins both stations 3 loops, 24 legs, no stop up to 4 stations per robot released 9 Nov 2026

DotBot Academy in São Paulo

7-8 October 2026 · InovaUSP STEAM LabThree 3-hour sessions. Site, deck, runbook and onboarding videos, in English and Portuguese, built with the same agents.

SIMULATOR REAL ROBOTS 1Introduction 2The platform 3A swarm in the simulator 4My script, simulated robot 5Connect the real robots 6My script, real robot 7Go to a position 8Two robots at once samescript

Six to one, and more shipped

THE TEAM 6 1 3 at Inria + 3 partners me, ~60% of my time Jan-Apr 2026 May-Oct 2026 Pull requests merged per month 21 32 1.5x Lines of code changed per month 6.0k 31k 5x Median pull request, lines 48 167 3.5x Merged pull requests, all DotBots code repositories. Lines exclude lockfiles, vendored, generated and data files.

The numbers, May to October 2026

2.1–4.5x my merged pull requests per week, on the same working days

389 → 2,757 automated tests, April to October

~9x faster over-the-air flashing of a 59 KB image on the bench, 210 s → 24 s

Releases ~1.9 → ~5.3 per month DotBot-libs: 0 → 126 host C tests gating releases

Part 5: responsible use

Responsible use at Inria, and beyond one repository

Inria guidance on AI tools
The last two stay out, or are redacted
DotBots
Code is public
AI help declared in every commit
AI-assisted: Claude
Vendor PDFs never committed, text extracts only
Beyond one repository
notesas files skills scheduledroutines self-hostedapps agent
The same pattern, as an always‑on agent

What to take home

Put the context in the repository
AGENTS.md, docs as text, plans as HTML pages: ask the agent to make them as visual as possible
Simplify first
Every extra repository or script is one more place to guess
Give the agent eyes on the real system
A stack trace with symbols, a job ID, a failing row
Add a witness it does not control
Your own ceiling camera: a reference dataset or a second measurement
Validated means a run the agent did and logged
And keep a human reviewer