SymDex — Summary
SymDex is a repo-local symbolic indexing engine for AI coding agents. It maps a project into exact symbols, file outlines, HTTP routes, caller/callee graphs, and token-budgeted context packs, stored in a local SQLite database (~/.symdex/ or ./.symdex/). It ships 21 MCP tools and a CLI with matching subcommands, covering 21 language surfaces. The core value proposition is "exact retrieval instead of file scanning": get_symbol returns one function's source instead of a whole file; build_context_pack assembles a token-budgeted evidence bundle for a feature question.
SymDex includes a dedicated symdex-code-search agent skill (installable via npx skills add) that instructs supported AI agents to search with SymDex before broad Read/Grep/Glob exploration. Every CLI search command and MCP tool output includes ROI metadata (roi, roi_summary, roi_agent_hint) so agents can report token savings in their responses. Semantic search backends include local sentence-transformers, Voyage, OpenAI-compatible, and Gemini Embedding — all optional; the base install is lean with no embedding dependency.
Compared to seeds, SymDex is closest to the ccmemory concept of providing a structured query layer over code, but it is a code structure index (not a conversation memory system): it indexes symbols, routes, and call graphs rather than storing decisions or conversation history. Unlike CogniLayer (which also does tree-sitter code intelligence), SymDex is a pure indexing/retrieval tool with no memory of facts, no hooks, and no session management.