ARCHOS 525 BLUEPRINT · /d/dgm_code-assistant
AI Code Assistant Architecture (Repo Index, FIM & Sandbox Verify)
6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_code-assistant) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_code-assistant)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_code-assistant" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="AI Code Assistant Architecture (Repo Index, FIM & Sandbox Verify) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0["IDE & CLI Developers"]
n1_1["IDE Context Proxy"]
n2a_2["Fast FIM Model"]
n2b_3[("Repo Semantic Index")]
n3_4["Reasoning & Sandbox"]
downstream_5["Downstream & OTel"]
client_0 -->|"1. Context · HTTPS"| n1_1
n1_1 -->|"2a. Inline FIM · gRPC"| n2a_2
n1_1 -.->|"2b. Fetch code · gRPC"| n2b_3
n2a_2 -->|"3a. Edit & · HTTPS"| n3_4
n2b_3 -->|"3b. Apply · Async"| n3_4
n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5COMPONENT STACK (6)
- IDE & CLI DevelopersSTATELESSInline FIM + multi-file chat
- IDE Context ProxySTATELESSAST slice, open tabs & diff
- Fast FIM ModelSTATELESSSpeculative / quantized <150ms
- Repo Semantic IndexSTATEFULAST chunks + symbol graph
- Reasoning & SandboxSTATELESSFrontier LLM + test runner
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- IDE & CLI Developers → IDE Context Proxy (Context)[HTTPS]
- IDE Context Proxy → Fast FIM Model (Inline FIM)[gRPC]
- IDE Context Proxy → Repo Semantic Index (Fetch code)[gRPC]
- Fast FIM Model → Reasoning & Sandbox (Edit &)[HTTPS]
- Repo Semantic Index → Reasoning & Sandbox (Apply)[Async]
- Reasoning & Sandbox → Downstream & OTel (Emit /)[OTLP/API]