
Mengram
Mengram is an open-source AI memory API that uniquely implements three types of human-like memory - semantic, episodic, and procedural - allowing AI systems to remember facts, events, and learned workflows through a single API call.
https://mengram.io/?ref=producthunt

Product Information
Updated:Feb 28, 2026
What is Mengram
Mengram is an innovative AI memory solution that aims to revolutionize how artificial intelligence systems store and process information. Unlike traditional AI memory tools that only store facts, Mengram mimics human brain architecture by implementing three distinct memory types: semantic (for facts and preferences), episodic (for events and decisions), and procedural (for learned workflows). It's designed to work with various AI platforms including ChatGPT, Claude, Cursor, Perplexity, and integrates seamlessly with frameworks like LangChain, CrewAI, and OpenClaw.
Key Features of Mengram
Mengram is an AI memory API that mimics human-like memory architecture with three types of memory: semantic (facts), episodic (events), and procedural (workflows). It offers instant personalization through Cognitive Profiles, unified search across all memory types, and seamless integration with various AI platforms like ChatGPT, Claude, and LangChain. The system enables AI to learn from experiences, remember user interactions, and optimize workflows over time.
Three-Type Memory Architecture: Implements semantic memory for facts and preferences, episodic memory for events and discussions, and procedural memory for workflows and processes, mimicking human brain functionality
Cognitive Profile Generation: Creates instant system prompts from all memory types with a single API call, enabling zero-effort personalization across AI interactions
Workflow Learning & Optimization: Automatically tracks successful and failed procedures, learns from experiences, and evolves workflows based on success patterns
Unified Search Capability: Combines vector search, BM25, graph expansion, and LLM re-ranking to search across all memory types simultaneously
Use Cases of Mengram
AI Development & Integration: Developers can enhance their AI applications with persistent memory and personalization capabilities across multiple platforms
Team Knowledge Management: Teams can share and maintain collective knowledge with shared context and automated insights across all team members
Automated Customer Support: Support agents can leverage learned workflows and past interactions to provide more consistent and personalized customer service
Process Optimization: Organizations can automatically track and improve their workflows based on success/failure patterns and procedural learning
Pros
Comprehensive memory system with three distinct types
Free and open-source alternative to paid solutions
Wide integration support across multiple AI platforms and frameworks
Cons
Requires technical knowledge for implementation
Relatively new product with potential stability concerns
How to Use Mengram
Install Mengram: Use pip to install the package: 'pip install mengram-ai'
Get API Key: Sign up at mengram.io to get a free API key (no credit card required)
Basic Integration: Import and initialize the client with: 'from cloud.client import CloudMemory; m = CloudMemory(api_key="your-api-key")'
Add Memories: Use m.add() to store conversations. Mengram automatically extracts semantic (facts), episodic (events), and procedural (workflows) memories
Search Memories: Use m.search_all() to search across all memory types, or use specific methods like m.episodes() for events and m.procedures() for workflows
Get Cognitive Profile: Use m.get_profile() to get a ready-to-use system prompt containing relevant context from all memory types
LangChain Integration: Install with 'pip install mengram-ai[langchain]' and use MengramMemory as a drop-in replacement for ConversationBufferMemory
CrewAI Integration: Install with 'pip install mengram-ai[crewai]' and use create_mengram_tools() to give agents persistent memory capabilities
Claude Desktop Integration: Find mengram path with 'which mengram', then add it to Claude Desktop config in Settings → Developer → Edit Config with appropriate MCP server settings
Team Sharing: Use invite codes to share memory context across team members' AI assistants
Mengram FAQs
Mengram is an open-source AI memory API that implements human-like memory architecture with three types of memory: semantic (facts), episodic (events), and procedural (workflows). It can be integrated with various AI tools like ChatGPT, Claude, Cursor, and Perplexity.











