RepoBrain

•
27
•

Indexes codebase memory to provide AI coding assistants with grounded evidence, trace logic flows, and rank safe files for inspection or editing.

RepoBrain acts as a local-first codebase memory engine designed to enhance the accuracy and reliability of AI coding assistants. It tackles the common problem of AI failures stemming from incorrect context by indexing repositories, extracting symbols and dependencies, and combining lexical and semantic retrieval methods. This allows it to surface grounded evidence, trace complex logic flows across different parts of a codebase, and recommend the safest files for modification, complete with explicit rationales. The tool aims to make AI agents less prone to 'guessing' and more confident in their suggestions, operating as a CLI, a local browser UI, and a stdio MCP-style adapter for popular AI coding tools.

Características Principales

01Hybrid retrieval engine using BM25, local hash embeddings, and reranking for grounded evidence.
02Provides CLI, local browser UI, and stdio MCP-style adapter for integration with AI coding tools.
03Local-first repository indexing, symbol extraction, and dependency edge mapping.
048 GitHub stars
05Ranked suggestions for safe edit targets with explicit rationale.
06Logic flow tracing across routes, services, jobs, and configuration files.

Casos de Uso

01Improving the accuracy and reducing recklessness of AI coding assistants by providing robust context.
02Local codebase analysis, project review, and identification of key risks and logic hotspots.
03Integrating advanced codebase understanding into existing AI-powered development workflows (e.g., Cursor, Codex, Claude Code).