NEWAI chat: ask your fleet anything, in plain language. Chat with your fleet Read more →

From pilot to production: managing a robot fleet far from your team

What breaks when a robot pilot becomes a fleet at many sites and what to set up instead: provisioning, naming, inventory, config, connectivity, retirement.

Illustration for "From pilot to production": a delivery robot, a mobile robot, a cleaning robot, with the label "3 robots → 300 robots"

A pilot is three robots at one site with an engineer standing next to them. The engineer flashed the SD cards by hand. The robots are called robot, robot2 and test-new. The Wi-Fi password is in a Slack message. When something breaks, the engineer walks over.

Production is forty robots at six sites, and nobody from your team is at any of them.

Almost everything that worked in the pilot stops working somewhere in between. Not because the pilot was done badly. A pilot is supposed to prove the robot can do the job, and it did. It just wasn't built to be run from far away. At Upswift we watched many teams make this jump with Linux devices, and the ones that got through it changed their habits early, around robot number ten, not robot number two hundred.

AI-powered robots make it harder. Machines used to run fixed programs. Now each one runs a learned model that decides from what it sees, many times a second. Two robots with the same software can behave differently because one has a different camera, a different calibration or a different checkpoint someone copied over during the pilot. The model changes, the site changes around it, and you're not there to see either. Before you can answer "why is robot 23 worse than robot 24?", you have to know exactly what each robot is and what it runs.

This post is the list of pilot habits I'd replace first, and what to replace them with.

The short answer: Replace the pilot habits around robot ten: one base image with no identity inside, one install command with enrollment keys per batch, a written naming scheme, inventory that each robot reports by itself, and config and secrets pushed at runtime. Assume every robot will be offline sometimes, update in phases, and plan for how robots leave the fleet.

The pilot habits that don't survive

  • Hand-flashed images. Each SD card is a bit different, depending on who made it and what they installed after. You can't tell which differences matter.
  • A spreadsheet as inventory. It was right the day someone wrote it. Then a camera got swapped and nobody updated it.
  • One SSH key everywhere. Copied into every image. If one robot is stolen, the whole fleet is open.
  • Config baked into the image. Changing a speed limit for one site means building a new image.
  • An engineer on site. Every problem was solved by looking. In production you have to see it from your desk. See remote access behind NAT and firewalls for that part.
  • Good Wi-Fi. The lab network never dropped. The warehouse network drops when the forklifts pass the access point.

Provisioning: one command, the same every time

The goal: a new robot goes from a fresh OS to online, named and in the right group, with one command and no human decisions.

Separate the image from the identity

Build one base image per hardware type with your OS, drivers and container runtime. Keep it boring. Don't put anything unique to a robot in it: no keys, no names, no site config.

Then, on first boot or at your factory station, install the agent with one command. The agent generates the robot's identity on the robot itself. If you clone an image that already contains an identity, two robots will present the same credentials, fight over the same session, and flap online and offline. You'll spend a day thinking it's a network problem.

Use enrollment keys per batch, not one key forever

The install command carries an enrollment key that says "this machine may join this organization." Treat those keys like you'd treat a door code.

  • Make a key per batch or per customer. A key can put new robots straight into a group with tags, so robots for the Dallas site land in acme/dallas tagged orin,gripper-v2 without anyone sorting them.
  • Limit how many and how long. A key for a batch of 20 robots should enroll at most 20 and expire after the install week. If it leaks, the damage is small.
  • Turn on manual approval when the command leaves your hands. If a contract manufacturer or a customer's technician runs the install, have new robots wait for an admin to approve them. One click per robot is cheap. A stranger's machine in your fleet is not.
  • Rotate a key that leaked. Robots that already joined keep working. Only new joins with the old key stop.

Name it at the station

If your factory station knows the serial number, pass the name and group at install time, or set them from the robot with pf device set-name as the last step of your provisioning script. A robot should never show up in the fleet as raspberrypi.

Naming, groups and tags

This sounds like a small thing. It decides whether people can find a robot when a customer is on the phone.

  • The name is physical and stable. It should match the sticker on the robot: arm-07, amr-dal-14. The customer's technician reads it out loud. Never put a software version in a name, and never rename a robot because it moved.
  • The group is where it is. Nest them: customer, then site, then line or zone. acme/dallas/line-3. You'll target rollouts and alerts by group, so make the tree match how you'll want to roll out.
  • Tags are what it is. Hardware revision, compute (jetson-orin, pi5), camera model, gripper type, pilot, canary. Tags cut across groups. "All robots with the old camera, at every site" is a tag query.
  • Metadata is facts you look up. Serial number, install date, the site contact, the customer's asset number. Not things you filter on daily.

One rule: decide the scheme before robot ten and write it down in one paragraph. Renaming forty robots later is worse than it sounds, because names are in dashboards, alerts, tickets and people's heads.

Inventory that describes itself

Don't maintain inventory by hand. Have each robot report what it is, all the time.

What you want to know, per robot, without asking anyone:

  • Hardware. Board, OS and kernel, storage and its health (an SD card wearing out is a common, quiet killer), USB devices, serial adapters, cameras, I2C devices.
  • Software. Services, containers and their images, installed packages, listening ports.
  • The robot stack. Which ROS nodes and topics exist and at what rates, which model processes are running, which framework and checkpoint they load, on what compute, with how much GPU memory.

This is the inventory you'll actually use. "Which robots still have the old USB camera?" "Which ones run checkpoint 0412 and which 0419?" "Why does this one have 2 GB less GPU memory free?" With models, small differences in setup are behavior differences. A robot sending camera frames at half the resolution of its peers will act differently, and nothing will crash. We wrote about catching that in finding the robot that's different.

A change timeline per robot

The most common question in production is "it worked yesterday, what changed?"

Keep a timeline per robot of every change: packages installed or removed, config files modified, containers replaced, hardware plugged or unplugged, reboots. Include changes made while your agent was off, by comparing what's there now with what was there before. The pilot is full of hand fixes, and the timeline is how you find them.

Two habits make the timeline useful:

  • Every intended change goes through a release. Then anything on the timeline that isn't a release is a surprise worth looking at.
  • Look at the timeline before the logs. A config file that changed at 2:10 a.m. explains more than ten thousand log lines.

Config and secrets outside the image

Every site is a little different. The bin layout, the speed limit near people, the conveyor's IP, the API key for the customer's warehouse system. Those values change far more often than your code.

  • Keep per-site config out of the image and out of the container. Set it in your fleet tool, and have the app read it at start with something like pf config get speed_limit. Changing a value should take a minute, not a build.
  • Secrets are not config. Credentials for the customer's systems, cloud tokens, registry passwords. Push them separately, read them at runtime with pf secret get, and never write them into a compose file, a git repo or an image. One leaked image should leak nothing that works.
  • Per-site secrets, not fleet-wide ones. If every robot shares one cloud token, one stolen robot means rotating it everywhere, during work hours, at every site.
  • Version config like code. When a robot's behavior changes, you need to know whether the model changed or the config did. Put config changes through releases too.

The production stack post goes into where config sits next to containers and model files.

Connectivity: assume the robot is offline

Design as if every robot will be offline for an hour a day and for a week once a year. Some will be.

  • The robot does its job without the cloud. Unless your model runs remotely by design, losing the network must not stop work. Monitoring and updates are for you. They can't be in the robot's critical path.
  • Buffer on the robot, within a budget. Metrics, logs and events go to disk when the link is down and upload when it's back. Give the buffer a size limit so a week offline doesn't fill the disk and take the robot down with it.
  • Alerts run on the robot. If the alert rule lives in the cloud, a robot that's offline can't tell you it was overheating. Evaluate the rules on the robot and send the result when you can.
  • Budget data on cellular. Pick a bandwidth level per robot and, on a SIM plan, a daily or monthly data budget. When the budget runs low, send only essentials. What an engineer asks for, a terminal or a snapshot, should still go through.
  • Know who is on which version. The robot that was offline for a week missed two releases. Your fleet is never on one version. Track it per robot, and make sure releases can run on a robot that comes back far behind.

Updates far from your team

Updates are their own series of posts, so just the parts that change at this stage:

  • Don't update a robot in the middle of a task. Let the app mark itself busy (pf busy --reason "picking") and have updates wait.
  • Use preconditions. Free disk, battery level, an unmetered network for big model files, the site's maintenance window.
  • Never update all six sites at once. Start with one robot per hardware type, then one site, then the rest. See phased rollouts and automatic rollback.

Decommissioning and returns

Robots leave the fleet. They're replaced, returned under warranty, moved to another customer, sold or stolen. Pilots rarely plan for this.

  • Cut the identity in seconds. Decommissioning should stop the robot's credentials from working right away, close any live session, and stop it from joining again with the key it used. If it ever comes back, it comes back as a new robot through a new install.
  • Wipe what belongs to the customer. A fine-tuned checkpoint trained on a customer's parts may be their data, your IP, or both. So are logs, recordings and config with their network details. Have a wipe step before a robot is shipped anywhere.
  • Keep the history, not the access. You want the robot's past data for warranty and analysis. You don't want the robot to still be able to talk to you.
  • Stolen is different from returned. For a stolen robot, revoke first, then think. Quarantine is the middle ground when you're not sure yet.

Ready-for-production checklist

  • One base image per hardware type, with no identity, keys or site config inside.
  • One install command; identity generated on the robot.
  • Enrollment keys per batch or customer, with a device limit and expiry. Manual approval when others run the install.
  • A written naming scheme: physical name, group by location, tags by hardware and role.
  • Inventory reported by each robot: hardware, storage health, software, ROS graph, models and checkpoints.
  • A change timeline per robot, and a rule that intended changes go through releases.
  • Per-site config and secrets pushed at runtime, never baked into images. No fleet-wide secrets.
  • Offline buffering with a disk budget, alerts evaluated on the robot, data budgets on cellular.
  • Updates that wait for busy robots, check preconditions and roll out in phases.
  • A decommission flow that revokes access in seconds and wipes customer data before a robot ships.
  • Remote access that doesn't need anyone on site.

How PhysicalFleet handles it

We built PhysicalFleet for exactly this stage. One command installs the agent on any Linux robot. Enrollment keys can place robots into groups with tags and limits, with optional approval. Each robot then reports its own device map, models, ROS graph and change timeline with nothing else to set up, and config and secrets are pushed without rebuilding images. The agent buffers offline within a disk budget, respects data budgets on SIM plans, and decommissioning cuts a robot off within seconds. More on the fleet management page.

If you're somewhere between pilot and production right now, I'd like to hear which part is hurting most.

Common questions

How do I provision a new robot in a fleet?

Flash one base image per hardware type with no identity, keys or site config inside, then install the agent with one command that generates the robot's identity on the robot itself. Use an enrollment key per batch or customer that puts the robot in the right group with tags and has a device limit and an expiry. Turn on manual approval when someone outside your team runs the install.

Why do robots flashed from the same image keep going online and offline?

Usually because the image already contains an identity, so every robot flashed from it presents the same credentials. They fight over the same session and flap online and offline, which looks like a network problem. Keep identity out of the image and generate it on each robot at install.

How should I name robots in a fleet?

Give each robot a stable physical name that matches the sticker on it, like arm-07, and never put a software version in it. Use nested groups for where it is (customer, site, line) and tags for what it is (compute, camera, gripper, role). Write the scheme down before robot ten, because renaming later touches dashboards, alerts, tickets and people's memory.

How do I change settings on robots without rebuilding the image?

Keep per-site config out of the image and push it from your fleet tool, with the app reading it when it starts. Push secrets separately and read them at runtime, never from a compose file, a repo or an image, and use per-site secrets rather than one for the whole fleet. Put config changes through releases too, so you can tell a config change from a model change.

What should happen when a robot is decommissioned or stolen?

Its identity should stop working within seconds, live sessions should close, and it shouldn't be able to rejoin with its old enrollment key. Before a returned robot ships anywhere, wipe customer data like fine-tuned checkpoints, logs, recordings and network config. For a stolen robot, revoke first and investigate after.

#robot fleet management#provisioning#device enrollment#inventory#configuration#decommissioning
Eitan ChudnovskyCo-founder, PhysicalFleet

From the lab bench. To the entire fleet.

Connect your first machine in minutes, develop it in the lab and run your whole fleet in production from one place.

Free for up to 3 machines · Then pay as you go