This commit is contained in:
Nathan Flurry 2026-01-28 01:46:55 -08:00
parent 745c64149e
commit 345cd9299a
4 changed files with 8 additions and 4 deletions

View file

@ -44,11 +44,14 @@ Want support for another agent? [Open an issue](https://github.com/anthropics/sa
## Architecture
- Run the `sandbox-agent` daemon locally or inside a sandbox.
- The daemon spawns agents, normalizes their event streams into a universal schema, and exposes a single HTTP/SSE API.
- Clients (SDK, CLI, Inspector UI) all use the same `/v1` API for sessions and events.
![Agent Architecture Diagram](./.github/media/agent-diagram.gif)
See https://rivet.dev/docs/architecture for a deeper walkthrough.
The Sandbox Agent acts as a universal adapter between your client application and various coding agents (Claude Code, Codex, OpenCode, Amp). Each agent has its own adapter (e.g., `claude_adapter.rs`) that handles the translation between the universal API and the agent-specific interface.
- **Embedded Mode**: Runs agents locally as subprocesses
- **Server Mode**: Runs as HTTP server from any sandbox provider
[Documentation](https://rivet.dev/docs/architecture)
## Components