Skip to main content

Quick Start

In about 5 minutes you'll have Chaos Cypher running, your first document imported, and search working. Entity extraction and AI chat need a one-time chat-model download (~18–20 GB) — you'll kick that off in step 1 and come back to it while it runs.

Works within ~5 minutesComes online after the chat-model pull
Start the container and sign inEntity extraction (the knowledge graph)
Upload + index a document (~30s per 100 pages)AI chat with citations
Search — keyword + semantic

The small models used for indexing and search (an embedding model and a reranker, ~600 MB each) download automatically on first use.

1. Start the services — and the model download

Start the all-in-one container from the published image:

docker run -d --name chaoscypher \
-p 80:80 \
-p 443:443 \
-v chaoscypher-data:/data \
ghcr.io/chaoscypherinc/chaoscypher:latest

While that starts, kick off the chat-model download in a second terminal:

ollama pull qwen3:30b-instruct
The model pull is the long pole

qwen3:30b-instruct is a ~18–20 GB download — the single longest part of setup. Importing and searching documents (steps 2–3) do not wait on it; entity extraction and chat (steps 4–5) do. Starting the pull now means the graph features are ready by the time you want them. Ollama must be installed and running — see Installation for details or alternative providers.

Wait for the container to become healthy, then open http://localhost. After signing in (first run prompts you to set a username and password), you land on the Dashboard — a live overview of your graph with entity, relationship, source, and quality counts plus a recent-activity feed.

Dashboard with entities, relationships, quality and density meters, and recent activity feed

Building from source instead

If you cloned the repository, make docker-up builds and starts the same all-in-one container locally. The first build takes a few minutes; subsequent starts are faster.

Startup page

When the container first starts, your browser shows a startup page with live health indicators for each service (Nginx, Cortex, Valkey, Neuron). The page auto-redirects to the application once all services are healthy — typically 30-60 seconds on first start.

Development mode

If you're using the multi-container dev setup (make docker-dev), the UI is at http://localhost:3000 and the API at http://localhost:8080 instead.

API port in curl examples

The curl examples below use localhost:8080, which is the direct Cortex API port used in dev mode. If you are running the all-in-one deployment, replace 8080 with port 80 — i.e., use http://localhost/api/v1/... instead.

2. Upload a document

  1. Navigate to Sources in the sidebar
  2. Click Add Source — in the dialog, drag-and-drop a PDF, Word document, or text file (or paste a URL to import a web page)
  3. The file uploads and indexing starts immediately. Once the text is analyzed, a Review dialog proposes an extraction domain (technical, medical, legal, …) detected from the content — click Confirm to queue entity extraction

Sources page with the Add Source dialog and drag-and-drop

Review dialog proposing an extraction domain once indexing finishes

Confirm later if you prefer

If you close the Review dialog, the source simply waits at awaiting confirmation — indexing and search are unaffected. Confirm the domain any time from the source's action menu.

The processing pipeline has three stages:

StageWhat happensTime
IndexingChunking + embedding for search~30s per 100 pages (the very first run adds a one-time ~600 MB embedding-model download)
Domain confirmationYou confirm the proposed extraction domainOne click
Entity ExtractionAI extracts entities and relationships~5min per 100 pages — needs the chat model from step 1
Status indicators

Watch the status badge on your source file: indexingindexed (→ awaiting_confirmation until you confirm) → extractingextractedcommittingcommitted

3. Search your documents

Once a source reaches indexed status, you can search it — no need to wait for extraction:

  1. Press Ctrl+K (⌘K on macOS) or click the search bar in the top bar to open the omnibar
  2. Type a query (two or more characters) — results come from both keyword and semantic (vector) search, grouped into Entities, Sources, and Chunks
  3. Click an entity to open it, a source to view it, or a chunk to jump to the matching text in its source

Omnibar search showing matching entities with their connection counts

First search

The very first search may pause briefly while the reranker model (~600 MB) downloads.

4. Explore the knowledge graph

Once extraction is committed (this is the stage that needs the chat model from step 1), entities and relationships appear in the graph:

  1. Navigate to Graph in the sidebar
  2. The canvas shows extracted nodes (entities) and edges (relationships)
  3. Click a node to see its properties, connected entities, and source evidence
  4. Use the search bar to find specific entities
  5. Try different layout options from the toolbar

Interactive knowledge graph visualization with nodes and edges

5. Chat with your documents

Chat uses the same model as extraction — if the pull from step 1 is still running, give it a few more minutes.

  1. Navigate to Chat in the sidebar
  2. Start a new conversation
  3. Ask a question about your uploaded document

The AI uses RAG to search your indexed content and provides answers with citations linking back to specific source chunks.

Chat interface with AI response and source citations

Scoped chat

Open the chat dropdown on a specific source to start a conversation scoped to that document only. The AI will only use content from that source.

6. Manage databases

Chaos Cypher supports multiple isolated databases:

  1. Go to SettingsDatabases
  2. Create a new database for a different project or topic
  3. Switch between databases — each has its own sources, graph, and chat history

Settings page with database management panel

Security defaults

By default, Cortex binds to 0.0.0.0. Read the self-hosted threat model before exposing the service beyond loopback.

What's next?

  • Sources guide — Learn about batch uploads, URL imports, and processing options
  • Knowledge Graph guide — Manual node creation, templates, and graph exploration
  • Chat guide — Scoped conversations, citations, and LLM configuration
  • Configuration — Customize LLM providers, chunking, search, and more