Open Source Alternatives LogoOpen Source Alternatives
AlternativesBlogAdvertise
Open Source Alternatives LogoOpen Source Alternatives

Stay Updated

Subscribe to our newsletter for the latest news and updates about Alternatives

Open Source Alternatives LogoOpen Source Alternatives

Handpicked Open Source Alternatives to Paid Softwares

Product
  • Search
  • Categories
  • Tag
  • Sign In
Resources
  • Blog
  • Collection
  • Submit
  • Advertise your tool
Company
  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Sitemap
Copyright © 2026 All Rights Reserved.
Home/Categories/AI & Machine Learning/Mengram
icon of Mengram

Mengram

Open source alternative to Pinecone, Weaviate and Qdrant

AI memory for Claude Code and AI agents with auto-save and auto-recall features.

171 starsPythonApache-2.0Active this week
Visit websiteGitHub repo
image of Mengram
Contents
  1. 01What Mengram does
  2. 02Who Mengram is for
  3. 03The problem it solves
  4. 04How it solves it
  5. 05Strengths and trade-offs
  6. 06Tech stack
  7. 07FAQ
  8. 08Similar open-source tools
TL;DR

Mengram is an AI agent memory platform for semantic, episodic, and procedural recall. It replaces stateless agent prompts and one-off RAG notes for teams that need agents to learn from prior interactions, failures, and workflows. Apache-2.0 licensed.Apache-2.0 · Python · 171 stars · Active this week

what it does

What Mengram does#

Mengram is a powerful tool designed to enhance the memory capabilities of AI agents, particularly Claude Code. It allows for persistent memory storage, enabling AI to remember facts, events, and workflows across sessions. With just two commands, users can install and set up Mengram, making it an accessible solution for developers looking to improve their AI's performance.

Key Features:

  • Three Memory Types: Supports semantic, episodic, and procedural memory, allowing for a comprehensive understanding of user interactions.
  • Cognitive Profile: Generates a personalized system prompt based on the user's memory, enhancing the AI's contextual awareness.
  • Integration with Multiple Frameworks: Works seamlessly with Claude Managed Agents, CrewAI, LangChain, and OpenClaw, providing flexibility in deployment.
  • User-Friendly Setup: Quick installation via pip and straightforward setup commands.
  • Free Tier Available: Offers a free plan with limited memory adds and searches, making it suitable for personal projects and indie developers.

Use Cases:

  • Customer Support: AI agents can remember past interactions, improving response accuracy and customer satisfaction.
  • Coding Assistants: Helps developers by recalling previous code snippets and solutions, streamlining the coding process.
  • Multi-Agent Systems: Facilitates shared memory between agents, allowing for collaborative workflows and improved efficiency.

Mengram is ideal for developers, data scientists, and businesses looking to leverage AI memory for enhanced user experiences and operational efficiency.

who it's for

Who Mengram is for#

Agent builders adding durable user memory

Mengram fits teams that need agents to remember preferences, prior events, and procedures across sessions.

Skip if

Your agent only needs short-lived context inside a single chat session.

RAG teams moving beyond document recall

Mengram can help teams model experience and procedures rather than only retrieving chunks from a knowledge base.

Skip if

You only need keyword search or a simple vector database.

the problem

The problem it solves#

Agents forget too much between runs. Teams repeatedly re-explain user preferences, project rules, failures, and procedures because ordinary prompts and basic vector search do not capture experience well.

Useful agent memory needs more than saved snippets. It should represent facts, episodes, and procedures in a way that can improve future actions without turning every session into manual note-taking.

how Mengram solves it

How it solves it#

Semantic, episodic, and procedural memory

Mengram explicitly targets several memory types, giving agent builders more structure than a single vector store.

Agent framework integrations

Repository metadata mentions Python and JavaScript SDKs plus LangChain, CrewAI, OpenClaw, and MCP integrations.

Failure-driven procedure learning

The project description calls out procedures that learn from failures, which fits agents that need to improve workflow execution over time.

strengths · trade-offs

Strengths and trade-offs#

Strengths

  • Deeper than basic RAG memoryMengram's memory model is more specific than storing documents for retrieval, making it relevant for agents that need user, episode, and process memory.
  • Broad agent ecosystem fitThe SDK and framework topics make Mengram easier to evaluate across common agent stacks instead of tying it to one runtime.

Trade-offs

  • -Memory quality needs governanceAgent memory can preserve wrong assumptions or sensitive context if teams do not design retention, deletion, and validation rules carefully.
tech stack · detected from GitHub

What it's built on#

Languages
JavaScriptPythonTypeScript
Frameworks
FastAPI
Databases
PostgreSQL
Cache
Redis
Tooling
esbuild
frequently asked

FAQ#

What kinds of memory does Mengram support?

The repository description names semantic, episodic, and procedural memory for AI agents.

Does Mengram integrate with agent frameworks?

Yes. Repository metadata mentions Python and JavaScript SDKs plus LangChain, CrewAI, OpenClaw, and MCP integrations.

Is Mengram open source?

Yes. The GitHub repository reports Apache-2.0 licensing.

also worth a look

Similar open-source tools#

CocoIndex

CocoIndex

Incremental data framework for AI agents.

9.7KPythonApache-2.0
RAG-Anything

RAG-Anything

Comprehensive multimodal document processing framework

20.1KPythonMIT
Supermemory

Supermemory

Add persistent user memory to any LLM app via API, Apache 2.0

22.7KTypeScriptMIT
Zilliz Cloud

Zilliz Cloud

Fully managed vector database powered by Milvus, on any cloud

50Java
Manticore Search

Manticore Search

MySQL-wire search engine with full-text and real-time indexing

11.8KC++GPL-3.0
Qdrant

Qdrant

Self-hosted vector database for AI similarity search and RAG

31.6KRustApache-2.0

Repository

Stars
171
Forks
25
License
Apache-2.0
Latest
v2.25.3
Last commit
5 days ago
Last verified
May 25, 2026
Repo
alibaizhanov/mengram ↗

Additional details

Language
Python
Open issues
7
Contributors
4
First release
2026

Categories

AI & Machine LearningLLMOps & AI ToolingDeveloper Tools

Tags

AI AgentsLLMLLMOpsKnowledge ManagementRAGDeveloper Tools