# RepoBrain

A cross-IDE knowledge engine that builds a per-repository knowledge base so an AI coding assistant such as Claude Code, Cursor, Codex, or Windsurf can answer questions about a codebase grounded in file paths and line numbers.

RepoBrain, formerly known as Antigravity Workspace Template, builds a `.repobrain/` knowledge layer for a codebase that is read the same way across IDEs and terminal agents including Claude Code, Cursor, Codex, and Windsurf. A refresh command deploys a cluster of agents that each read one module of the repository and write a knowledge document for it, and an ask command routes a question to the right module's agent, returning an answer grounded in real code with file paths and line numbers rather than a raw grep result the calling agent has to interpret itself.

It installs as a Claude Code plugin marketplace package, with the same slash commands available under a shorter name in Codex CLI. A backend can be configured from an already logged-in local CLI with no separate key, or from a pasted API key.

The README reports a benchmark of 95.83% weighted semantic accuracy and faster scored queries than a comparison tool on its main track.

Website: https://deepwiki.com/study8677/antigravity-workspace-template
