LycheeMem
LycheeMem is a compact memory framework for LLM agents. It starts with efficient conversational memory, through structured organisation, lightweight consolidation and adaptive retrieval, and aims to extend toward action-aware memory. The README says memory is split into three stores: Working Memory (session turns, summaries and token budget management), Semantic Memory (a typed action store) and Procedural Memory (skills).
Semantic memory is built from typed, action-annotated records, with 7 MemoryRecord types including `tool_affordance` for what a tool can do and when to use it. The storage layer is SQLite with FTS5 full-text search plus a LanceDB vector index; a March 2026 news item says this "compact" design replaced a Neo4j dependency. Before retrieval, an action-aware planner turns the query into a `SearchPlan` with semantic queries, pragmatic queries about actions and constraints, tool hints and an optional time filter, and results are combined across channels including a temporal one. The README also mentions record fusion and usage statistics intended for RL.
You can use it through a web demo, an API, an MCP server or an OpenClaw plugin. Setup needs Python 3.11+ and an LLM API key (OpenAI, Gemini or anything litellm supports): `pip install -e ".[dev]"`, then configure `.env` with the model, API key and an embedding model. The licence is Apache 2.0, the project went open source on 2026-03-23, and the last push was 2026-08-06. This review is based on the README and repository data; we have not run it ourselves.
Features
Why choose it
Trade-offs
Who it fits
- You are building your own agent and want a memory framework with working, semantic and procedural stores.
- You prefer light storage: SQLite with FTS5 plus a LanceDB vector index, with no Neo4j.
- You want typed, action-aware records, including a tool_affordance type for what a tool can do and when to use it.
- You want something stable today: the project has been open source only since March 2026, so APIs may change.
- You want zero extra model cost: memory extraction and retrieval use LLM and embedding calls.
- You expect the action-aware and reinforcement-learning parts to be finished: the README describes them as a direction.
How it differs
MCP Memory Service plugs into the MCP clients you already use. LycheeMem is a framework to build memory into your own agent, with an MCP server as one of several ways in.
Compatibility
Quick start
Use cases
Alternatives
Featured in these lists
Comments
No comments yet. Be the first!