examples/agent-os-e2e/README.md
End-to-end smoke test for agentOS via the rivetkit actor wrapper. Boots a VM with WASM coreutils and the Pi coding agent, then exercises filesystem operations, subprocess execution, and an LLM-driven agent session.
ANTHROPIC_API_KEY environment variableInstall dependencies:
npm install
Start the server in one terminal:
npx tsx src/server.ts
Run the smoke test in another terminal:
npx tsx src/client.ts
The server boots an agentOS actor with common (WASM coreutils) and pi (Pi coding agent) software packages. The client connects over HTTP and runs a sequence of assertions.
See the implementation in src/server.ts and src/client.ts.
MIT