Developers
Documentation that matches the code.
Everything on this page is verified against the running system. The repo ships a full engineering wiki; this page is the quick map.
Getting started
Nova Coder is a FastAPI + React application. A production instance boots 38 kernel services in about four seconds.
# start the API python -m uvicorn novacoder.api.app:app --host 127.0.0.1 --port 8000 # health, all 38 services curl http://localhost:8000/api/health \ -H "x-api-token: $NOVACODER_API_TOKEN"
Authentication
All /api/* paths require a credential except /api/health and /api/auth/*. Three accepted forms:
x-api-token: <token>headerAuthorization: Bearer <token>- Session cookie from
/api/auth/login, opaque server-side session ids, revocable via/api/auth/logout, expiring perauthentication.session_timeout
Interactive docs (/docs, /redoc, /openapi.json) and GraphQL are auth-gated too.
Chat & streaming
# buffered response curl -X POST /api/chat -H "x-api-token: $T" \ -d '{"message":"summarize routes_auth.py","agent":"chat"}' # → {"output": "…", "agent": "chat", "success": true} # live token stream (SSE) curl -N -X POST /api/stream -H "x-api-token: $T" \ -d '{"message":"explain this function"}' # → data: {"token":"…"} … data: {"done":true}
Agent routing: "chat" is the fast default; "assistant" routes through the capability orchestrator; "architect" does deep workspace analysis (slow by design).
Capability engine
GET /api/capabilities # list 88 capabilities POST /api/capabilities/chat # natural-language → tools POST /api/capabilities/execute # direct capability call GET /api/capabilities/jobs/{id} # long-running job status GET /api/capabilities/audit # execution audit trail
Workspace & editor endpoints
| Surface | Endpoint | Notes |
|---|---|---|
| File tree | GET /api/files | walks prune .venv/node_modules/.git |
| Symbol index | GET /api/indexing/symbols | incremental, mtime-validated |
| Editor search | /api/editor/search | feeds Monaco nav providers |
| Formatting | /api/editor/format | ruff via stdin for Python |
| Debug | /api/ide/debug/*, /ws/debug | DAP-backed sessions |
| Tests | GET /api/ide/tests, POST /api/ide/tests/run | AST discovery + permission-gated pytest |
| Git | /api/ide/git/* | branches, log, commit, diff, blame, stash |
| WebSockets | /ws/chat /ws/agents /ws/workspace /ws/system | token subprotocol auth |
Configuration
Config layers ~/.config/novacoder/user.yaml over repo config/defaults.yaml. Provider selection, model, timeouts, capability endpoints and the auth token are all user-side configuration, no credentials live in the repo.
Troubleshooting
| Symptom | Likely cause | Resolution |
|---|---|---|
| Boot appears to hang ~4s | Normal, 38 services initialize serially | Wait for the services-started log line; check /api/health |
| Chat replies take 1–2 minutes | CPU-bound local inference (no GPU) | Expected on the reference host; streaming shows live progress, not a hang |
{"error":"Unauthorized"} | Missing/expired credential | Send x-api-token or re-login; sessions expire per config |
| Concurrent chat requests serialize | Single inference slot on local providers | By design, the AdaptiveLimiter sheds to 1 under load |
| 413 on upload | api.max_upload_bytes (default 50 MiB) | Reduce file size or raise the cap in user config |
FAQ
Is Nova Coder a SaaS?
No, it's a managed deployment operated by Codex Laboratories AI. Access is provisioned per user; there's no self-service signup.
Which models does it use?
Provider-agnostic: the deployment's primary is the estate's Ask Sybil oracle; local Ollama and OpenAI/Anthropic/Gemini/Cohere APIs are supported through the provider registry. Model choice is operator configuration, not a shipped default claim.
Can the AI run commands on my machine?
Only through the governed paths: sandboxed capability execution and the grant-scoped device layer, both audited, and mutations are approval-gated. There is no raw shell access for the model.
Where's the full reference?
The authenticated OpenAPI docs (/app/docs) plus the engineering wiki inside the repository (wiki/, ~100 documents).
Going deeper
- Engineering guides, 48 wiki documents rendered for the web: architecture, APIs, agents, workspace, security, operations
- Live OpenAPI docs: /app/docs (authenticated)
- Platform architecture: Platform page
- Trust boundaries: Security model
- The full engineering wiki (~500 documents) ships inside the repository under
wiki/;CHANGELOG.mdtracks releases
Documentation version 0.1.0 · last reviewed 2026-11-08 · reflects the live deployment's verified surface