Browse by type
Enterprise RAG & knowledge intelligence platform: a multi-tenant, permission-aware knowledge platform that grew out of the CSV-AI analysis assistant. Organisations connect documents, spreadsheets, databases and web/code sources; members ask questions and get answers grounded in sources they are allowed to see, with clickable citations down to the page, sheet row or database query.
Status: functional, tested end-to-end on PostgreSQL 16 + pgvector. See IMPLEMENTATION_STATUS.md for exactly what is complete, what is implemented-but-untested, and what is planned.
A 68-second walkthrough of the real app, with answers from Claude Sonnet 5.5: a cited contract answer, the same question from a member who can't see contracts, a plain-language database question, an agent that waits for an admin's approval, and the live Connections map. Halden Freight is fictional demo data. Watch on YouTube.
![]() |
![]() |
| Cited answers. Every claim links to its page; the Sources panel shows the passage in context. | Light and dark themes from one token system (docs/DESIGN.md). |
![]() |
![]() |
| Text-to-SQL. A plain-language question becomes validated, read-only SQL; the result is charted. | Approvals. Gated agent tools wait for someone else with db.approve; nobody approves their own request. |
![]() |
![]() |
| Agents resume after approval with the requester's permissions, citing documents and live data. | Connections map. Sources, indexes, models and agents, built from real resources and live events. |
Docker (single server):
cp .env.example .env # fill in secrets — see DEPLOYMENT.md
docker compose up -d --build
Local development (no Docker; embedded PostgreSQL):
cd backend && python -m venv .venv && .venv/Scripts/activate && pip install -e ".[dev,local-embeddings]"
python scripts/dev.py # API :8000
python scripts/seed_demo.py # optional demo data
cd ../frontend && npm install && npm run dev # UI :3000
To get generated answers in development without configuring a provider in the UI, start the API with a file holding ANTHROPIC_API_KEY and/or OPENAI_API_KEY (only those keys, plus ANTHROPIC_WORKSPACE_ID, are read and never printed): python scripts/dev.py --env-file ../.env.keys. Organisations without their own provider then answer with Claude Sonnet 5.5 or GPT-5.4 mini. A local Ollama provider is available too (seed_demo.py --ollama), but small models on a CPU are slow and unreliable.
| Document | Contents |
|---|---|
| ARCHITECTURE.md | System design, tenancy, authorization model, ingestion, RAG engine, Text-to-SQL, jobs, events |
| SECURITY.md | Controls, RAG-specific protections, tests, known limitations |
| DEPLOYMENT.md | Installation, configuration, operations, backups, upgrades, troubleshooting |
| docs/API.md | Authentication, errors, endpoint map, examples, webhooks |
| docs/RAG_EVALUATION.md | Evaluation method and results, incl. live Claude and OpenAI runs |
| IMPLEMENTATION_STATUS.md | Honest feature matrix |
| docs/TESTING.md | Backend tests, RAG evaluation and the browser E2E suite |
| docs/DESIGN.md | Design system |
| docs/ASSESSMENT.md | Phase 1 assessment of CSV-AI v2 |
| CHANGELOG.md | Release notes |
backend/ FastAPI app, Alembic migrations, tests (164), RAG evaluation
frontend/ Next.js 15 app (design system, 17 sections, chat, Connections map)
deploy/ Postgres init, Caddy (TLS), backup/restore
docs/ API guide, evaluation, testing, design system, assessment
MIT — see LICENSE.
$ claude mcp add CSV-AI \
-- python -m otcore.mcp_server <graph>