Documentation.

How CommandAGI works and how to build on it, from the first run to the exact contract of every surface.

Foundations

Mental model and your first run: plain-file Drives, the core ontology, and code-declared documents.

  1. QuickstartEnd-to-end walkthrough: browser guest workbench, CLI install, agent thread, a simulation, and local host.
  2. ArchitectureThe one ontology: plain files and Drives, worlds vs designs, append-only runs and seals, threads, and standing grants.
  3. Files & formatsComplete taxonomy of plain-code documents in TS, Python, and Rust (.3d.tsx, .study.tsx, .opportunity.tsx, .vid.tsx, .company.tsx, .flow.tsx).

Engineering & Simulation

Build, solve, and verify in code before touching metal: parametric CAD, FEA sweeps, PCB EMI, ray tracing, and physics worlds.

  1. CAD, FEA & studiesOpenCascade 3D CAD, CalculiX C3D10 bisection sweeps, drawings, DFM, CAM/slicing, KiCad PCB/EMI, and 3D ray tracing.
  2. Worlds & physics240 Hz Rapier proving grounds, multi-robot collision enforcement, facility twins (/in/*), Matrix 3D Earth, and Geoeconomics.

Agents & Operations

Coordinate humans and agents inside explicit standing grants, frozen computer-use skills, communications, and evidence-graded opportunities.

  1. Threads & standing grantsMulti-agent threads, approval barriers, every grant kind and principal form, safing rules, and local CLI supervision.
  2. Automation & opportunitiesBrowser/desktop skill chains, mail/phone/postal/calendar, company operating files, and Observed/Proxy/Modeled opportunities.

Robotics & Local Runtime

Execute safely on physical equipment: real robot control, twin-vs-real trajectory inspection, local host daemon, its drivers, and local workerd.

  1. RoboticsReal-robot control (Franka FCI, Unitree G1/Z1, UR RTDE, xArm, SO-101, OpenArm 2.0, ROS 2), finetune, diagnose, and skills.
  2. Local host & driverscommandagi daemon, its drivers and simulators, hardware interlocks/e-stop, Drive sync, and local workerd platform.

Developer Reference

Exact surface contracts: complete CLI command families, TypeScript/Python/Rust SDKs, hosted/local MCP, and HTTP API streams.

  1. CLI referenceComplete commandagi CLI families: daemon, platform, agents, robot, threed, fea/study/validate, drive, grant, call, check/diff/release.
  2. SDKs & MCPTypeScript, Python (+ Gym/LeRobot), and Rust parity SDKs, SKILL.md, hosted and local MCP tools, and OAuth 2.0.
  3. HTTP API & streamsCloud and local workerd base URLs, auth, ETag concurrency, NDJSON/SSE/WebSocket streams, and 422/428/503 semantics.

One ontology, across every layer.

CommandAGI keeps every layer on the same plain files, the same synchronized clock, and the same authority model — from an offline physics twin to autonomous multi-agent threads and bench hardware.

Plain files in Drives

Every design, study, device definition, world, run folder, and settings.json is an ordinary file under cloud://home/<account>/… or local://<host>/<drive>/….

Zero ambient authority

Every physical actuation, folder write, host Python run, shipment, trade, or transfer verifies a principal credential against a standing grant and is recorded before dispatch.

Parity across surfaces

Run the same tools and declarative vocabularies from the browser workbench, commandagi CLI, @commandagi/host, TypeScript/Python/Rust SDKs, MCP, or HTTP.

Choose your starting layer.

Your first run

Walk through guest browser simulation, CLI setup, multi-agent threads, and local host pairing end to end. Read Quickstart

Engineering & physics

Design parametric 3D assemblies, run CalculiX FEA sweeps, check KiCad EM fields, and step physics worlds. Explore CAD & studies

Agents & standing grants

Configure principals, standing grant scopes, approval barriers, and local AI CLI supervision. Configure threads & grants

CLI, SDKs & HTTP API

Wire hosted or local MCP, embed the parity SDKs, or build directly against HTTP. Read SDKs & MCP

Rather just ask?

An agent reads these docs for you and starts the files in your workbench.