This guide runs Spectron via Docker Compose alongside SurrealDB, bootstraps a Context, and exercises remember and recall. Full deployment options are in Docker.
Prerequisites
Docker and Docker Compose
An OpenAI or Anthropic API key for extraction and chat models
Step 1 — Start the stack
Use the compose.yaml from Docker deployment, then:
Spectron listens on port 9090 by default (check your compose file if you mapped a different host port).
Step 2 — Bootstrap keys and a Context
Follow the first-run steps in the Docker guide: create a management key, then create a Context and an end-user API key via the management API or CLI inside the container.
Export:
Step 3 — Remember a fact
Using HTTP:
Or install the CLI in your environment (or run via docker compose exec spectron …) and use:
Step 4 — Upload a document
Processing runs asynchronously on the worker tier.
Step 5 — Recall
Tier 1 or 2 hits avoid sending a large context block to the LLM.
Step 6 — Optional chat and MCP
Paste the printed MCP config into Claude Desktop, Cursor, or Claude Code.