Skip to content

Commit cc4df0d

Browse files
committed
docs: add reference architecture
1 parent a28462c commit cc4df0d

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

docs/architecture/README.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Architecture
2+
3+
AI-OS is designed as a local-first operating model for AI coding agents.
4+
5+
## Reference architecture
6+
7+
```mermaid
8+
flowchart TD
9+
User[User Goal] --> Router[Task Router]
10+
Router --> Context[Context Loader]
11+
Context --> Repo[Repository]
12+
Context --> Memory[Project Memory]
13+
Router --> Orchestrator[Loop Orchestrator]
14+
Orchestrator --> Planner[Planner]
15+
Orchestrator --> Architect[Architect]
16+
Orchestrator --> Coder[Coder]
17+
Orchestrator --> Tester[Tester]
18+
Orchestrator --> Reviewer[Reviewer]
19+
Orchestrator --> Writer[Documentation Writer]
20+
Coder --> Tools[Local Tools]
21+
Tester --> Tools
22+
Tools --> Verifiers[Build Test Lint Scan]
23+
Verifiers --> Gate{Goal Met?}
24+
Gate -- No --> Orchestrator
25+
Gate -- Yes --> Done[Done]
26+
```
27+
28+
## Core components
29+
30+
- Task router
31+
- Context loader
32+
- Loop orchestrator
33+
- Specialist agents
34+
- Tool adapters
35+
- Verifier gates
36+
- Memory updater
37+
- Human approval gate
38+
39+
## Design goals
40+
41+
- local-first
42+
- model-agnostic
43+
- auditable
44+
- repeatable
45+
- safe by default
46+
- useful for real repositories

0 commit comments

Comments
 (0)