Hydra RAG Hooks

•

Integrate retrieval-augmented generation directly into Claude Code and OpenAI Codex CLI sessions, prepending relevant project context to prompts.

Enhance your Claude Code and OpenAI Codex CLI experiences with keyword-triggered local Retrieval Augmented Generation (RAG). Hydra RAG Hooks automatically indexes your project folders in the background, allowing you to simply type `rag <question>` to have relevant code snippets and documentation prepended to your prompts. This local-first solution ensures deterministic results with zero token overhead on non-triggered prompts, offering seamless integration and cooperation with the `hydra-llm` ecosystem by sharing the same index store.

Características Principales

01Local-first LanceDB index, portable with your project directory, ensuring data privacy and speed.
02Automatic background indexing and incremental refresh of project folders (e.g., Git repos).
030 GitHub stars
04Keyword-triggered Retrieval Augmented Generation (RAG) for Claude Code and OpenAI Codex CLI.
05MCP server for model-decided retrieval, allowing the LLM to request context even without a keyword.
06Comprehensive `crh` operator CLI for managing indexes, refresh cycles, and sharing.

Casos de Uso

01Obtaining context-aware answers to programming questions directly within Claude Code or Codex CLI.
02Automatically augmenting LLM prompts with relevant code and documentation chunks from local projects.
03Sharing pre-indexed project knowledge with team members to accelerate onboarding and collaborative development.