Let the AI see the robots: shipping research software with coding agents
SED seminar · Inria Paris
Let the AI see the robots: shipping research software with coding agents
Geovane Fedrecheski Research Engineer, AIO team, Inria Paris
About this talk
In May 2026 I was the only engineer looking after the eleven repositories of the DotBots testbed, a swarm of hundreds of small robots, with a conference a month away. So I tried something: let coding agents do most of the work, while I directed them the best way I could. This talk is the story of the six months that followed. First, context: fewer repositories, a single command-line tool, and our papers, slides and hardware schematics turned into notes an agent can read. Then, verification: crash reports from the robots that an agent can trace back to a line of code, and a camera on the ceiling so it can check what the robots actually did. With that in place, agents fixed the robots’ control loop, tracked down firmware crashes and helped build a new web console. The lessons are not specific to robots: an agent is only as good as what it can see and what it can check. You will leave with practical steps to give your own agents eyes on your own projects.
Tue 8 Dec 2026, 16:30 Inria Paris, SED seminar
About 30 minutes
Slides
If you missed the talk
Give your coding agent eyes, in eight steps
In May 2026 I became the only engineer on the DotBots testbed, a swarm of hundreds of small robots. Until April six people had worked on it, three at Inria and three at partner institutions; from May I had about 60% of my time for code, the rest going to dissemination and IETF standardization. These are the steps I took over the next six months, in the order I would take them again.
You do not need robots to use them. They fit any software that touches something real: an instrument, a cluster, a dataset, a service with users. Each step says what to do and why, shows what it looked like for DotBots, and ends with a hint for your own project. I used Claude Code, but the files and habits work with any coding agent that reads an AGENTS.md.
A note on the setup: DotBots is many repositories (firmware, Python tools, web apps, docs) that I gathered into one workspace folder, so the agent works on them almost as if they were a monorepo. Your project may be a single repository, a real monorepo, or something else. The steps still apply; adapt the layout to what you have.
Step 1
Start from a folder above your repositories
Give the agent one place where everything an engineer would read sits side by side.
An agent opened inside one repository sees that repository only. What connects them, such as which one owns the radio protocol or which branch is the release branch, usually lives in someone’s head.
So make one folder above all your repositories and clone them into it. Ask the agent to study each repository and write its AGENTS.md: what it is for, how to build and test it, where the tricky parts are. Then write a root AGENTS.md with the map: which repository owns what, the shared conventions, where to look first. Add a dated log and write one line in it each time something ships or a decision is taken.
In DotBots
On 5 May 2026 I cloned 10 repositories into one folder (the 11th joined on 12 May) and had the agent write 11 AGENTS.md files, one at the root and one per repository. The per-repository files were merged upstream from 12 May, so an agent working inside a single repository still gets its bearings. The log’s first entry is that day.
dotbot-workspace/
AGENTS.md the map: repositories, owners, conventions
LOGS.md dated record of what shipped and what was decided
repos/
PyDotBot/ AGENTS.md
DotBot-firmware/ AGENTS.md
mari/ AGENTS.md
swarmit/ AGENTS.md
...
papers/ text extracts (step 2)
docs-hardware/ text extracts (step 2)
plans/ one HTML page per piece of work (step 5)
.claude/skills/ written procedures (step 4)
Your version
For a web service, put the backend, the frontend, the infrastructure code and the runbooks under one folder, and write down in the root file which one owns the database schema.
Step 2
Turn papers, docs and hardware files into text
An agent searches text well, so convert every reference you read into text it can grep.
The answers an engineer looks up, such as which pin drives a motor or what a register does, sit in PDFs and CAD files that an agent reads badly or not at all. Without them it answers from memory, and memory is where it guesses.
Convert your papers, slide decks and design documents to plain text and commit the text. For hardware, have a script turn the schematic and board files into markdown tables: the parts list, the pin map, the sheet index. Commit only the extracts and keep a script that fetches the original PDFs again, so vendor documents are never redistributed.

In DotBots
On day one the workspace held 7 papers about the testbed, 2 talk decks and a project document as text. On 12 May the main board’s KiCad files arrived, and a script produced a parts list of 239 parts, a GPIO map and a sheet index. The 57,544-line nRF5340 datasheet is text too. Checked against these, the firmware had the wrong encoder count (12 counts per motor turn in the code, 28 measured) and wrong wheel and track sizes, so it under-read distance by 9.1% and rotation by 14.4%.
| GPIO | Net | To |
|-------|-------------------|--------|
| P0.09 | LH2_E | U12.C2 |
| P0.10 | /mcu/m2-ctrl.in-a | U6.2 |
| P0.11 | /mcu/m2-ctrl.in-b | U6.3 |
| P0.13 | LH2_D | U12.C1 |Your version
For a data pipeline, extract the vendor’s API documentation, the schema of each source and the data-sharing agreement into text files next to the code.
Step 3
Simplify: one CLI, one config
Every extra repository, script and config file is one more place where the agent can guess wrong.
A newcomer, human or agent, has to learn every entry point and every alias. When the same setting has three names in three places, the agent will one day edit the wrong one.
Before asking for features, ask the agent to fold what can be folded. Merge small repositories into the one that uses them. Put every tool behind one command with a few verbs, and keep one config file with one name per setting. Then write the getting-started page as a short list of commands and have the agent run it on a clean machine.
In DotBots
In April, setting up the testbed took about 12 steps across 5 repositories, 4 pip packages and 5 command-line tools, and the network id had 3 names in 3 places. By June we were down from 11 to 7 repositories, with one dotbot command and one config file. The README now goes from a fresh laptop to a swarm in 8 commands. The team’s May estimate for a new contributor was 1 to 2 days; mine today is about 15 minutes.
pip install pydotbot
dotbot config init --conn mqtts://<broker>:8883 --swarm-id 1234
dotbot fw fetch # pinned pre-built firmware
dotbot device flash mari-gateway --probe 10
dotbot device flash swarmit-sandbox --probe 77 # once per DotBot
dotbot run gateway -p /dev/cu.usbmodem...
dotbot swarm flash spin -ys # whole fleet, over the air
dotbot run controller # web console at :8000/console/From the PyDotBot README, “Deploy a real swarm”. No robots at hand? dotbot run simulator --robots 20 starts a simulated swarm.
Your version
For a simulation code, replace the folder of run scripts with one entry point (sim run, sim plot, sim sweep) and one config file the agent can read.
Step 4
Write skills for repeated procedures
Write each procedure down once, as the checklist you would give a new colleague.
An agent starts each session without the corrections from the last one. Rules given in chat are lost when the session ends; rules kept in a file that the agent loads at the right moment are applied every time.
When you correct the agent twice on the same procedure, write it as a skill: a short markdown file with a name, a description of when to use it, and the steps. You rarely need to write it yourself: asking the agent to create a skill for what you just did is usually enough. Later, keep it up to date the same way, with requests like “add this to the skill” or “update the skill with what we just did”. Tie each skill to a moment, such as before a commit, before a pull request, before flashing, or before calling something validated. Put the failure signatures you learned the hard way in it, so the next session does not pay for them again.
- commit
- pr
- hardware-debugging
- dotbot-hil-validate
- dotbot-firmware-build-flash
- dotbot-swarm-ops
- best-in-class-survey
- plan-html
In DotBots
The workspace grew about 15 skills from May, one at a time. commit adds an AI-assisted: trailer, and 1,711 of my 1,902 commits since May (90%) carry it. hardware-debugging makes the agent start every hardware question from the text index; on 22 May it checked every firmware pin against the schematic. dotbot-hil-validate runs a fixed check sequence on the bench. best-in-class-survey studies how the best projects solved a problem before the agent designs a CLI, a config or an SDK.
---
name: hardware-debugging
description: Use whenever a question touches the DotBot testbed hardware:
registers, peripherals, which IC is on which sheet, the GPIO map.
---
1. Grep the index: GPIO map, parts list, schematic sheets.
2. Read the register map and the datasheet text.
3. Compare with what the firmware does.
4. Write the finding down, with the file and line.Your version
For a web service, a deploy-check skill can list the health checks to run, the dashboards to read and the error patterns that are normal after a restart.
Step 5
Plan in visual HTML files, with live state and a log
One plan per piece of work, kept next to the code, so the next session knows where the last one stopped.
Chat sessions end and their context goes with them. A markdown checklist says what was planned, while the person reviewing the work also needs to see what happened, with diagrams and measurements.
Ask the agent to write each plan as one HTML page: the design with its diagrams, a live-state panel at the top (done, running, next) and a dated log at the bottom. The log only grows, so a wrong claim is corrected by a new line. Give each plan a field that says how far the work is proven, separate from its status, and open the page in your browser to review it.


In DotBots
The first plans in May were markdown checklists. From July every plan is one HTML file, with a validated: field that goes none, ci, tests, hil. The control-loop plan ran from 27 August to 25 September and holds its diagrams, its measurements and every bench run. Three plans are published as they were written, with internal links removed:
Aug to Sep 2026, HTML
DotBot control firmware, rebuilt in layers
Live state, seven phases, diagrams and the log of every bench run.
Oct to Nov 2026, HTML
Several base stations in one frame: the joint solve and the station graph.
Your version
For a data pipeline, one page per migration, with the row counts before and after and a log line for each backfill run.
Step 6
Give the agent eyes on the real system
Let the agent read what the real system did, in a form it can trace back to the code.
Unit tests check the code against itself. When the software runs on real hardware or real data, the bug often shows only there, and an agent that cannot see the result can only guess.
Make failures report their own cause in a form a machine can read: a stack trace with symbols, a register dump, a job id. Wire a test bench to the agent’s machine so it can build, deploy and read results without you. Then add a witness the agent does not control, such as a camera or a second measurement, so it can check what the system says about itself.


In DotBots
In May a crashed robot only said “crashed (watchdog0)”. From 18 June each robot keeps its fault registers, program counter and link register across the reset, and from 10 August the program counter on a watchdog timeout too. On 14 October that took a crash from a program counter to its root cause in 11 minutes. From September the camera found robots without markers and showed that their advertised position only updated after they had moved 50 mm.
$ dotbot swarm -d A23EFBCB596212AE info
Last reset crashed (watchdog0 HardFault pc=0x00000ce2)
cfsr 0x01000000 (UNALIGNED)
$ arm-none-eabi-addr2line -f -e bootloader-dotbot-v3.elf 0xce2
swarmit_localization_get_position
device/bootloader/Source/cmse_implib.c:93
Your version
For a web service, give the agent read access to the error tracker with symbolicated traces, and a synthetic client that records what a user actually sees.
Step 7
Call it validated only for runs the agent did and logged
Decide in writing what counts as proof, and hold the agent to it.
Agents report success with confidence, and some of those reports are wrong. A rule tied to a logged run makes every claim checkable later, by you or by the next session.
Define a short ladder of evidence and write the rule that tests against a mocked radio, broker or serial port never count as hardware validation. Let the agent claim the top rung only for a run it did itself and recorded in the plan’s log, with what it observed. Keep a human reviewer on the merge.
- nonewritten, never run
- cibuilds and lints
- testspasses tests, mocks allowed
- hilthe agent ran it on the bench and logged what it saw
In DotBots
Until 10 August an agent could never set validated: hil. That day a bench was wired to the agent’s machine and the rule changed: the agent may set it only for a run it did and logged. Six plans reached that rung. The log keeps the agent’s mistakes too. On 4 September it reported “wheel test passed” with the wheels off the floor, and re-ran the test on the carpet 12 minutes later. On 22 September a right wheel that looked “35% weaker” turned out to be cables dragging the robot.

Your version
For a simulation code, “validated” can mean a run against a reference case with a known answer, with the input, the commit and the output kept in the log.
Step 8
What it enabled, and how to count it
With context and eyes in place, the agent took on work that one engineer would not have finished alone.
“The agent made me faster” is hard to check and easy to inflate. Merged pull requests, tests, releases and measured behaviour on the real system are harder to fake. Pick a few numbers you can recount from git and from your plans, take them before and after, and write the caveats on the same page.

In DotBots
The robots’ control loop was rebuilt in 29 days: 7 phases and 20 merged pull requests across 4 repositories. A new web console replaced two apps on 8 September and runs 1,000 simulated robots. Multi-Lighthouse localization shipped on 9 November, and the DotBot Academy workshops in São Paulo in October were prepared with the same agents. From May to October, merged pull requests per week grew 2 to 4.5 times. The caveats belong next to those numbers: the team shrank to one person, September was a burst, and human review of pull requests went from 8% to 0%.

Your version
Pick three numbers you can recount: merged pull requests per week, the number of tests, and one measured behaviour of the real system.
Go further
Links and papers
GitHub
Every repository of the testbed, each with its AGENTS.md: robot firmware, the Python controller and CLI, the radio stack, the hardware.
Workshop
“Swarm Robotics in Reality”, the 3-hour hands-on workshop prepared with the same tools: one script, from the simulator to a swarm.
DCOSS-IoT 2026
SwarmIT: Turn Your Collection of Robots into a Robust and Programmable Swarm Testbed
Reprogramming the whole swarm over the air, and why a crash does not lose the robot.
Ad Hoc Networks 2026
Mari: Responsive Wireless Communication for Low-Power Large-Scale Robot Swarms
The radio link: up to 102 robots per gateway, handovers between gateways.
IEEE RA-L 2024
Lighthouse Localization of Miniature Wireless Robots
How a robot knows where it is, with millimetre accuracy.
IEEE RA-L 2025
Automatic Lighthouse Calibration Using Conics for Indoor Robot Localization
Calibrating a base station from circles driven by a robot, with no markers.
ICRA 2024 workshop
DotBot, a cm-Scale, Easy-to-Use Micro-Robot for Swarm Research
The robot itself: small, cheap, easy to use at swarm scale.