VedaCODE architecture
Client access, control plane, data stores and GPU runtime.
VedaCODE is a self-hosted stack installed by a single setup script.
| Tier | Components |
|---|---|
| Client access (HTTPS) | Developer CLI (vedacode), VS Code extension, VedaCODE Studio web console |
| Control plane | FastAPI on Ubuntu: API engine, build lifecycle, complexity router, WAF and guardrails |
| Data and runtime | PostgreSQL 16 + pgvector (code search), Redis 7 (queues, cache), Ollama (16k context), Bubblewrap (sandboxed builds) |
| Compute | Local NVIDIA GPUs (24 GB+ VRAM recommended); optional remote GPU workers (vedacode-worker) |
Build lifecycle
- Planning — the plan records acceptance criteria, assumptions and open questions.
- Approval — four-eyes sign-off; execution is bound to the SHA-256 hash of the approved plan.
- Sandbox build — edits and commands run in Bubblewrap.
- Validation — unit tests and linters.
- Auto-repair — N-round patching.
- Completed — the verified diff is applied; otherwise the build ends as FAILED with full logs.