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.

boot & verify
# 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> header
  • Authorization: Bearer <token>
  • Session cookie from /api/auth/login, opaque server-side session ids, revocable via /api/auth/logout, expiring per authentication.session_timeout

Interactive docs (/docs, /redoc, /openapi.json) and GraphQL are auth-gated too.

Chat & streaming

streaming contract
# 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

engine calls
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

SurfaceEndpointNotes
File treeGET /api/fileswalks prune .venv/node_modules/.git
Symbol indexGET /api/indexing/symbolsincremental, mtime-validated
Editor search/api/editor/searchfeeds Monaco nav providers
Formatting/api/editor/formatruff via stdin for Python
Debug/api/ide/debug/*, /ws/debugDAP-backed sessions
TestsGET /api/ide/tests, POST /api/ide/tests/runAST discovery + permission-gated pytest
Git/api/ide/git/*branches, log, commit, diff, blame, stash
WebSockets/ws/chat /ws/agents /ws/workspace /ws/systemtoken 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

SymptomLikely causeResolution
Boot appears to hang ~4sNormal, 38 services initialize seriallyWait for the services-started log line; check /api/health
Chat replies take 1–2 minutesCPU-bound local inference (no GPU)Expected on the reference host; streaming shows live progress, not a hang
{"error":"Unauthorized"}Missing/expired credentialSend x-api-token or re-login; sessions expire per config
Concurrent chat requests serializeSingle inference slot on local providersBy design, the AdaptiveLimiter sheds to 1 under load
413 on uploadapi.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.md tracks releases

Documentation version 0.1.0 · last reviewed 2026-11-08 · reflects the live deployment's verified surface