Archex turns a repo into deterministic context bundles for coding agents
tom_mathews · reddit · 2026-07-23
Archex is a local-first code context system for coding agents that builds a ranked, token-budgeted bundle instead of letting agents grep a repo blindly.
It uses BM25F, local embeddings, and graph expansion over imports, types, and callers, and keeps the whole path deterministic with no hosted inference, API key, or telemetry in the core flow. The author reports a head-to-head benchmark on a 19-task external-repo set: required-file recall of 0.95 versus 0.32 for cocoindex-code and 0.70 for Graphify, with far fewer completion-penalty tokens and 0 ms cold start. The project supports 26 languages, ships an MCP server with 17 tools, plus CLI, Python API, and Docker.
Related event: Archex Releases Local Code Context MCP Server for Coding Agents(3 posts)→
More from coding & agent
- Dev builds talk on guardrails workflow for shipping AI-written code without reading it — TejasKumar_ · 2026-09-11
- banteg: Codex auto-review has regressed, blocking steps needed to complete authorized tasks — banteg · 2026-09-11
- A doc-anchored agent workflow: you write, the agent only critiques and finds disagreements — lucasmeijer · 2026-09-11
- SymKit MCP: 44 tools for AI agents to verify symbolic derivations — Foreign-Specific-604 · 2026-09-11
- GitHub Copilot team routes user bug reports to an AI agent via Slack — marlene_zw · 2026-09-11
- Scanning 23 agent sessions, a dev found 3 silent failure modes in memory systems — No_Advertising2536 · 2026-09-11