Quickstart
This takes a fresh cabinet to recallable, agent-ready memory. Everything below is shown
with curl against the running service — the console
does all of it with no terminal, and agents do it through MCP tools.
These calls assume the service is up at 127.0.0.1:7437. If it isn't,
install it first: on Windows with Grounded Companion, on macOS
and Linux with the install script. See installation.
Record what matters #
Add a durable fact and log a session. Facts are the rules an agent must follow; sessions are what happened recently.
Ingest your docs #
Point Grounded at folders of markdown. It walks them, honours .groundignore,
strips <private> blocks, chunks, and embeds — re-ingest is cheap
because unchanged chunks are skipped by hash.
Recall #
Ask a question. Recall embeds it once, searches lexical + vector lanes in parallel, fuses with reciprocal rank fusion, and returns small, ranked, source-cited cards — grouped facts, then sessions, then docs.
fact:12 · matched both
session:274 · matched vector
doc:1091 · STATE.md
Every card carries a typed ID, a source, and how it matched. Pass an ID to
GET /get/fact:12 for the full, cited record — compact by default,
complete on demand. How ranking works.
Get a brief #
A brief is the scoped startup summary an agent reads before it works: your vision, the most recent work, the facts that apply to this agent and project, and related docs.
Wire an agent #
Print the MCP config snippet for your agent and paste it in. From then on the agent recalls, fetches by ID, writes sessions, and pulls briefs itself — no framework required.
Prefer startup briefs to be injected automatically? grounded hooks print
emits a SessionStart hook that curls POST /brief for you. See
MCP & wiring.