Skip to content

SigMapGrounded context AI can trust. Deterministic. Verifiable.

The deterministic, verifiable grounding layer for AI code work. Proof — 80.4% hit@5 · 95.7% token reduction · zero deps, fully offline.

Release: v8.76.0·New — session usage from any MCP agent: an agent SigMap has no hook integration for (Cursor, Windsurf, Codex CLI, Gemini CLI, OpenCode) can report its own usage through one opt-in tool, log_session_usage, and sigmap --report --sessions shows the latest sessions with their provenance, a cost floor and totals per provenance class — never one blended total. What changed →
Benchmark: sigmap-v8.76-main·80.4% hit@5 · 95.7% token reduction · 2026-10-12

Who is this for? ​

I am…Go to
New to SigMapQuick start
Using it dailyask · validate · judge
Setting up a team / CIConfig · Strategies
Using open-source agents (OpenCode, Aider, Cline)Open-source agents guide
Running local LLMs (Ollama, llama.cpp, vLLM)Local LLMs guide — zero cost, full privacy
Integrating with MCP, Claude, or CursorMCP setup
Evaluating for a monorepoStrategies · Generalization
Comparing against embeddings or RAGCompare alternatives

30-second start ​

Step 1: Generate context for your project

bash
npx sigmap

Step 2: Ask for relevant files (query-specific context)

bash
sigmap ask "explain the auth flow"
# Outputs: ranked file list + .context/query-context.md (ready to paste)

Step 3: Copy context to your AI assistant

  • Open .context/query-context.md
  • Paste the content into Claude, Copilot, ChatGPT, or your IDE's AI chat
  • Ask: "Explain the auth flow"

Step 4: Save the AI response

bash
# Copy the AI's answer into a file
echo "Paste AI response here..." > response.txt

Step 5: Validate coverage (optional)

bash
sigmap validate --query "auth login token"
# Check if coverage is high enough to trust the response

Step 6: Judge groundedness

bash
sigmap judge --response response.txt --context .context/query-context.md
# Score: shows if the answer is grounded in your code

That flow gives you: a compact signature map · a focused query context · a coverage sanity check · a groundedness score for the answer.

The workflow ​

SigMap is no longer just "shrink the context file." Every step has a purpose:

  • Generate a compact signature map once
  • Ask for the files that matter to the current task
  • Validate whether coverage is high enough to trust the context
  • Judge whether an answer is grounded in the supplied code
  • Learn from good and bad results locally, inside the repo

See the full end-to-end walkthrough to watch this in action on a real repo.

Latest saved benchmark snapshot ​

MetricWithout SigMapWith SigMap
Task success proxy— (proxy, modeled from retrieval tiers)61.9%
Prompts per task2.841.58
Retrieval hit@5 (retrieval corpus)—80.4%
Honest corpus hit@5 (125 tasks)40.0% (single-shot grep)92.8% (2.32× lift)
Overall token reduction—95.7%
GPT-4o overflow repos14/210/21

Latest saved benchmark run: 2026-10-12 (v8.76.0).

Benchmark proof, by question ​

If you want to prove...Open
SigMap reduces token load dramaticallyToken benchmark
SigMap finds the right file more oftenRetrieval benchmark
SigMap reduces retries and wrong-context answersTask benchmark
SigMap keeps large repos inside model limitsQuality benchmark

Where to go next ​

MIT License