Ranked comparison · 2026-11-30

Which are the best open-source Agent memory & context in Python?

As of 2026-11-30, the MeshKore directory lists 224 open-source Agent memory & context written in Python that have a documented README, out of every project we index in agent frameworks & infrastructure.

Together they have 131,342 GitHub stars. The most starred are mem0, OpenViking and agent-memory.

58% had activity in the last six months, 56% declare an open-source licence, and 21% mention the Model Context Protocol (MCP).

The top 15, by GitHub stars

#ProjectStarsLicenceMCPLast activity
1mem0 · mem0ai

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

69,576——2026-11-27
2OpenViking · volcengine

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

42,965AGPL-3.0—2026-11-28
3agent-memory · tigerless-labs

Long-term memory runtime for AI agents — plain Markdown as the source of truth, local ranked retrieval, and an independent sleep-time Manage layer. Claude Code and Codex share one store. No API key.

3,966MITyes2026-11-12
4trustgraph · trustgraph-ai

The open-source ontology runtime for AI agents.

3,368Apache-2.0yes2026-11-27
5Awesome-AI-Memory · IAAR-Shanghai

Awesome AI Memory | LLM Memory | A curated knowledge base on AI memory for LLMs and agents, covering long-term memory, reasoning, retrieval, and memory-native system design. Awesome-AI-Memory 是一个 集中式、持续更新的 AI 记忆知识库,系统性整

1,329Apache-2.0—2026-11-28
6MemAgent · BytedTsinghua-SIA

A MemAgent framework that can be extrapolated to 3.5M, along with a training framework for RL training of any agent workflow.

1,120Apache-2.0—2026-05-12
7Teenage-AGI · seanpixel906——2023-05-03
8DiffMem · Growth-Kinetics

Git Based Memory Storage for Conversational AI Agent

894——2026-07-02
9Interpreted-Context-Methdology · RinDig

Folder structure as agent architecture. ICM replaces framework-level orchestration with filesystem structure.

800MIT—2026-06-01
10Compartment · MaxFreedomPollard

Encrypted, fully offline agentic memory. One click install, GUI w/ memory map, all OS and agents. Superior memory creation, storage and retrieval.

473——2026-11-27
11alma · zksha

ALMA (Automated meta-Learning of Memory designs for Agentic systems) is a framework that meta-learns memory designs to replace human-engineered designs for agentic system.

308Apache-2.0—2026-10-12
12superlocalmemory · qualixar

Persistent local memory for AI agents. MCP server and plugins for Claude Code, Codex, Cursor, VS Code Copilot, Antigravity and more: your agents remember across sessions, on your machine. arXiv:2608.08253

293AGPL-3.0yes2026-11-21
13Recuris · Gen-Verse

Recursive Experiential–Working Memory Evolution for Long-Horizon Agent Harnesses

279Apache-2.0—2026-08-30
14Memora · microsoft

Official code for the paper "Memora: A Harmonic Memory Representation Balancing Abstraction and Specificity"

268MIT—2026-06-16
15KnowAgent · zjunlp

[NAACL 2025] KnowAgent: Knowledge-Augmented Planning for LLM-Based Agents

266Apache-2.0—2025-01-29

See all 224 in Agent memory & context.

How this ranking works

We index public agent and AI projects from GitHub and package registries, classify each into a category, and summarise its README. This page keeps only Agent memory & context whose main language is Python and whose README we could summarise, then orders them by GitHub stars. Stars measure popularity, not quality, so the table also shows the licence, whether the project mentions MCP, and the date of its last activity. Figures are recomputed daily; the date at the top is when this snapshot was taken.

Questions

What is the most popular open-source Agent memory & context project in Python?

mem0, with 69,576 GitHub stars as of 2026-11-30.

How many Agent memory & context in Python does MeshKore list?

224 with a documented README, as of 2026-11-30. Projects without a README description are left out of this ranking.

Which of them have a permissive licence?

Among the top ranked: OpenViking (AGPL-3.0), agent-memory (MIT), trustgraph (Apache-2.0). Check the licence on each project page before using it commercially.

How is this list ranked?

By GitHub stars, among projects in this category and language that have a README we could summarise. Stars measure popularity, not quality: the table also shows the licence and the last activity date so you can weigh both.

Related comparisons