What CommandAGI is
CommandAGI is one workbench and plain-file platform where people and agents handle everyday work, design hardware, simulate physics, and run real machines. Everything rests on five shared primitives:
- Plain files and Drives. Every document, device definition, world, run, and setting is a plain file in a Drive folder (
cloud://home/<account>/…,local://<host>/<drive>/…, or browser storage). There is no hidden database or proprietary bundle. - Devices and channels. A device definition (
definition.tsx) describes any machine, robot, computer, phone, camera, or instrument as named channels — a G-code line, a servo bus, RTDE/FCI/ROS 2, a browser tab, a shell, or video/audio streams. - Designs vs worlds. A design (
.3d.tsx,.study.tsx,.sch.tsx,.pcb.tsx,.opportunity.tsx) models what you build and simulates safely without touching hardware. A world (world.tsx) places units against real equipment and keeps a simulated twin beside physical reality. - Runs, threads, and streams. Every hardware session, simulation, and multi-agent thread records into a
runs/<run>/folder beside the file it belongs to — keeping channel streams, chat messages, and participants (members.jsonl) on one synchronized clock. - Standing grants. Agents and people act on physical hardware, money, shipping, outreach, markets, local Python execution, or gated folders only inside an explicit, recorded standing grant (Threads & standing grants).
1. Start in the browser as a guest
Open the workbench with nothing installed and no account required:
- Guest storage stays local. Files you create or import stay in browser storage and export cleanly as a ZIP archive at any time.
- Three workbench regions. Switch Files, Apps, Connections, and Git in the left dock; split panes side by side in the centre (for example
.3d.tsxbeside.study.tsx, or.sch.tsxbeside.pcb.tsx); inspect Details, BOM, World, Run, and Agents in the right dock; scrub runs along the bottom time bar. - Read-only example folders. Press Mod+P (or Mod+T) to open shipped examples under
cloud://home/user-commandagi/examples/andcloud://home/user-commandagi/global/— includingarm-cell,so101-cube,gripper/Jaw.study.tsx,electronics-assembly,balcony.vid.tsx, andgeo-hormuz.
2. Install the CLI and local host
Install @commandagi/host (Node 22 or later) to manage Drives, local kernels, agent CLIs, and attached hardware from your terminal:
npm install -g @commandagi/host
commandagi --version
commandagi signin # browser OAuth PKCE -> ~/.commandagi/host.json
commandagi daemon start # one host per computer (127.0.0.1:4173)For automated scripts or CI environments, mint an environment-scoped API key straight into a gitignored .env file without pasting secrets into chat or shell arguments:
commandagi keys create --for me --scope user:read,drive:write --into .env:COMMANDAGI_API_KEY
commandagi whoami3. Connect an agent or start a thread
Teach coding agents how CommandAGI files and tools work with one command, then connect the hosted MCP server or supervise your local AI CLIs:
# Install the Agent Skill and wire Hosted MCP (453 tools via OAuth or API key)
npx skills add https://commandagi.com
claude mcp add --transport http commandagi https://api.commandagi.com/mcp
# Or seat your installed local AI CLIs (Claude Code, Codex, Gemini CLI, Cursor, Qwen Code) in one thread
commandagi agents list
commandagi agents start --of worlds/cell/world.tsx --agent claude-work --mount tasks/Every participant (person: or agent:) joins the thread's members.jsonl, writes turns on the same append-only stream, and respects usage policy caps on flat-rate plans.
4. Run and inspect a verified simulation
Open a .3d.tsx design such as so101-cube.3d.tsx or run a headless evaluation from disk:
commandagi code eval Plate.3d.tsx --input width=80
commandagi check Plate.3d.tsx
commandagi validate . --draft --run --reviseIn the workbench viewport, press simulate on a device channel or start the scene. Drag bodies directly with force drag to test contact stability and grasp recovery; every force and joint frame appends to runs/<run>/streams/sim@<replica>/ beside your folder. Scrub playback with Mod+Alt+P (0.25×–8×), jump to live with Mod+Alt+L, or fork at any timestamp to test an alternative policy from that exact state.
Simulated designs (*.3d.tsx) and digital twins run with reality: "simulation". Channels never reach real ports, and simulated passes never count as physical hardware verification evidence.
5. Bridge local ports and local workers
When you are ready to work offline or connect hardware on your bench:
commandagi threed install # OpenCascade WASM 3D kernel (~130 MB)
commandagi platform install && commandagi platform start # local workerd API & Durable Objects
commandagi drive status production ./my-folder # compare local folder against cloud DriveGrant an agent bounded authority before opening a physical world.tsx unit:
commandagi grant add --principal agent:bench \
--world worlds/shop/world.tsx --unit arm-1 --channel servo \
--verb open --verb arm --verb run --verb send --for 4hKey workbench shortcuts
| shortcut | action |
|---|---|
| Mod+Shift+P | Command Palette (every editor, shell, and unit verb) |
| Mod+P | Quick Open across the active Drive and search path |
| Mod+T | Open new tab starter (recent files, apps, remote hosts) |
| Mod+Enter | Maximize or restore the focused pane |
| Mod+Alt+P / Mod+Alt+L | Play/pause global time bar · jump to live stream |