Local Code Index for Coding Agents: Resolves Imports Without Language Server

Basemind is an MIT-licensed Rust tool that builds a local code index for AI coding agents, resolving imports and building a call graph without a language server. It runs fully offline with no build step and no per-language daemon, which matters when the repo doesn't compile because an agent is halfway through editing it.
The tool tiers language support by understanding depth: JS/TS goes through oxc for a real scope tree, symbol table, import/export resolution, and tsconfig path aliases in monorepos. Python and Java use GitHub's stack-graphs (archived, but forked and maintained with four upstream rule bugs fixed that used to abort resolution on typed splat parameters or chained assignments). Everything else gets intra-file lexical scope binding only.
371 grammars parse, about 100 give up symbols and calls, and three get real resolution. The key design choice: when you ask for a function's callers, it returns every call site a name scan finds, annotated with which ones resolution could prove, rather than only the proven subset. This avoids the failure mode of an earlier version that filtered to proven hits and reported 2 callers on a file with 172, with no truncation flag.
Performance: scanning the TypeScript compiler (81k files) takes ~18 seconds on an M4; git history queries land in tens of microseconds regardless of history depth. The index lives in a local cache.
The author concedes this is not LSP-precision; for generics, macros, dynamic dispatch, DI containers, and monkey-patching, a language server will be right where Basemind is wrong. But for agents mid-edit on a non-compiling repo, it's a practical alternative.
Who it's for: Developers building or using AI coding agents that need fast, offline code navigation without the overhead of language servers.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Free macOS Menu Bar App Shows Real-Time Claude Usage Stats via SQLite Cookie Decryption
Claude Usage Tracker is a free macOS menu bar app that reads Claude desktop app encrypted SQLite cookies, decrypts them via Keychain, and displays session %, weekly limit, spend, and routine runs locally — no API key needed.

Forge: Turn a Mac or Linux Machine into an Always-On Dev Host for AI Coding Agents
Forge is an open-source tool that installs a daemon to turn any Mac or Linux machine into a permanent, always-on development host. It keeps AI coding agents running when you walk away, provides a web dashboard for monitoring, and uses Tailscale for secure remote access via SSH.

Chapper: Native iOS Client for LM Studio, Ollama, and OpenAI-Compatible Local Models
Chapper is a native SwiftUI iOS app that connects to LM Studio, Ollama, and OpenAI-compatible local models without cloud services or accounts. It offers real-time token streaming, full sampling controls, reasoning model support with <think> tags, and export in 7 formats.

Agent frameworks waste 350,000+ tokens per session resending static files
A benchmark on a local Qwen 3.5 122B setup revealed agent frameworks waste over 350,000 tokens per session by resending static files. A compile-time approach reduced query context from 1,373 tokens to 73, achieving a 95% reduction.