{"repo":"codejunkie99/brain","free":true,"listed":false,"github":"https://github.com/codejunkie99/brain","clone":"git clone https://github.com/codejunkie99/brain.git","description":"Git-backed long-term memory for AI coding agents","language":"Rust","stars":77,"topics":["agent-memory","ai-agents","cli","git","mcp","rust","sqlite","tui"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"brain Git-backed long-term memory for AI coding agents. brain gives Claude Code, Cursor, Codex, OpenClaw, Hermes, and MCP-capable tools one shared local memory. Notes are stored as git commits in /.brain , indexed for search, and available through the CLI, TUI, and MCP server. Follow @Av1dlive on X Install Homebrew on macOS installs the prebuilt binary: From source: First run Onboarding creates or keeps /.brain , lets you choose which agents to wire, shows the exact files it will write, then asks before saving. It does not create cloud accounts, install daemons, store API keys, or send memory anywhere. You can type agent names naturally: Scripted setup: Refresh managed wiring later: Use it brain tui opens the terminal dashboard. Agent files When selected during onboarding, brain can write: Agent Files --- --- Claude Code /.claude/mcp servers.json , /.claude/CLAUDE.md Cursor /.cursor/mcp.json , /.cursor/rules/brain.mdc Codex /.codex/config.toml , /.codex/AGENTS.md OpenClaw /.openclaw/workspace/BRAIN.md Hermes /AGENTS.md Existing files are not overwritten by default. Managed prompt blocks use BRAIN:START / BRAIN:END markers so re-runs do not duplicate content. Sync Sync is explicit: Troubleshooting Use doctor --deep when search or log output looks inconsistent. It rebuilds the local SQLite index from git without changing the source-of-truth event log. By default, memory lives in /.brain . Override it with BRAIN DIR or --brain-dir . Commands License Apache-2.0. See LICENSE.","default_branch":null,"files":null,"tree":[],"storefront":"/r/codejunkie99","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/codejunkie99/brain/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}