archex: local-first, deterministic code-context for AI agents — no API key, no telemetry (Apache 2.0)

Reddit r/LocalLLaMA Tools

Summary

archex is a local-first, deterministic tool that builds token-budgeted code context bundles for AI agents, using a full retrieval pipeline (BM25F, local embeddings, cross-encoder reranker, dependency-graph expansion) on your hardware with no API keys or telemetry, outperforming alternatives in recall and efficiency.

`archex` turns a repo into a ranked, token-budgeted context bundle for coding agents: the symbols, imports, dependency-graph neighbors, and provenance the model needs, assembled before it reasons. It returns context, not an answer — your local model still does the thinking. The thing this sub will care about: it's local-first by design. No hosted inference, no API key in the core, no telemetry. The whole retrieval pipeline (BM25F + local vector embeddings + RRF fusion + a local cross-encoder reranker + dependency-graph expansion) runs on your hardware and is fully deterministic, so results are reproducible across machines and CI. It's a long-running solo project, it predates the recent wave of OSS code-context tools, and I finally got it to a state worth sharing. Retrieval stack runs on your hardware: tree-sitter for parsing (25 languages), ONNX/FastEmbed for local embeddings, optional SPLADE. A BM25-only slim Docker image needs no torch at all. Measured, CI-gated numbers (19-task head-to-head vs cocoindex-code, Apple M1 Pro, same token accounting): - Recall 0.95 vs 0.32 - Token efficiency 0.76 vs 0.48 - Cold start 0 ms vs 4,721 ms (no daemon warm-up) - ~71% fewer returned tokens vs just reading the raw files Telemetry: none, by design.
Original Article

Similar Articles

AREX: Towards a Recursively Self-Improving Agent for Deep Research

Hugging Face Daily Papers

AREX introduces a family of recursively self-improving agents for deep research, alternating between an inner research loop and an outer self-improvement loop, trained with long-horizon reinforcement learning. It substantially outperforms comparable-scale baselines on benchmarks like BrowseComp and Humanity's Last Exam.

@Apodex_AI: Dive in Blog: https://apodex.com/blog/apodex-1.0 Tech report: http://apodex.com/pdf/20260608 Github: https://github.com…

X AI KOLs Following

ApodexAI releases Apodex-1.0, a deep-research model that operates as a tool-using ReAct agent. Its heavy-duty mode, Apodex-1.0-H, uses an asynchronous agent team with up to 150 sub-agents and achieves new state-of-the-art results on deep-research benchmarks including BrowseComp, DeepSearchQA, HLE, and FrontierScience, surpassing models like GPT-5.5-pro and Claude-Opus-4.8.

esengine/DeepSeek-Reasonix

GitHub Trending (daily)

Reasonix is a config- and plugin-driven AI coding agent for the terminal, built around DeepSeek's prefix cache to keep token costs low across long sessions. It supports multiple OpenAI-compatible endpoints, dual-model execution, and MCP-compatible external tools.