-
Notifications
You must be signed in to change notification settings - Fork 16
Plugin README
Rick Hightower edited this page Feb 1, 2026
·
1 revision
A Claude Code plugin for document search with hybrid BM25/semantic retrieval. Index your documentation and source code, then search using keyword matching, semantic similarity, or combined hybrid mode.
- Hybrid Search: Combines BM25 keyword matching with semantic vector search for best results
- Three Search Modes: BM25 (fast keywords), Vector (semantic), Hybrid (combined)
- Multi-Instance: Run separate servers for different projects with automatic port allocation
- Code Search: AST-aware indexing for Python, TypeScript, JavaScript, Java, Go, Rust, C, C++
# From GitHub
claude plugins install github:SpillwaveSolutions/agent-brain-pluginpip install agent-brain-rag agent-brain-cliexport OPENAI_API_KEY="sk-proj-..."agent-brain init
agent-brain start --daemon
agent-brain index /path/to/docsOnce installed, use these slash commands in Claude Code:
/agent-brain-search "authentication flow" # Hybrid search (recommended)
/agent-brain-semantic "how does auth work" # Conceptual search
/agent-brain-keyword "AuthenticationError" # Exact term search
| Command | Description |
|---|---|
/agent-brain-search |
Hybrid search (BM25 + semantic) |
/agent-brain-semantic |
Semantic vector search |
/agent-brain-keyword |
BM25 keyword search |
| Command | Description |
|---|---|
/agent-brain-install |
Install pip packages |
/agent-brain-setup |
Complete guided setup |
/agent-brain-config |
Configure API keys |
/agent-brain-init |
Initialize project |
/agent-brain-verify |
Verify installation |
| Command | Description |
|---|---|
/agent-brain-start |
Start server (auto-port) |
/agent-brain-stop |
Stop server |
/agent-brain-status |
Show server health |
/agent-brain-list |
List all instances |
| Command | Description |
|---|---|
/agent-brain-index |
Index documents |
/agent-brain-reset |
Clear all indexed content |
| Command | Description |
|---|---|
/agent-brain-help |
Show all commands |
| Mode | Speed | Best For | Example Query |
|---|---|---|---|
hybrid |
Slower | General queries | "OAuth implementation guide" |
bm25 |
Fast | Technical terms, function names | "AuthenticationError" |
vector |
Slower | Concepts, explanations | "how does authentication work" |
- Python 3.10+
- OpenAI API key (for vector/hybrid search)
- Optional: Anthropic API key (for code summarization)
This plugin includes two skills:
- using-agent-brain: Search mode guidance and API reference
- agent-brain-setup: Installation, configuration, and troubleshooting
MIT
- Issues: https://github.com/SpillwaveSolutions/agent-brain-plugin/issues
- Documentation: See
skills/folder for detailed guides
- Design-Architecture-Overview
- Design-Query-Architecture
- Design-Storage-Architecture
- Design-Class-Diagrams
- GraphRAG-Guide
- Agent-Skill-Hybrid-Search-Guide
- Agent-Skill-Graph-Search-Guide
- Agent-Skill-Vector-Search-Guide
- Agent-Skill-BM25-Search-Guide
Search
Server
Setup
- Pluggable-Providers-Spec
- GraphRAG-Integration-Spec
- Agent-Brain-Plugin-Spec
- Multi-Instance-Architecture-Spec