Agent Brain Search

•
47
•

Enables advanced RAG-based document and codebase searching using semantic, keyword, hybrid, and knowledge graph retrieval modes.

Agent Brain is a specialized skill for Claude Code that provides a private, powerful Retrieval-Augmented Generation (RAG) system for your projects. It allows developers to query documentation and codebases using five distinct search modes—BM25 for keywords, Vector for semantic concepts, Hybrid for balanced results, Graph for relationship-aware dependency tracing, and Multi for comprehensive fusion. By indexing local files and supporting various embedding providers like OpenAI and Ollama, it transforms static documentation into an interactive, searchable knowledge base that helps trace function calls, find imports, and understand complex code relationships.

Key Features

0147 GitHub stars
02Multi-instance architecture with automatic server discovery and lifecycle management
03Deep codebase exploration capabilities for finding imports and inheritance chains
04Graph-based relationship discovery for tracing code dependencies and function callers
05Five distinct search modes including BM25, Semantic Vector, Hybrid, and GraphRAG
06Pluggable provider support for embeddings (OpenAI, Cohere, Ollama) and LLMs

Use Cases

01Searching technical documentation for specific error codes or implementation patterns
02Querying a local private knowledge base for conceptual explanations of project architecture
03Mapping complex code relationships to understand what functions call a specific service