Cartograph
v2.0.3Your agents search your PDFs, docs and code locally and cite the page.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
retrieve_context
BEST retrieval for injecting context: hybrid (semantic + keyword) over the user's whole graph — code, notes, PDFs, Office docs. Every snippet has a `cite` (file:L40-88, paper.pdf p.12). Set mode=mix with max_tokens for one budgeted bundle of relevant memories, entity facts and snippets.
| Parameter | Type | Description |
|---|---|---|
query * | string | What to find. |
cwd | string | Working directory, scopes memories to its project. |
max_tokens | integer | Hard token budget for the whole result (default 2000 when mode is set). |
mode | string | chunks (default): snippets. mix: memories + entity facts + snippets. graph: entity facts. memory: agent memories. projects: ranked projects. |
top_k | integer | How many snippets (default 8). |
relevant_projects
Which of your projects/repos are most relevant to a query (hybrid ranked).
| Parameter | Type | Description |
|---|---|---|
query * | string | What the task is about. |
top_k | integer | How many projects (default 8). |
elevate_task
One-shot top-of-field briefing for a build task: elite bar, reference repos, the frontier playbook (process), adjoining-field moves, and your most relevant existing repos.
| Parameter | Type | Description |
|---|---|---|
task * | string | The build task. |
project_path | string | Optional path of the project being built. |
frontier_status
Coverage of each field's top-tier reference repos in your graph + the prioritized acquisition backlog.
| Parameter | Type | Description |
|---|---|---|
top | integer | How many fields to report (default 8). |
personalize
THE personalization hook — call FIRST on any user prompt. Returns a steering brief (the user's persona/field focus, output guidance, the compass constellation of ambitions, ventures, inquiries, sparks, and sorties, and persona-ranked snippets) to prepend so your answer fits this specific user. They hold many directions at once; do not collapse them onto one project. Adapts as feedback accrues.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | The user's request. |
max_chars | integer | Context budget in characters (0 = unlimited). |
top_k | integer | How many snippets (default 6). |
constellation
The user's compass: slow ambitions, warm ventures and inquiries, new sparks, temporary sorties and their residue, threads they returned to, and resting work that is memory rather than a to-do. Pass a prompt to mark which threads it touches, including quiet ones. Built by `carto compass --sync` from AutoLog.
| Parameter | Type | Description |
|---|---|---|
prompt | string | Optional prompt to mark which threads it touches. |
record_use
Close the learning loop: after answering, report which projects actually helped (and which didn't) so the persona adapts to what the user responds to. Call when you used Cartograph context in a useful answer. Writes local persona feedback.
| Parameter | Type | Description |
|---|---|---|
helped * | array | Project names that helped. |
not_helpful | array | Project names that did not help. |
query | string | The query the feedback is about. |
frontier_hints
Reasoning hints for the task at hand: the textbook method for its technical area (CUDA, time series, MD, signals, sparse, HPC, quant, ML), one worth-trying tangent with when-to-try, frontier papers/repos the scout pulled for the user's active topics, and related projects from the user's graph. Use when planning an implementation.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | The task or question. |
entities
Facts read deterministically from the user's files, each with evidence (a citable chunk), extractor, confidence and first/last seen: dependencies, imports, cited papers (DOI/arXiv), GitHub repos, Hugging Face models/datasets. Give `find` to see which projects use/cite something (e.g. 'pydantic', '1706.03762'); give `project` to list what one project depends on and which projects it shares entities with.
| Parameter | Type | Description |
|---|---|---|
find | string | Entity name or fragment to look up across projects. |
kind | string | Restrict to one kind. |
limit | integer | Max facts (default 20). |
project | string | Project name to describe. |
brief
Session-start memory digest for the project being worked on: its active decisions, rejected approaches (don't retry them), preferences, open todos, recent sessions, and memories whose anchored files changed. Call at the start of a task. Bounded by max_chars.
| Parameter | Type | Description |
|---|---|---|
cwd | string | The working directory (picks the project). |
max_chars | integer | Character budget (default 2000). |
project | string | Project name, if known. |
recall
Search the user's shared agent memory (decisions, rejected approaches, preferences, facts, todos, session logs). Active memories only unless history=true; each result says if it may be stale because a file it depends on changed.
| Parameter | Type | Description |
|---|---|---|
cwd | string | Working directory (picks the project). |
history | boolean | Include superseded memories. |
kinds | array | Restrict to kinds: decision, rejected, preference, fact, todo, note, session. |
limit | integer | Max results (default 10). |
max_chars | integer | Cap on total text returned (0 = none). |
project | string | Project name. |
query | string | Keywords (empty = newest). |
remember
Save something every future session (in any client) should know: a decision and why, an approach that was tried and rejected, a user preference, a fact, a todo. Anchor it to the files it depends on so it's flagged stale when they change. Returns similar existing memories; supersede them if this one replaces them.
| Parameter | Type | Description |
|---|---|---|
text * | string | The memory, self-contained (include the why). |
anchors | array | File paths this memory depends on. |
cwd | string | Working directory (picks the project). |
kind | string | Memory kind. |
project | string | Project name. |
source | string | Client name, e.g. claude-code, cursor. |
supersedes | array | Memory ids this replaces. |
supersede
Mark a memory as no longer true (kept as history with its validity interval), optionally pointing at the memory that replaces it.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Memory to close. |
by | integer | Replacement memory id. |
reason | string | Why it no longer holds. |
graph_stats
Counts in your graph (projects/files/chunks/edges/entities) and the semantic index state.