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.
GitHub: https://github.com/TSchonleber/brainctl
PyPI: https://pypi.org/project/brainctl/
Happy to answer questions about the architecture.
[link] [comments]

