Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 5 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,44 +188,11 @@ See [`PLAN.md`](./PLAN.md) for the full architecture history.

## Architecture in three minutes

```
User code
│ new ComputerAgent({ source, harness, runtime, sessionStore, envs }).chat(msgs)
┌─────────────────────────────────────────────┐
│ @computeragent/sdk │
│ (HTTP+SSE client, ChatHandle, permissions) │
└─────────────────────────────────────────────┘
│ Harness Protocol (SSE + POST over HTTP)
│ /v1/sessions, /chat, /events, /messages, /permission, /cancel, /fs/*
┌─────────────────────────────────────────────┐
│ @computeragent/harness-server │
│ - Routes (Hono on Bun or Node) │
│ - Session lifecycle + permission map │
│ - Path-jailed workspace FS over HTTP │
│ - Pluggable AuditSink + AuthHandler │
│ - SessionStore registry (memory/file/...) │
└─────────────────────────────────────────────┘
│ │ │
│ EngineDriver │ IdentityLoader │ SessionStore
▼ ▼ ▼
┌──────────────────┐ ┌────────────────────────┐ ┌──────────────────────┐
│ engine-claude-… │ │ identity-gitagent… │ │ MemorySessionStore │
│ engine-gitagent │ │ (your-loader here) │ │ FileSessionStore │
│ (your-engine) │ └────────────────────────┘ │ MongoSessionStore │
└──────────────────┘ │ SqliteSessionStore │
│ │ (your-store here) │
│ Substrate: bootHarness({envs}) → {url} └──────────────────────┘
┌──────────────────────────────────────────────────────┐
│ runtime-local runtime-e2b runtime-vzvm │
│ (subprocess) (cloud) (Apple VZ) │
│ (your-substrate here) │
└──────────────────────────────────────────────────────┘
```
<p align="center">
<img src="./assets/architecture-diagram.png" alt="ComputerAgent — Architecture Overview" width="900">
</p>

Ten diagrams in one: four orthogonal ports (WHAT/HOW/WHERE/REMEMBER/AUDIT), the HTTP+SSE harness protocol, git-URL-as-identity, the substrate runtime matrix, permission/governance flow, telemetry pipeline, library vs server mode, SessionStore architecture, end-to-end topology, and design principles. Every box is swappable through the same SDK call.

The protocol is the artifact. Engines, identity loaders, substrates, and session stores are plug-ins.

Expand Down
Binary file added assets/architecture-diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading