repobrain

From public sources

🧠 RepoBrain (formerly Antigravity) — Give your repo a brain. ChatGPT for your codebase: works in Claude Code, Cursor, Codex, Windsurf & more.

MCP serverCategory: MCP Servers · AI & memory · Git & developer tools · Search & knowledgeOpen sourcedata checked Oct 15, 2026

Overview

  • agents-sdk
  • ai-agent
  • claude-code
  • code-intelligence
  • code-search
  • codebase-qa
  • codex-cli
  • copilot
  • cursor
  • developer-tools

Installation

Commands are shown, never run by the marketplace. Check them against the official documentation.

Compatibility

Unknown means no evidence was found — not that the product is incompatible.
PlatformStatusArchitectureEvidenceConfidence
Claude (web & desktop)Unknown———
Claude CodeUnknown———
CursorUnknown———
VS CodeUnknown———
WindsurfUnknown———
ChatGPTUnknown———

Releases

checked Oct 29, 2026
v0.3.1LatestJul 10, 2026Official source ↗

Files in 0.3.1

This release has no attached files.

Release history

Quality profile

algorithm quality-v1.0 · assessed Oct 15, 2026
Quality Score85
Risk Score0
Confidence 1.00
Quality Score and Risk Score are different measures. A high score does not guarantee safety.

Score components

Maintenance · 2020
last activity 0 days ago
Documentation · 1515
README 12453 chars, description present
Ready to use · 156
install instructions: no; releases: yes
Metadata · 1010
4/4 of description, homepage, license, topics
Releases · 1010
3 release(s), latest 98 days ago
Category confidence · 107
classifier confidence 0.65
Adoption · 108
1327 stars (log-dampened, 10k = max)
License clarity · 55
SPDX MIT
Community · 55
issues enabled, 266 forks

License

MIT
Known licensefrom the repository host

This is the catalog policy status, not legal advice.

Sources

github.com/study8677/repobrainPrimary★ 1,327 starslast activity Oct 15, 2026Primary repository · Confidence 1.00

Reviews

Sign in to write a review

No reviews yet.

Alternatives

README

From study8677/repobrain · license MIT · fetched Oct 29, 2026

RepoBrain

Cross-IDE repository knowledge engine for grounded codebase Q&A.

Formerly known as Antigravity Workspace Template — same project, new name.

English · 中文 · Español

[License] [Python] [CI] [DeepWiki] [NLPM] [Stars]

RepoBrain helps you understand an unfamiliar repository, trace an implementation, and ask questions with source-file references. It keeps project knowledge in .repobrain/, shared across supported IDEs and agents.

Project Philosophy

Cross-IDE repository knowledge engine for grounded codebase Q&A. Same .repobrain/ knowledge layer reads in every IDE; one engine, every host.

An AI Agent's capability ceiling = the quality of context it can read.

rb-refresh deploys a multi-agent cluster that autonomously reads your code — each module gets its own Agent that generates a knowledge doc. rb-ask routes questions to the right Agent, grounded in real code with file paths and line numbers.

Instead of handing Claude Code / Codex a repo-wide grep and making it hunt on its own, give it a ChatGPT for your repository.

Traditional approach:              RepoBrain approach:
  CLAUDE.md = 5000 lines of docs     Claude Code calls ask_project("how does auth work?")
  Agent reads it all, forgets most   Router → ModuleAgent reads actual source, returns exact answer
  Hallucination rate stays high      Grounded in real code, file paths, and git history
ProblemWithout RepoBrainWith RepoBrain
Agent forgets coding styleRepeats the same correctionsReads .repobrain/conventions.md — gets it right the first time
Onboarding a new codebaseAgent guesses at architecturerb-refresh → ModuleAgents self-learn each module
Switching between IDEsDifferent rules everywhereOne .repobrain/ folder — every IDE reads it
Asking "how does X work?"Agent reads random filesask_project MCP → Router routes to the responsible ModuleAgent

Architecture is files + a live Q&A engine, not plugins. Portable across any IDE, any LLM, zero vendor lock-in.

Read the full project philosophy.

Quick Start

Ask an AI assistant that can run commands in your project to install RepoBrain:

Read AI_INSTALL.md and follow it to install RepoBrain in this project.

The guide installs the tools, configures a model backend, then builds the knowledge base and checks an answer. A logged-in headless CLI such as Trae can serve as the backend without an API key; an OpenAI-compatible API is also supported. Requirements: Python 3.10+, Git with at least one commit, and a clean worktree before refresh.

For platform-specific installation or manual configuration, see the installation guide and the quick-start guide. Installing RepoBrain into an existing project does not require rb init or rb-init.

Everyday Use

Run these commands in your project directory after installation and configuration:

rb-refresh
rb-ask "How does authentication work in this project?"

rb-refresh automatically builds the first knowledge base, updates affected groups after committed changes, or continues a matching interrupted task. If knowledge is already current, it skips without calling a model. After a failure, run the same command again to continue.

Use this only when you want to regenerate all knowledge:

rb-refresh --full

rb-ask reads the existing knowledge base and answers with source evidence. It reminds you when committed code is newer; it does not refresh during a question.

Examples of useful questions:

  • Where is this API implemented, and what calls it?
  • How does data move from the UI to the backend?
  • Which modules are affected by changing this function?

How It Works

Source code → rb-refresh → .repobrain/ knowledge → rb-ask → answer with code references

RepoBrain groups related code, generates module knowledge, and routes each question to relevant context. Knowledge lives in your project, so supported IDEs share the same base. Updates are staged separately and become active only when complete; a failed update preserves the existing usable generation.

The first build can take several minutes or longer on large repositories and uses your configured model. Commit or stash local changes before refreshing. IDE rules and new-project scaffolding are optional; see the usage reference.

Support Matrix

UseEnvironmentsHow to connect
Native pluginsClaude Code, Codex CLISetup, refresh, and ask via slash commands.
Compatible IDEsCursor, Windsurf, Gemini CLI, VS Code + Copilot, Cline, Aider, DeepSeek HarnessShared context files, CLI, or an MCP client.
Other agents and scriptsAny host that can run commands or call MCP toolsCLI/JSON output or optional rb-mcp.

Platform-specific commands, JSON output, and MCP registration are documented in the usage reference and INSTALL.md.

Evaluation

A locked comparison on Flask, ripgrep, Vite, and Prometheus used the same source access and model route for RepoBrain and CodeGraph + Trae. The full report includes accuracy, query time, tokens, and cold-build cost. Results apply to that experiment; AI knowledge generation and static graph indexing are different workloads.

Documentation

NLPM Audit Feedback — Improved by NLPM, a natural-language programming linter by xiaolai.


Contributing

Ideas are contributions too! Open an issue to report bugs, suggest features, or propose architecture.

Contributors

Star History

[Star History Chart]

License

MIT License. See LICENSE for details.


📚 Full Documentation →

Built for the AI-native development era

Friendly Link: LINUX DO

Open the repository ↗