Skip to content
Closed
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
84 changes: 48 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,42 +181,54 @@ External content passes through multiple security layers:
## Architecture

```
┌────────────────────────────────────────────────────────────────────┐
│ Channels │
│ ┌──────┐ ┌──────┐ ┌─────────────┐ ┌─────────────┐ │
│ │ REPL │ │ HTTP │ │WASM Channels│ │ Web Gateway │ │
│ └──┬───┘ └──┬───┘ └──────┬──────┘ │ (SSE + WS) │ │
│ │ │ │ └──────┬──────┘ │
│ └─────────┴──────────────┴────────────────┘ │
│ │ │
│ ┌─────────▼─────────┐ │
│ │ Agent Loop │ Intent routing │
│ └────┬─────────┬────┘ │
│ │ │ │
│ ┌──────────▼───┐ ┌──▼──────────────┐ │
│ │ Scheduler │ │ Routines Engine │ │
│ │(parallel jobs)│ │(cron, event, wh) │ │
│ └──────┬───────┘ └────────┬─────────┘ │
│ │ │ │
│ ┌─────────────┼───────────────────┘ │
│ │ │ │
│ ┌───▼────┐ ┌────▼────────────────┐ │
│ │ Local │ │ Orchestrator │ │
│ │Workers │ │ ┌───────────────┐ │ │
│ │(in-proc)│ │ │ Docker Sandbox│ │ │
│ └───┬────┘ │ │ Containers │ │ │
│ │ │ │ ┌───────────┐ │ │ │
│ │ │ │ │Worker / CC│ │ │ │
│ │ │ │ └───────────┘ │ │ │
│ │ │ └───────────────┘ │ │
│ │ └─────────┬───────────┘ │
│ └──────────────────┤ │
│ │ │
│ ┌───────────▼──────────┐ │
│ │ Tool Registry │ │
│ │ Built-in, MCP, WASM │ │
│ └──────────────────────┘ │
└────────────────────────────────────────────────────────────────────┘
╭──────╮ ╭──────╮ ╭──────╮ ╭───────────────╮ ╭───────────────╮
│ REPL │ │ HTTP │ │ HTTP │ │ WASM Channels │ │ Web Gateway │
╰──●───╯ ╰──●───╯ ╰──●───╯ ╰───────●───────╯ │ (SSE + WS) │
│ │ │ │ ╰───────●───────╯
│ │ │ │ │
└─────────┴─────────┴──────────┬───┴──────────────────┘
Comment on lines +184 to +189

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The architecture diagram has a duplicate HTTP channel. This suggestion removes the duplicate and adjusts the connecting line.

For further improvement, consider reviewing the alignment of all connectors (e.g., for WASM Channels and Web Gateway) to ensure they line up with their corresponding ● symbols, which would enhance the diagram's clarity.

Suggested change
╭──────╮ ╭──────╮ ╭──────╮ ╭───────────────╮ ╭───────────────╮
│ REPL │ │ HTTP │ │ HTTP │ │ WASM Channels │ │ Web Gateway │
╰──●───╯ ╰──●───╯ ╰──●───╯ ╰───────●───────╯ │ (SSE + WS) │
│ │ │ │ ╰───────●───────╯
│ │ │ │ │
└─────────┴─────────┴──────────┬───┴──────────────────┘
╭──────╮ ╭──────╮ ╭───────────────╮ ╭───────────────╮
│ REPL │ │ HTTP │ │ WASM Channels │ │ Web Gateway │
╰──●───╯ ╰──●───╯ ╰───────●───────╯ │ (SSE + WS) │
│ │ │ ╰───────●───────╯
│ │ │ │
└─────────┴────────────────────┬───┴──────────────────┘

│
│
╭────────▼────────╮
│ │
│ Agent Loop │
│ │
╰────────┬────────╯
┌──────────────┴──────────────┐
│ │
╭────────▼────────╮ ╭────────▼────────╮
│ │ │ │
│ Scheduler │ │ Routines Engine │
│ (parallel jobs) │ │(cron, event, wh)│
│ │ │ │
╰────────┬────────╯ ╰────────┬────────╯
│ │
┌─────────┼─────────────────────────────┘
│ └──────────────┐
│ │
│ ╭────────────▼──────────────╮
│ │ Orchestrator │
│ │ │
│ │ ╭───────────────────────╮ │
╭──────▼──────╮ │ │ Docker Sandbox │ │
│ │ │ │ Containers │ │
│Local Workers│ │ │ │ │
│ (in-proc) │ │ │ ╭─────────────────╮ │ │
│ │ │ │ │ │ │ │
╰──────┬──────╯ │ │ │ Worker / CC │ │ │
│ │ │ │ │ │ │
│ │ │ ╰─────────────────╯ │ │
│ │ ╰───────────────────────╯ │
│ ╰─────────────┬─────────────╯
│ │
└─────────────────────────┤
│
╭──────────▼──────────╮
│ │
│ Tool Registry │
│ Built-in, MCP, WASM │
│ │
╰─────────────────────╯
```

### Core Components
Expand Down