Hyponoia

•

Indexes code repositories into a queryable knowledge graph, returning exact code spans to provide context for AI coding agents.

Hyponoia serves as a high-performance code context engine specifically designed for AI coding agents. It transforms vast code repositories into a persistent, queryable knowledge graph, enabling agents to instantly access precise code spans and structural information. This significantly reduces token usage compared to traditional file-by-file search methods, allowing agents to focus on complex tasks rather than spending time locating relevant code. With support for 158 languages and both structural graph queries and semantic natural-language search, Hyponoia empowers agents to efficiently understand and interact with codebases of any scale, all while keeping operations entirely local and secure.

Key Features

01Dual Search Modes: Offers both structural graph queries for exact relationships and semantic natural-language `ask` functionality for conceptual searches.
02Efficient Context Retrieval: Reduces token usage by up to 120x for AI agents by providing exact code spans and structural answers.
030 GitHub stars
04Extensive Language Support: Built-in Tree-sitter grammars provide support for 158 programming languages and Hybrid LSP for 10 languages.
05Local & Secure Operation: All processing is local with no network requests, telemetry, or API key storage (unless explicitly configured for escalation with environment variables).
06Rapid Indexing: Processes large codebases (e.g., Linux kernel in 3 minutes) with a RAM-first pipeline.

Use Cases

01Providing precise, token-efficient code context and structural insights to AI coding agents.
02Answering complex structural questions about codebases, such as call chains, function definitions, or module dependencies, in sub-millisecond time.
03Performing semantic code searches using natural language, identifying relevant code declarations even without keyword matches.