Skip to content

Commit 371d2ef

Browse files
committed
Replace remaining ASCII diagrams with SVG images
- Add interfaces-overview.svg for interfaces.md - Add protocol-translation.svg for armory.md - Add anvil-ui-mockup.svg for anvil.md
1 parent fbfda19 commit 371d2ef

6 files changed

Lines changed: 185 additions & 54 deletions

File tree

docs/anvil.md

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -73,27 +73,8 @@ anvil ui --port 5000
7373

7474
Open [http://localhost:5000](http://localhost:5000) in your browser.
7575

76-
<div class="architecture-diagram">
77-
<pre>
78-
+------------------------------------------------------------------+
79-
| Anvil Web UI [Connect] |
80-
+------------------------------------------------------------------+
81-
| Server: http://localhost:8000/mcp [Connected] |
82-
+------------------------------------------------------------------+
83-
| |
84-
| Tools (4) | Tool: get_current_weather |
85-
| +--------------------------+ | +------------------------------+ |
86-
| | get_current_weather | | | Description: | |
87-
| | get_forecast | | | Get current weather for city | |
88-
| | get_air_quality | | | | |
89-
| | geocode | | | Parameters: | |
90-
| +--------------------------+ | | - city (string, required) | |
91-
| | | - units (string, optional) | |
92-
| Resources (0) | | | |
93-
| Prompts (0) | | [Execute Tool] | |
94-
| | +------------------------------+ |
95-
+------------------------------------------------------------------+
96-
</pre>
76+
<div class="diagram-container">
77+
<img src="/diagrams/anvil-ui-mockup.svg" alt="Anvil Web UI" style="max-width: 100%; height: auto;" />
9778
</div>
9879

9980
## Example: Testing mcp-weather

docs/armory.md

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -57,21 +57,8 @@ async with agent.run_mcp_servers():
5757

5858
The Armory translates between different protocol formats automatically:
5959

60-
<div class="architecture-diagram">
61-
<pre>
62-
Model outputs (trained format) Pydantic AI Armory translates
63-
─────────────────────────────── normalizes to backend format
64-
65-
┌─────────────────────┐ ┌──────────────┐ ┌──────────────┐
66-
│ GPT-4: │ │ │ │ │
67-
│ tool_calls[].func.. │──┐ │ Internal │ │ → MCP │
68-
└─────────────────────┘ │ │ Schema │ │ → REST │
69-
├───────>│ (unified) │────>│ → OpenAI FC │
70-
┌─────────────────────┐ │ │ │ │ → Local │
71-
│ Claude: │──┤ │ │ │ │
72-
│ tool_use.{name,in.. │ │ └──────────────┘ └──────────────┘
73-
└─────────────────────┘ │
74-
</pre>
60+
<div class="diagram-container">
61+
<img src="/diagrams/protocol-translation.svg" alt="Protocol Translation" style="max-width: 100%; height: auto;" />
7562
</div>
7663

7764
### Result Transformation (JSON → TOON)

docs/interfaces.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,8 @@ Multiple ways to interact with Agentic Forge: CLI for terminal users, WebSocket
44

55
## Interface Overview
66

7-
<div class="architecture-diagram">
8-
<pre>
9-
┌──────────────┐ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
10-
│ CLI │ │ Web Chat │ │ Admin UI │ │ Python │
11-
│ (terminal) │ │ UI │ │(Armory mgmt) │ │ SDK │
12-
└──────┬───────┘ └──────┬───────┘ └──────┬───────┘ └──────┬───────┘
13-
│ │ │ │
14-
│ (subprocess) │ (WebSocket) │ (REST) │ (import)
15-
│ │ │ │
16-
▼ ▼ ▼ ▼
17-
┌────────────────────────────────────────────────────────────────────┐
18-
│ ORCHESTRATOR API │
19-
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
20-
│ │ WebSocket │ │ SSE │ │ Python │ │
21-
│ │ (bi-direct) │ │ (streaming) │ │ Import │ │
22-
│ └──────────────┘ └──────────────┘ └──────────────┘ │
23-
└────────────────────────────────────────────────────────────────────┘
24-
</pre>
7+
<div class="diagram-container">
8+
<img src="/diagrams/interfaces-overview.svg" alt="Interface Overview" style="max-width: 100%; height: auto;" />
259
</div>
2610

2711
## Why WebSocket over REST?
Lines changed: 60 additions & 0 deletions
Loading
Lines changed: 65 additions & 0 deletions
Loading
Lines changed: 54 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)