Self-hosting runs the open-source 3ngram core locally: MCP server, REST API, dashboard, Postgres with pgvector, Redis, migrations, and a seeded admin user. Hosted-only modules such as billing, notifications, managed integrations, and admin operations are disabled by default. The self-host core gives your agents the context they need for each kind of work: search for source-grounded results, briefing for the current state of a topic, and execution that loads the right context into your MCP client before work starts. Durable Work Contexts and managed agent loops are the direction 3ngram is heading; they are managed-paid capabilities and are not part of the self-host core today.Documentation Index
Fetch the complete documentation index at: https://docs.3ngram.ai/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Docker with Docker Compose v2
- Git
Start the stack
Local endpoints
| Surface | URL |
|---|---|
| Dashboard | http://localhost:3000 |
| REST API | http://localhost:8000 |
| MCP server | http://localhost:8001/mcp |
| Postgres | localhost:5432 |
| Redis | localhost:6379 |
Sign in
Use the seeded local account:SELFHOST_SEED_EMAIL, SELFHOST_SEED_PASSWORD, and
SELFHOST_SEED_NAME in your .env file before first boot.