Get SEAM running.
One-line install from the private repo. Requires gh auth login first. The runtime serves its dashboard directly — no Node build step.
The seam command surface.
The operator-facing composition surface. Every interface — CLI, MCP, REST, dashboard — calls the same shared runtime behavior.
Driving the runtime.
A practical runbook for interacting with SEAM, running tests, and validating the live stack. SQLite is canonical truth; vector stores are rebuildable acceleration.
What SEAM uses
- › SQLite for canonical truth, provenance, packs & metadata
- › SQLite
vector_indexby default for local vector search - › Optional Postgres + pgvector (port
55432) - › Local deterministic hash embeddings, or an OpenAI-compatible provider
Where data lives
- › Truth DB — whatever you pass to
--db - › Vector index — inside that same SQLite file unless pgvector is enabled
- › pgvector — separate container
seam-pgvectoronlocalhost:55432
Compile, search, retrieve
seam --db seam.db compile-nl "We need a translator back into natural language."
seam --db seam.db search "translator natural language" --budget 3
seam --db seam.db retrieve "translator natural language" --mode mix
seam --db seam.db pack clm:2,sta:ent:project:seam --mode context --budget 128
seam --db seam.db trace clm:2
SEAM emits RAW, SPAN, PROV, ENT, CLM, and STA records. Results show lexical, semantic, graph, and temporal contribution reasons, with the evidence chain attached.
Recommended test loop
python -m pytest test_seam_all/test_seam.py -q
seam doctor
seam --db seam_validate.db stats
Six signals. One orchestrator.
SEAM ranks evidence through six modes. Use mix for agent RAG unless a benchmark says another mode wins. Retrieval builds a compact PACK only after records are selected.
Progressive disclosure
seam memory search "benchmark gate" # compact: IDs, summaries, scores
seam memory get clm:1,clm:2 --timeline # full MIRL for selected records only
seam retrieve "persistent memory" --mode mix --budget 5 --trace
seam reindex # refresh stale derived vectors
Agents inspect IDs and scores first, then fetch full MIRL only for selected records — keeping prompt cost low. SQLite stays canonical; vectors and graph edges are rebuildable.
Readable, lossless memory.
MIRL is the canonical memory IR. The compressed artifact must be directly readable machine language — answerable without restoring the original document. SEAM-RC/1 is readable text compression; SEAM-HS/1 folds payloads into the RGB channels of a lossless PNG.
Record kinds
Only lossless PNG surfaces are exact memory artifacts in v1 — lossy formats like JPEG are rejected for exact-read workflows. rgb24 is the default density mode; rgba32 / rgba64 store higher density.
The agent bridge.
seam mcp stdio starts a standards-compliant MCP JSON-RPC server over stdio. Gemini CLI, Claude Desktop, Cursor, OpenCode, and other MCP clients configure it as a local stdio server.
{
"mcpServers": {
"seam": {
"command": "python",
"args": ["-m", "seam_runtime.mcp_protocol", "--ensure-pgvector"],
"cwd": ".",
"timeout": 120000,
"trust": false
}
}
}
Discovered tools
When something fails.
The current playbook. Most issues are environment state — set the env var in the same shell session and re-run seam doctor.