study8677/antigravity-workspace-template
🧠 RepoBrain (formerly Antigravity) — Give your repo a brain. ChatGPT for your codebase: works in Claude Code, Cursor, Codex, Windsurf & more.
What it solves
RepoBrain 은 크로스 IDE 저장소 지식 엔진을 제공하여 AI 코딩 에이전트가 환상을 일으키거나 프로젝트 고유의 컨벤션을 잊어버리는 일을 방지합니다. 에이전트가 수천 줄의 코드나 문서를 직접 grep 해야 하는 필요성을 없애며, 이는 "X는 어떻게 동작하나요?" 라는 질문에 대한 높은 환상 비율과 느린 응답 시간을 초래하곤 했습니다.
How it works
RepoBrain 은 멀티 에이전트 클러스터를 사용해 코드베이스를 자동으로 분석합니다. rb-refresh 사이클 동안 파일을 import 그래프와 디렉터리 구조에 따라 그룹화하고, 각 모듈에 전용 에이전트를 할당해 포괄적인 Markdown 지식 문서를 생성합니다. 이후 Map Agent 가 이 문서들을 라우팅 맵에 인덱싱합니다. 사용자가 rb-ask 로 질문하면 Router 가 관련 모듈을 식별하고 해당 에이전트 문서를 합성기에 전달해 실제 소스 코드(파일 경로와 라인 번호 포함)를 근거로 한 답변을 생성합니다.
Who it’s for
Claude Code, Cursor, Windsurf, Codex CLI, VS Code + Copilot, Cline, Aider 등 AI 기반 IDE 및 CLI 도구를 사용하는 개발자들이 보다 정확하고 근거 있는 코드베이스 Q&A를 원할 때 적합합니다.
Highlights
- Cross-IDE Compatibility: Uses a shared
.repobrain/knowledge layer that works across different AI tools and IDEs. - Language Agnostic: Analyzes code using LLMs rather than AST parsing or regex, making it compatible with any programming language.
- Robotic Knowledge Generation: Automatically generates project-level documentation like
conventions.mdandstructure.md. - MCP Server Support: Can be registered as a Model Context Protocol (MCP) server, allowing agents like Claude Code to call
ask_projectas a live tool. - Git Integration: Includes a dedicated GitAgent to analyze git history for insights into why changes were made.