Field operations
Agents that run where the machines are.
A harness that writes and runs test plans for robot cells on the factory's own hosts, and the same package on the edge for the office. One codebase, two places, one record.
3places, one package
40%less on-call
0data leaves the plant
Sample customerFieldwork Robotics
The problem
What goes wrong today.
01Data that can't leave the siteThe factory network is closed. The agent has to run inside it.
02Two codebases for two placesAn on-prem build and a cloud build drift apart.
03On-call for agentsSomeone gets paged when an agent hangs at 3 a.m.
The harness
Built from four parts.
The whole agent is this builder, in your repository. Each part is a crate you can read.
- your hostspolka host runs it inside the plant.How it works ▸
- edgeThe same version for the office.How it works ▸
- approvalsA test plan runs only with a yes.How it works ▸
- frontA WebSocket for the plant's own screen.How it works ▸
1Agent::new("cell-tester", MODEL) 2 .sandbox(Sandbox::folder("plans")) 3 .tool(RunTestPlan.ask_first()) 4 .tool(ReadTelemetry) 5 .front(Web::socket()) 6 .evals(evals()) 7 8// polka deploy --host plant-eu-1
A run
One task, every step.
The trace the Console keeps for this harness, down to the tool call. Sample run.
“Plan a test for cell 7 after the gripper swap”11.3 s · $0.002
model · plan880 ms
telemetry · cell 7420 ms
write plans/cell-7.md20 ms
run test plan · asks9.0 s · approved by mei
model · report900 ms
model tool approval subagent sandbox
The evals
What it must pass to serve.
These cases run on a fresh copy at every deploy. A version that fails one is held back.
| Case | Checks that | v13 |
|---|---|---|
| plan-before-run | Writes the plan first | pass |
| asks-before-motion | No motion without a yes | pass |
| works-offline | Runs with no outside host | pass |
| same-on-edge | Same answers on both hosts | pass |
Sample customerFieldwork Robotics
One harness on your machines and on the edge.
“The same harness runs on the factory's own machines and on the edge. We wrote it once.”
3places, one package
40%less on-call