Skip to content

Commit a8517e2

Browse files
committed
docs: add runtime architecture diagrams to README
Replace the simplified mermaid flowchart with a full architecture diagram (English + Simplified Chinese) covering the UI, orchestration, tooling/guardrails, page_act engine and persistence layers.
1 parent 78dc2c1 commit a8517e2

4 files changed

Lines changed: 2 additions & 26 deletions

File tree

README.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -51,19 +51,7 @@ A verified run can be extracted into a skill. Skill replay still verifies each s
5151

5252
## Architecture
5353

54-
```mermaid
55-
flowchart TB
56-
UI[Side panel UI] <--> Kernel["kernel/ · agent loop"]
57-
Kernel --> Context["context/ · context assembly"]
58-
Kernel <--> LLM["llm/ · model providers"]
59-
Kernel --> Tools["tools/ · tool registry"]
60-
Tools --> Guardrails["guardrails/ · risk and permission gate"]
61-
Guardrails --> PageAct["page_act"]
62-
PageAct --> Engine["engine/ · page runtime"]
63-
Kernel --> Storage["storage/ · local repositories"]
64-
Kernel --> Trace["trace/ · structured events"]
65-
Engine --> Trace
66-
```
54+
![Browser Agent runtime architecture](assets/architecture-en.png)
6755

6856
Main modules under `packages/extension/src/`:
6957

README.zh-CN.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -51,19 +51,7 @@ Browser Agent 的设计目标不是让模型“看起来会操作网页”,而
5151

5252
## 架构
5353

54-
```mermaid
55-
flowchart TB
56-
UI[Side panel UI] <--> Kernel["kernel/ · agent loop"]
57-
Kernel --> Context["context/ · context assembly"]
58-
Kernel <--> LLM["llm/ · model providers"]
59-
Kernel --> Tools["tools/ · tool registry"]
60-
Tools --> Guardrails["guardrails/ · risk and permission gate"]
61-
Guardrails --> PageAct["page_act"]
62-
PageAct --> Engine["engine/ · page runtime"]
63-
Kernel --> Storage["storage/ · local repositories"]
64-
Kernel --> Trace["trace/ · structured events"]
65-
Engine --> Trace
66-
```
54+
![Browser Agent 运行时架构](assets/architecture-zh.png)
6755

6856
主要模块在 `packages/extension/src/`
6957

assets/architecture-en.png

156 KB
Loading

assets/architecture-zh.png

150 KB
Loading

0 commit comments

Comments
 (0)