MCPFast / Tools / ezBuilder/code-brain: Persistent memory and code search for AI agents
A local-first open-source tool for AI coding agents, featuring persistent memory, BM25 code search, and hook guardrails.
View on GitHub→ezBuilder/code-brain is a local-first, open-source tool designed to enhance the capabilities of AI coding agents. It provides essential features for managing agent state and improving code comprehension, making it a valuable asset for developers building and deploying AI-powered coding assistants. This tool focuses on practical, on-device functionality, ensuring data privacy and control for users.
code-brain addresses two critical needs for AI coding agents: persistent memory and efficient code retrieval. It allows agents to retain information across sessions, preventing the loss of context and learned behaviors. Furthermore, it integrates a powerful BM25 code search engine, enabling agents to quickly find relevant code snippets from a local repository. This combination significantly boosts agent efficiency and accuracy in code-related tasks.
This tool is specifically built for AI developers and engineers who are creating or integrating AI agents for coding assistance, code generation, refactoring, or debugging. It is ideal for those who require a reliable and private solution for managing agent memory and accessing codebases efficiently. Developers working on projects where data security and local processing are paramount will find ezBuilder/code-brain particularly beneficial.