head to head · open source
Mem0 vs PocketFlow
Mem0 has 68,364 GitHub stars, 8,111 forks, 742 open issues and last shipped 6 days ago. PocketFlow has 11,301 stars, 1,211 forks, 75 open issues and last shipped 3 months ago. Mem0 leads on adoption by 505% (68,364 vs 11,301 stars). Mem0 is written in Python under Apache-2.0; PocketFlow is written in Python under MIT. Mem0 has attracted 12% as many forks as stars, PocketFlow 11%. Mem0 was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (agents), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| Mem0 | PocketFlow | |
|---|---|---|
| GitHub stars | ★ 68K | ★ 11K |
| License | Apache-2.0 | MIT |
| Written in | Python | Python |
| Last push | 2026-10-30 | 2026-07-26 |
| Forks | ⑂ 8.1K | ⑂ 1.2K |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick Mem0 if
- You weight community size — 68K stars and counting
- You want the Apache-2.0 license terms
- Your stack matches Python
- You value the larger contributor base for long-term maintenance
pick PocketFlow if
- You want the PocketFlow feature set and don't need the biggest community
- You prefer the MIT license terms
- Your stack matches Python
- You evaluated both and PocketFlow fits your workflow better
About Mem0
Learn more · Join Discord · Demo 📄 Benchmarking Mem0's token efficient memory algorithm → New Memory Algorithm (April 2026) All benchmarks run on the same production representative model stack. Single pass retrieval (one call, no agentic loops) at a top 200 retrieval budget. Scores reflect Mem0's managed platform, which includes proprietary optimizations not available in the open source SDK; open source users should expect directionally similar gains but not identical numbers. What changed: Single pass ADD only extraction one LLM call, no UPDATE/DELETE. Memories accumulate; nothing is overwritten. Agent…
About PocketFlow
English 中文 Español 日本語 Deutsch Русский Português Français 한국어 Pocket Flow is a 100 line minimalist LLM framework Lightweight : Just 100 lines. Zero bloat, zero dependencies, zero vendor lock in. Expressive : Everything you love—(Multi )Agents, Workflow, RAG, and more. Agentic Coding : Let AI Agents (e.g., Cursor AI) build Agents—10x productivity boost! Get started with Pocket Flow: To install, or just copy the source code (only 100 lines). To learn more, check out the video tutorial and documentation 🎉 Join our Discord to connect with other developers building with Pocket Flow! 🎉 Pocket Flow now has…
read the full PocketFlow overview →
More in AI & Machine Learning
Related comparisons
More AI Development Platforms projects
Compare either of these against the rest of the AI Development Platforms field.
Frequently asked questions
Is Mem0 or PocketFlow more popular?
Mem0 has 68,364 GitHub stars and PocketFlow has 11,301. Mem0 has the larger community by that measure.
Are Mem0 and PocketFlow free?
Both are open source. Mem0 is licensed under Apache-2.0 and PocketFlow under MIT. Neither carries a licence fee.
What is the difference between Mem0 and PocketFlow?
Mem0 is written in Python and PocketFlow in Python. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, Mem0 or PocketFlow?
Choose Mem0 if you want the larger community (68,364 stars) or its Apache-2.0 licence terms. Choose PocketFlow if its feature set, stack or MIT licence fits better. Both are self-hostable.