---
title: "mengram vs pmb"
type: "comparison"
canonical_url: "https://www.graphcanon.com/compare/alibaizhanov-mengram-vs-oleksiijko-pmb"
tools: ["alibaizhanov-mengram", "oleksiijko-pmb"]
---

# mengram vs pmb

*GraphCanon updated Sep 20, 2026*

## Verdict

Pick mengram if mengram provides human-like memory capabilities for AI agents, including semantic, episodic, and procedural memory, enabling learning from experiences and failures. It offers free API access, Python and JS SDKs, and is a; pick pmb if pmb - Local-first persistent memory for AI coding agents.

[mengram](https://mengram.io) reports 196 GitHub stars, 34 forks, and 25 open issues, last pushed Sep 16, 2026. [pmb](https://pypi.org/project/pmb-ai/) has 276 stars, 26 forks, and 4 open issues, last pushed Aug 24, 2026. Figures are from public GitHub metadata via [mengram's repository](https://github.com/alibaizhanov/mengram) and [pmb's repository](https://github.com/oleksiijko/pmb).

| | [mengram](/tools/alibaizhanov-mengram.md) | [pmb](/tools/oleksiijko-pmb.md) |
| --- | --- | --- |
| Tagline | Human-like memory for AI agents | Local-first persistent memory for AI coding agents with offline and multilingual capabilities. |
| Stars | 196 | 276 |
| Forks | 34 | 26 |
| Open issues | 25 | 4 |
| Language | Python | Python |
| Adopt for | mengram provides human-like memory capabilities for AI agents, including semantic, episodic, and procedural memory, enabling learning from experiences and failures. It offers free API access, Python and JS SDKs, and is a | pmb - Local-first persistent memory for AI coding agents |
| Persona | - | - |
| Runtime | - | - |
| License | Apache-2.0 | Apache-2.0 |
| Categories | AI Agents, Data & Retrieval | AI Agents, Data & Retrieval |

## Trust and health

_Sourced signals - not a safety guarantee. No winner column._

| | [mengram](/tools/alibaizhanov-mengram.md) | [pmb](/tools/oleksiijko-pmb.md) |
| --- | --- | --- |
| Maintenance | Very active (96%) | Active (82%) |
| Days since push | 1d | 27d |
| Open issues (now) | 25 | 4 |
| Stars delta | +12 (30d) | -3 (30d) |
| Open issues delta | -2 (30d) | -1 (30d) |
| Full report | [trust report](/tools/alibaizhanov-mengram/trust.md) | [trust report](/tools/oleksiijko-pmb/trust.md) |

## Decision facts: mengram

- **Adopt for:** mengram provides human-like memory capabilities for AI agents, including semantic, episodic, and procedural memory, enabling learning from experiences and failures. It offers free API access, Python and JS SDKs, and is a

## Decision facts: pmb

- **Requirements:** No explicit requirements listed in repository data, but likely Python and compatible SQL database setup.
- **Adopt for:** pmb - Local-first persistent memory for AI coding agents
- **License detail:** Apache-2.0

## Choose when

### Choose mengram if…

- Tags unique to mengram: agent-memory, claude-desktop, cognitive-architecture, cohere.
- mengram ships Docker support for self-hosted deployment.
- When you need an AI agent that can learn from its experiences and failures, leveraging semantic, episodic, and procedural memory capabilities.

### Choose pmb if…

- Requirements: No explicit requirements listed in repository data, but likely Python and compatible SQL database setup..
- Tags unique to pmb: bm25, claude-code, codex, cursor.
- - When you need a solution that integrates directly with popular AI coding agents such as Claude Code, Cursor, and Codex.

## When NOT to use mengram

- If your project does not require the specific memory capabilities of semantic, episodic, and procedural memory, mengram might offer more features than necessary.
- If you are looking for a tool that does not require the setup of an MCP server, mengram might not be the best fit as it involves configuring this server.
- For projects that do not need integration with LangChain, CrewAI, or OpenClaw, the specific integrations provided by mengram may not be beneficial.
- If your AI agent development does not benefit from the use of pgvector, mengram's recent debugging efforts in this area may not be relevant to your needs.

## When NOT to use pmb

- - In scenarios where real-time data retrieval is essential since pmb focuses on local storage rather than cloud-based synchronization.
- - If your project requires heavy reliance on online services or if offline functionality doesn't provide a necessary advantage.
- - When the specific use case does not benefit from having multilingual capabilities for AI coding tasks.

## Common questions

### What is the difference between mengram and pmb?

mengram: Human-like memory for AI agents. pmb: Local-first persistent memory for AI coding agents with offline and multilingual capabilities.. See the comparison table for live GitHub stats and shared categories.

### When should I choose mengram over pmb?

Choose mengram over pmb when Tags unique to mengram: agent-memory, claude-desktop, cognitive-architecture, cohere; mengram ships Docker support for self-hosted deployment; When you need an AI agent that can learn from its experiences and failures, leveraging semantic, episodic, and procedural memory capabilities.

### When should I choose pmb over mengram?

Choose pmb over mengram when Requirements: No explicit requirements listed in repository data, but likely Python and compatible SQL database setup.; Tags unique to pmb: bm25, claude-code, codex, cursor; - When you need a solution that integrates directly with popular AI coding agents such as Claude Code, Cursor, and Codex.

### When should I avoid mengram?

If your project does not require the specific memory capabilities of semantic, episodic, and procedural memory, mengram might offer more features than necessary. If you are looking for a tool that does not require the setup of an MCP server, mengram might not be the best fit as it involves configuring this server. For projects that do not need integration with LangChain, CrewAI, or OpenClaw, the specific integrations provided by mengram may not be beneficial. If your AI agent development does not benefit from the use of pgvector, mengram's recent debugging efforts in this area may not be relevant to your needs.

### When should I avoid pmb?

- In scenarios where real-time data retrieval is essential since pmb focuses on local storage rather than cloud-based synchronization. - If your project requires heavy reliance on online services or if offline functionality doesn't provide a necessary advantage. - When the specific use case does not benefit from having multilingual capabilities for AI coding tasks.

### Is mengram or pmb more popular on GitHub?

pmb has more GitHub stars (276 vs 196). Stars measure visibility, not whether either tool fits your constraints.

### Are mengram and pmb open source?

Yes - both are open-source projects on GitHub (mengram: Apache-2.0, pmb: Apache-2.0).

### Where can I find alternatives to mengram or pmb?

GraphCanon lists graph-backed alternatives at [mengram alternatives](/tools/alibaizhanov-mengram/alternatives) and [pmb alternatives](/tools/oleksiijko-pmb/alternatives) ([mengram markdown twin](/tools/alibaizhanov-mengram/alternatives.md), [pmb markdown twin](/tools/oleksiijko-pmb/alternatives.md)), ranked by typed relationship edges rather than popularity votes.

### Is there a machine-readable version of this comparison?

Yes. The markdown twin at [this comparison](/compare/alibaizhanov-mengram-vs-oleksiijko-pmb.md) mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.

### Which is better maintained, mengram or pmb?

mengram: Very active. pmb: Active. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.

### Where are the full trust reports for mengram and pmb?

GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: [mengram trust report](/tools/alibaizhanov-mengram/trust); [pmb trust report](/tools/oleksiijko-pmb/trust).

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/graph?tool=alibaizhanov-mengram`](/api/graphcanon/graph?tool=alibaizhanov-mengram)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
