Skip to content

Documentation

Everything, in one place.

20 references covering self-hosting, agent integration, architecture, operations and the full API. Every port, path and number here was checked against the running stack.

Start here

Local-First Quickstart

Boot the entire memory plane offline with one command.

Contexta runs entirely on your own hardware. The first boot downloads the Qwen3 weights into ./models, so give it a few minutes. No cloud API key is needed at any point, and the default engine mode is offline.

bash
git clone https://github.com/Aethlon/Contexta.git
cd Contexta
cp .env.example .env

# macOS & Linux
./entrypoint.sh

# Windows (PowerShell)
.\start.ps1

# Then create your first API key. This is the one step that cannot be
# done over HTTP, because POST /v1/keys is itself authenticated.
python scripts/bootstrap_key.py

What that command starts

Eleven containers: the API, the extraction worker and beat, a Redis response cache, PostgreSQL with pgvector, the Qwen3 embedding and reranking server, the local inference server, an Ollama runtime, an MCP server for agent integrations, and the operator console. Ollama is in the stack rather than on your host, so a reboot cannot silently leave extraction broken.

Three tiers: local models, the runtime that serves them, and the storage they write to.