AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
Memory & Context/
LycheeMem
LycheeMem logo

LycheeMem

Active·★ 1.1k·Apache-2.0·Updated 2026-08-06

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.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool.

#agent-memory#langgraph#llm-memory#lychee#lycheemem#mcp#mcp-server#mcp-servers
$ Install
$ git clone https://github.com/LycheeMem/LycheeMem.git && cd LycheeMem && pip install -e ".[dev]"
↗ Visit site★ GitHub
01

Features

01Efficient conversational memory with dual-threshold token budget
02Structured semantic memory with 7 typed MemoryRecords and Record Fusion
03Action-aware search planning and multi-dimensional relevance scoring
04Procedural memory with skill store and HyDE retrieval
05Modular pipeline with synchronous stages and asynchronous background consolidation
02

Why choose it

+Three memory stores (working, semantic, procedural) with typed, action-aware records
+Runs on SQLite and LanceDB, with no Neo4j needed
+Use it by web demo, API, MCP server or OpenClaw plugin
+Works with OpenAI, Gemini or any litellm provider; Apache 2.0
03

Trade-offs

!A young project, open source only since March 2026, so APIs may still change
!Memory extraction and retrieval use LLM and embedding calls, which add cost
!Stored memories can contain sensitive conversation content, so decide where the SQLite and vector files live
!Action-aware and RL-oriented parts are described as direction of travel, so check what is implemented
04

Who it fits

Pick it if
  • 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.
Look elsewhere if
  • 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.
05

How it differs

mcp-memory-service logovs mcp-memory-service★ 2.2k

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.

Full comparison →
06

Compatibility

Python
Python 3.11+
Verified via docs
OpenClaw
OpenClaw Plugin
Verified via docs
MCP
MCP Protocol
Verified via docs
07

Quick start

1
$ git clone https://github.com/LycheeMem/LycheeMem.git
2
$ cd LycheeMem
3
$ pip install -e ".[dev]"
08

Use cases

↳Persistent long-term memory for LLM-based agents
↳Context-aware chatbots with adaptive memory retrieval
↳Automated memory consolidation and skill extraction from conversations
09

Alternatives

⚡Top VS:
VSmcp-memory-service★2.2k→VSopen-ontologies★3.0k→VSogham-mcp★117→VSmcp-memory-keeper★137→
mcp-memory-service logo
mcp-memory-service★ 2.2k
Stop re-explaining your project to AI every session. Automatic context memory for Claude, VS Code, Cursor, and 13+ AI tools.
VSCompare→
AgentRecall-MCP logo
AgentRecall-MCP★ 375
Persistent, correction-driven memory for AI agents. Cross-session, cross-platform (Claude Code, Codex, Gemini — any MCP client). Learns from mistakes, compresses context to save tokens, consolidates knowledge overnight. npm: agent-recall-mcp
AgentRecall logo
AgentRecall★ 375
AI Session Memory with Think-Execute-Reflect Quality Loops — give your agent a brain that survives every session. Built on the Intelligent Distance principle.
open-ontologies logo
open-ontologies★ 3.0k
AI-native ontology engine: a Rust MCP server with tools for building, validating, querying, and reasoning over RDF/OWL ontologies. In-memory Oxigraph triple store, native OWL2-DL tableaux reasoner, SHACL validation, SPARQL, versioning. Single binary, no JVM.
VSCompare→
YourMemory logo
YourMemory★ 275
Agentic AI memory with Ebbinghaus forgetting curve decay. +16pp better recall than Mem0 on LoCoMo.
ogham-mcp logo
ogham-mcp★ 117
Shared memory MCP server — persistent, searchable, cross-client Claude, Opencode
VSCompare→
mcp-memory-keeper logo
mcp-memory-keeper★ 137
MCP server for persistent context management in AI coding assistants
VSCompare→
multi-agent-memory logo
multi-agent-memory★ 64
A Multi Agent Memory MCP That Connect Agents Across Systems and Machines
VSCompare→
See all alternatives →

Featured in these lists

  • Best Memory Tools for AI Agents and Coding Assistants

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Who it fits05How it differs06Compatibility07Quick start08Use cases09Alternatives
LycheeMem /
LycheeMem
↗

Apache-2.0 memory framework for LLM agents with working, semantic and procedural stores on SQLite and LanceDB, plus MCP and an OpenClaw plugin

1.1kApache-2.0
Last commit3mo ago
StatusActive
CategoryMemory & Context
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.