Skip to content

Commit 3130495

Browse files
committed
Docs: Update README with agent architecture diagram
- Refined the agent architecture diagram in the README. - Clarified the flow from CLI input to LLM backend and tool execution. - Added explicit tool examples to the diagram.
1 parent 2f1d2ff commit 3130495

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,17 @@ flowchart TD
1111
A2 --> A3[Code defaults]
1212
end
1313
ConfigChain --> CLI
14-
CLI[CLI] --> Prompt[User prompt as task objective]
15-
Prompt --> SystemPrompt[System prompt + tool descriptions]
16-
SystemPrompt --> Loop{{LLM backend planning cycle}}
17-
Loop -->|tool call| Tools[Tool runner]
18-
Tools --> Loop
19-
Loop -->|≤ --max-turns default 5| Loop
14+
CLI --> Prompt[Prompt task input]
15+
Prompt --> SystemPrompt[System prompt with tool inventory]
16+
SystemPrompt --> Backend{{LLM backend}}
17+
Backend <--> B1[OpenAI API]
18+
Backend <--> B2[Google Gemini API]
19+
Backend <--> Loop{{AGENT}}
20+
Loop <-->|tool call --max-turns default 5 | Tools[Tools]
21+
Tools --> T1[time]
22+
Tools --> T2[calculator]
23+
Tools --> T3[file_reader]
24+
Tools --> T4[python sandbox]
2025
Loop --> Response[Final response to user]
2126
```
2227

0 commit comments

Comments
 (0)