SparkofSpike/Brain4Agent
Library
Can I trust it?
Worth a closer look before you use it.
Warnings Check
Very new: it was created 9 days ago. Wait a little before installing it.
Stars from real accounts No data
We haven't checked its stars for fakes yet.
Active OK
Last change 3 days ago.
Licence OK
Apache-2.0: you can use it for free, also in a commercial product. Keep the licence notice.
Quick checks from public data. They help, but they are no guarantee.
What it is
Long-term memory module for agents that stores conversation turns in a local SQLite file and retrieves them with BM25 over CJK bigrams, optionally enhanced by jieba. The core makes no model calls and reports which query terms the corpus or a session lacks. Offers a CLI, a Python…
Who it's for
Developers building CJK-language agents who need local, model-free long-term memory for coding or chat assistants
How to use it
Install
pip install "Brain4Agent[precise]"From its README. Check it there before running it.
Ask your AI to set it up
Paste this into Claude, ChatGPT or your coding assistant.
Help me install and set up SparkofSpike/Brain4Agent in my project. Follow its README: https://github.com/SparkofSpike/Brain4Agent. Explain each step and check it is safe before running anything.
Star curve
Alternatives
Similar projects named in its profile. Each link searches the directory.
Get alerts for repos like this
We'll email you when something in AI agents starts rising. Free, once a week, only what matches.
What arrives: one email on Mondays with the repos that match, never more. See last week's. Privacy
For maintainers
Add this badge to your README. It shows the repo's place on the radar, updates every hour and links back to this page.
[](https://repoalerts.com/repo/SparkofSpike/Brain4Agent?ref=badge)Similar repos
- tigerless-labs/agent-memory
A long-term memory runtime for AI agents that stores memories as plain Markdown files, indexes them locally with BM25 ranked retrieval, and runs a sleep-time consolidation pass. Claude Code and Codex
- Riley-Coyote/mnemos-mcp
An MCP server that gives an AI agent a persistent memory it writes in its own words, stored in a local SQLite file. Memories fade unless used, a scheduled process consolidates them, and the agent wake
- spearsheep/anima-brain
Python SDK and MCP integrations giving AI companion agents local-first persistent memory, character identity and emotional continuity. Stores data in SQLite with FTS5 search, works with any Chat Compl
- Protocol-zero-0/compound-memory
Background tool that distills Claude Code, Codex and DeepSeek Harness session logs into a persistent memory of user preferences, decisions and open threads, and injects a snapshot at the start of new
- skingko/rna_dev
Desktop app and CLI for running AI agents on long-lived projects. Agents keep context across sessions, work in the background, and report summaries. Built-in local memory, six web search services, MCP
- gh9ko8y/graphmemory
A bitemporal memory service for AI agents that stores facts with valid-time and transaction-time axes, decays importance over time via a six-variable model, and retrieves memories with time-graded rec