persistent memory system for AI agents — single SQLite file, no external server, no API keys. free and opensource - BrainCTL
r/artificial
•
Generative AI
AI Tools
Every agent I build forgets everything between sessions. I got tired of it and built brainctl. pip install brainctl, then: from agentmemory import Brain brain = Brain(agent_id="my-agent") context = brain.orient # picks up where last session left off One SQLite file. FTS5 search. Knowledge graph. Session handoffs. Write gate that rejects redundant memories. MCP server with 192 tools for Claude Desktop/VS Code. LangChain and CrewAI adapters included. No outbound server, no API keys, no LLM calls for any memory operation. MIT licensed. Best part is I dont want any of your money.