Skip to content

Commit b658e93

Browse files
Merge pull request #50 from xzlknr/docs/add-readme-architecture-diagram
docs: add README architecture diagram
2 parents e35c861 + 3d7a25c commit b658e93

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,19 @@ Instead of “LLM for everything”, you build a graph that:
4242
| **Graph** | Bricks connected by typed edges with routing policies (success/error), threshold gating, and field mapping. |
4343
| **Runtime** | The executor: sandboxes Bricks, enforces resource limits, routes signals deterministically, and produces traces. |
4444

45+
```mermaid
46+
flowchart LR
47+
Host["MCP-compatible host"] -->|tools/call| Server["ncp-mcp-server v0.1.0"]
48+
Server -->|dispatches graph| Runtime["ncp-runtime v0.3.6"]
49+
Manifest["Graph Manifest"] --> Runtime
50+
Runtime -->|executes| BrickA["Brick (WASM)"]
51+
Runtime -->|executes| BrickB["Brick (WASM)"]
52+
BrickA --> Runtime
53+
BrickB --> Runtime
54+
Runtime --> Trace["Trace"]
55+
Runtime --> Results["Results"]
56+
```
57+
4558
**Core insight:** Bricks are commodity (reusable, swappable). Graphs are product (your topology + thresholds + weights).
4659

4760
---

0 commit comments

Comments
 (0)