Auto-rewrite hooks
Bash calls go through ctx exec automatically — git, cargo, npm, docker, kubectl, aws, terraform, linters compressed without the agent knowing.
curl --proto '=https' --tlsv1.2 -LsSf \ https://github.com/JaimeJunr/context-engine/releases/latest/download/ctx-engine-installer.sh | shctx install --agent claude-codeirm https://github.com/JaimeJunr/context-engine/releases/latest/download/ctx-engine-installer.ps1 | iexctx install --agent claude-codecargo install ctx-enginectx install --agent claude-codeReopen your Claude Code session and the agent automatically uses ctx for command compression, repo maps, semantic search and call graphs.
The only Rust CLI that covers 5 competitive axes in a single 100% local binary.
Auto-rewrite hooks
Bash calls go through ctx exec automatically — git, cargo, npm, docker, kubectl, aws, terraform, linters compressed without the agent knowing.
Native MCP server
10 tools (ctx_exec, ctx_search, ctx_map, ctx_callers, ctx_trace…) exposed via stdio. Schemas auto-generated by schemars.
Repo map (BM25 + PageRank)
Curated signatures ranked by relevance with token budget binary-search. Personalized PageRank with seed dirs for high-precision context.
Call graph in 7 languages
TypeScript, Python, Ruby, Go, Rust, Java, Groovy. callers/callees/trace/impact ranked by query relevance — unique vs CodeGraph.
Local RAG search
Index docs, wikis, ADRs. Semantic search via embeddings (Ollama-compatible endpoint, optional). Works offline in lexical mode without Ollama.
100% local · zero APIs
No telemetry, no cloud calls, no accounts. Single Rust binary. MIT licensed. Linux x86/aarch64, macOS Intel/Apple Silicon, Windows x86.
| ctx | RTK | CodeGraph | Context Mode | QMD | |
|---|---|---|---|---|---|
| Auto-rewrite hook | ✅ | ✅ | ❌ | ❌ | ❌ |
| Native MCP server | ✅ | ❌ | ✅ | ✅ | ✅ |
| Command output compression | ✅ | ✅ | ❌ | ✅ | ❌ |
| Curated repo map (BM25+PageRank) | ✅ | ❌ | ❌ | ❌ | ❌ |
| Local RAG over docs | ✅ | ❌ | ❌ | partial | ✅ |
| Token budget binary search | ✅ | ❌ | ❌ | ❌ | ❌ |
| Call graph | ✅ | ❌ | ✅ | ❌ | ❌ |
| Query-ranked graph results | ✅ | ❌ | ❌ | ❌ | ❌ |
| Token budget on graph output | ✅ | ❌ | ❌ | ❌ | ❌ |
| Single Rust binary | ✅ | ✅ | ❌ TS | ❌ TS | ❌ TS |
| 100% local | ✅ | ✅ | ✅ | ✅ | ✅ |
Read the detailed comparison →
ctx exec filters (git, cargo, npm, docker, kubectl, aws, gh, gradle, maven, pytest, tsc, eslint, ruff, mypy, go test, rubocop, terraform…)