summaryrefslogtreecommitdiff
path: root/docs/architecture.md
diff options
context:
space:
mode:
authorRiccardo Carlesso <[email protected]>2025-06-04 21:33:07 +0200
committerGitHub <[email protected]>2025-06-04 12:33:07 -0700
commit13b55c6e689787395944619bf1668d23b76bf9fd (patch)
treedf2294b2f9f3dfb8e6ea3164cfbd9c6640e867d3 /docs/architecture.md
parent4192cfb092396459858b74b28b6d46ce131273fb (diff)
Docs: Update architecture diagram with Google colors (for future aricles) (#718)
Diffstat (limited to 'docs/architecture.md')
-rw-r--r--docs/architecture.md26
1 files changed, 19 insertions, 7 deletions
diff --git a/docs/architecture.md b/docs/architecture.md
index 55da5cd9..2b354eb0 100644
--- a/docs/architecture.md
+++ b/docs/architecture.md
@@ -57,14 +57,26 @@ A typical interaction with the Gemini CLI follows this general flow:
graph TD
User[User via Terminal] -- Input --> CLI[packages/cli]
CLI -- Request --> Core[packages/core]
- Core -- Prompt/Tool Info --> GeminiAPI[Gemini API]
- GeminiAPI -- Response/Tool Call --> Core
- Core -- Tool Details --> CLI
- CLI -- User Confirms --> Core
- Core -- Execute Tool --> Tools[Tools e.g., read_file, shell]
- Tools -- Tool Result --> Core
- Core -- Final Response --> CLI
+ Core -- Prompt/ToolInfo --> GeminiAPI[Gemini API]
+ GeminiAPI -- Response/ToolCall --> Core
+ Core -- ToolDetails --> CLI
+ CLI -- UserConfirms --> Core
+ Core -- ExecuteTool --> Tools[Tools e.g., read_file, shell]
+ Tools -- ToolResult --> Core
+ Core -- FinalResponse --> CLI
CLI -- Output --> User
+
+ classDef userStyle fill:#FFFFFF,stroke:#333333,stroke-width:2px
+ classDef cliStyle fill:#FBBC05,stroke:#000000,stroke-width:2px
+ classDef coreStyle fill:#34A853,stroke:#000000,stroke-width:2px
+ classDef apiStyle fill:#4285F4,stroke:#3F51B5,stroke-width:2px
+ classDef toolsStyle fill:#EA4335,stroke:#000000,stroke-width:2px
+
+ class User userStyle
+ class CLI cliStyle
+ class Core coreStyle
+ class GeminiAPI apiStyle
+ class Tools toolsStyle
```
## Key Design Principles