CommandAGI

Plan it. Simulate it. Run it for real.

One workbench for people and agents to run mills, printers, arms, cameras and computers.

What it does

Try it in simulation. Then run it.

The same plan runs in a simulator first, then on the real machine.

Plan, simulate, runYou plan the work, run it in simulation, then run it on the real machine. Any recorded moment can be forked back into simulation.fork any momentPlanthe part, the layout, the jobSimulateevery channel in a simulatorRunthe real machine, under agrantRecordsevery action, in orderPlan, simulate, runYou plan the work, run it in simulation, then run it on the real machine. Any recorded moment can be forked back into simulation.fork any momentPlanthe part, the layout, the jobSimulateevery channel in a simulatorRunthe real machine, under a grantRecordsevery action, in order

One model

How does one workbench reach every machine?

A mill, an arm and a camera are all devices with channels.

Device, channels, world, runA device has channels. You place it as a unit in a world. What its channels do is recorded as streams in a run.placed as a unitrecordedDevicea mill, a printer, anarm, a cameraChannelsG-code, a servo bus,video, a shellWorldunits placed on afloor, physical orsimulatedRunone stream ofrecords per channelDevice, channels, world, runA device has channels. You place it as a unit in a world. What its channels do is recorded as streams in a run.placed as a unitrecordedDevicea mill, a printer, an arm, a cameraChannelsG-code, a servo bus, video, a shellWorldunits placed on a floor, physical or simulatedRunone stream of records per channel

What happened, in order.

Each command, reply and state, with who sent it. Replay it, or fork it into simulation.

runs/first-light/streams/arm-1.servo@host-aexample records · simulation
00:00:01.004 note    person:ana: open_channel arm-1.servo
00:00:01.120 note    agent:planner: arm
00:00:01.131 command move j1=12.0 j2=-40.5 j3=88.0
00:00:01.162 ack     ok
00:00:01.480 state   j1=12.0 j2=-40.4 j3=87.9
00:00:02.210 note    agent:planner: stop
00:00:02.214 state   disarmed

Agents

What can an agent do with my machines?

Only what your grant allows. Stop is always allowed.

A standing grantYou make a standing grant for an agent. It names the worlds, units and channels, the verbs and the limits. The agent acts only inside it, and every action is recorded before the machine receives it.Youmake the grantStanding grantwhich units, which verbs,which limitsAgentacts in real time, nopromptsRecorded firstthen sent to the machineA standing grantYou make a standing grant for an agent. It names the worlds, units and channels, the verbs and the limits. The agent acts only inside it, and every action is recorded before the machine receives it.Youmake the grantStanding grantwhich units, which verbs, which limitsAgentacts in real time, no promptsRecorded firstthen sent to the machine

Your files

Is my data mine?

Yes. Everything is a plain file in a folder you choose. Copy the folder to copy the project.

Plain files in your folderWorlds, devices, runs and documents are plain files in a folder on your computer, in your browser or in the cloud.Your computerYour browserYour cloud driveOne folderworld.tsx · part.3d.tsx · runs/Plain files in your folderWorlds, devices, runs and documents are plain files in a folder on your computer, in your browser or in the cloud.Your computerYour browserYour cloud driveOne folderworld.tsx · part.3d.tsx · runs/

Where to start

Where do I start?

Open the workbench.

It runs in your browser as a guest. Nothing to install.