brainctl

TSchonleber/brainctl
★ 57 stars Python 🤖 AI/LLM Updated 8d ago
A cognitive memory system for AI agents. Single SQLite file. MCP server included.
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "brainctl": {
      "command": "uvx",
      "args": [
        "brainctl"
      ]
    }
  }
}

Or install with pip: pip install brainctl

README Excerpt

**Forgetful agents, fixed by a SQLite file.** One `brain.db` gives your agent durable memory across sessions — facts learned, decisions made, entities tracked, and state handed off. No server. No API keys. No LLM calls required. ```python from agentmemory import Brain brain = Brain(agent_id="my-agent")

Tools (3)

BRAINCTL_TOPHEAVY_ROLLBACKcmd_searchuser