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 MCP Code Context Server(3 posts)→
More from coding & agent
- Codex on Windows falls back to a weaker sandbox and breaks patching — felipebsr · 2026-07-23
- A year-built personal agent was finally beaten by a one-day-old competitor — Antony_Richards · 2026-07-23
- Sharing a One-Shot Prompt to Build a Local, Private Coding Agent UI for Pi — carsonfarmer · 2026-07-23
- Non-devs should buy Claude Code or Codex themselves, says a reposted tip — HankYeomans · 2026-07-23
- LangChain says the real agent problem is loop engineering, not just execution — LangChain · 2026-07-23
- Teaser: Orchestrator System with Dynamic Multi-Model Routing and Task Splitting — omarsar0 · 2026-07-23