PLUR — Shared Memory for AI Agents
Local-first, zero-cost shared memory for AI agents across MCP tools: corrections, preferences and conventions persist as readable YAML engrams — Haiku + PLUR beats Opus without it at roughly 10× less cost.
- Source repo
- plur-ai/plur
- Stars
- ★ 319
- Last updated
- today
- FARS reviewed
- Oct 13, 2026
- License
- Apache-2.0
- Primary language
- TypeScript
- FA score
- 59/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude Code
- Cost
- Free, no paid service needed
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- A developer corrects their agent's coding style in Claude Code on Monday and wants Tuesday's fresh session to remember it.
- Not a fit if
- Users needing code-aware search (AST/symbol navigation) — PLUR recalls memory, it does not index source code
- Teams that want a hosted memory API or temporal knowledge graph without managing data themselves
- Environments below Node.js 22 or under 2GB RAM (search degrades to keyword-only)
- Website
- plur.ai ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-24
- Source review
- 59/100 · Major gaps
What does this agent do, and when should you use it?
PLUR (GitHub: plur-ai/plur, Apache-2.0) provides persistent, open shared memory for AI agents that works across sessions, tools and machines. Learned knowledge is stored as plain-text "engrams" (YAML validated against a published JSON Schema) and events as timeline "episodes" under ~/.plur/ — no cloud, no API calls, no black box. The @plur-ai/core engine handles learning, recall, injection, ACT-R decay and feedback-trained quality; retrieval combines BM25, local BGE embeddings and Reciprocal Rank Fusion, fully offline at zero cost. It integrates as the @plur-ai/mcp MCP server with Claude Code, Codex, Cursor, OpenCode, OpenClaw, Hermes and Antigravity CLI, and also ships a Python SDK (LangChain, llama.cpp) plus git-based sync for machines and teams. On the full LongMemEval-S corpus, fully local retrieval reaches 92.2%–97.6% R@5, and end-to-end answer accuracy is 60.5% versus 5.5% with no memory.
When an agent is corrected or expresses a preference in a session, plur_learn (or plur_learn_batch, plur_ingest) creates typed engrams with polarity (do/don't), hierarchical scope (global, project:myapp, group:org/team), provenance and association edges, written to local YAML; each engram carries ACT-R activation decay and feedback signals, so unused memories fade naturally. On the next session start, hooks or plugins trigger plur_inject_hybrid, which selects directives, constraints and considerations within a token budget by relevance; plur_feedback rates results by ID to train injection quality. plur_capture/plur_timeline record and query an event timeline; plur_sync uses git — personal remotes mirror everything (including private engrams; use a private repo), shared remotes push only shared-scope, non-private engrams, and scope:local engrams never leave the machine. plur doctor verifies MCP handshake and configuration, plur dashboard opens a local read-only memory viewer, and plur receipt counts how often memory actually retrieved value. Backends scale from YAML through pglite to Postgres by store size, with YAML remaining the source of truth.
- A developer corrects their agent's coding style in Claude Code on Monday and wants Tuesday's fresh session to remember it.
- A multi-project developer isolates domain knowledge per project with plur init --domain myapp --scope project:my-app, sharing team knowledge via group: scopes.
- A developer who uses Cursor, Codex and OpenCode wants one ~/.plur/ store across all tools instead of vendor-locked memory.
- An SRE agent records incident handling with plur_capture and later queries the timeline with plur_timeline by agent or time range.
- A Python/LangChain user writes memories via the plur-ai SDK and plur-langchain adapter into the same store Claude Code reads.
- A team shares project conventions and team knowledge through a git remote (shared mode), with offline writes queued in the outbox.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npm install -g @plur-ai/cli@latest @plur-ai/mcp@latestpip install plur-hermesnpm install -g @plur-ai/clipip install "plur-ai @ git+https://github.com/plur-ai/plur.git#subdirectory=packages/python"
- Runtime
- Node.js 22+
How do you install or deploy this agent?
Requires Node.js 22+ and ~2GB RAM. Install the CLI and MCP server globally and initialize:
npm install -g @plur-ai/cli@latest @plur-ai/mcp@latest
plur init
plur doctorRestart your editor. plur init creates the local store at ~/.plur/, registers the user-scoped MCP server and writes hooks. Other integrations:
plur init --cursor
plur init --codex
plur init --opencode
plur init --antigravityOpenClaw plugin:
openclaw plugins install @plur-ai/claw
openclaw config set plur.enabled trueHermes plugin and Python SDK:
pip install plur-hermes
npm install -g @plur-ai/clipip install "plur-ai @ git+https://github.com/plur-ai/plur.git#subdirectory=packages/python"Note: plur-ai is not yet on PyPI (issue #915); use the git install above. Codex users must run /hooks inside Codex and trust the PLUR entries — until then memory silently never loads.
How do you use this agent?
After install, tell your agent: "Set up PLUR memory for me: install @plur-ai/cli@latest and @plur-ai/mcp@latest globally, run plur init, then plur doctor." Then say once, e.g. "Always use pnpm in this project" — the agent stores it via plur_learn; next session the hooks inject relevant engrams automatically, no reminder needed. Direct Python usage:
from plur_ai import Plur
plur = Plur()
plur.learn("always use async generators for streaming LLM output")
results = plur.recall("streaming patterns")
context = plur.inject("write a streaming endpoint", limit=10)In TypeScript use @plur-ai/core's learn / recallHybrid / inject / feedback / capture / sync methods. CLI: plur dashboard lists all engrams, plur outbox --flush retries queued team writes, plur receipt reports retrieval statistics, plur verify checks that session memory history was not edited.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
What are this agent's strengths and limitations?
- Memory is human-readable YAML engrams you can git diff, edit and provably delete — not opaque vectors or weights you can't inspect.
- Local-first and zero-cost: BM25 + local BGE embeddings + RRF, fully offline, 98% R@5 on LongMemEval-S with no cloud call, backed by the reproducible plur-bench harness.
- Cross-tool by design: one ~/.plur/ store works in Claude Code, Cursor, Codex, OpenClaw, Hermes and more — memory isn't trapped in one vendor.
- Git-based sync serves both personal machines and teams: personal remotes mirror everything, shared remotes filter by scope and visibility.
- It learns and forgets: feedback-trained retrieval, ACT-R decay and an on-demand contradiction scan, not a grow-forever store.
- On the postgres backend, core does not write embeddings to Postgres (ADR-0005 amendment), so semantic/hybrid recall falls back to in-memory O(N) scoring at scale.
- Codex integration requires manually trusting hooks via /hooks — untrusted hooks fail silently with no warning and memory never loads.
- Hard requirements of Node.js 22+ and ~2GB RAM; below that embeddings are skipped and search degrades to BM25 keyword matching.
- The plur-ai Python package is not yet on PyPI (issue #915) and must be installed from git — a documented interim state.
- Session provenance (plur verify / manifest) is experimental: the manifest format and provenance gateway may change.
How does this agent compare with similar options?
The README contrasts PLUR with Mem0 (hosted memory API), Letta/MemGPT (self-managing agent OS) and Zep (temporal knowledge graph): PLUR's bet is a combination none ship together — plain-text you own, local-first zero-cost hybrid search, git team-sharing, cross-tool reuse, and ACT-R decay. It also states PLUR is not a code-intelligence tool: for tree-sitter / language-server-style code search it points to claude-mem or IDE built-in search.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| PLUR — Shared Memory for AI Agents This agent | 59 · Major gaps | CLIFree | ★ 319 | today | TypeScript | Codex · Claude Code |
| Mnemo Cortex | 75 · Good | Self-hosted serviceFree | ★ 161 | today | Python | Codex · Claude Code · Claude.ai |
| Compartment | 73 · Some gaps | CLIFree | ★ 472 | 2d ago | Python | Codex · Claude Code |
| EGC — One Brain for Every AI Coding Agent | 76 · Good | CLIFree | ★ 70 | today | JavaScript | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
Trust evidence is limited. Least privilege: CI workflows explicitly declare permissions: contents: read and pin action versions, which is good practice, but the product itself (MCP server, hooks, plugins) writes to global configs like ~/.claude.json, ~/.codex/config.toml, ~/.config/opencode, and the README does not describe the permission boundaries of these writes, so score 2. User confirmation: Codex requires manual /hooks trust, a one-time confirmation, but memory injection, learning, and sync run automatically by default with no per-action confirmation, score 1. Data flow transparency: README clearly states local-first, zero API calls, dashboard is read-only loopback, receipt is local read-only, good transparency, score 2. Sensitive data handling: plur sync explicitly warns that personal remotes push all engrams including private-visibility ones, but no encryption, redaction, or key management is described, score 1. Dependency security: package.json uses pnpm overrides to force-upgrade multiple known vulnerable transitive dependencies (e.g., tar, undici, ws, esbuild), showing awareness of dependency vulnerabilities, but no audit report or SBOM is provided, score 2. External effects: hooks modify editor global configs and inject context, operations with external side effects, but impact scope is not described, score 1. Rollback: plur forget decays rather than immediately deletes, upgrades require re-running init, but no uninstall or config rollback steps are provided, score 1. Source attribution: LICENSE has a copyright notice, but publisher identity is unverified and README does not state code origin or contributor attribution, score 1.
Reliability based on static files. Self-consistency: README tool list matches test functions (runLearn/runRecall/runForget), CI config corresponds to package.json scripts, score 2. Dependency availability: requires Node.js 20+, CI matrix covers 20/22/24/26, uses pnpm with locked versions, clear dependency declarations, score 2. Failure messages: tests show CLI returns exit code 1 with Usage message when args missing, recall empty result outputs 'No engrams found', canary tests show a warning mechanism, score 2.
Adaptability evidence is relatively strong. Audience and scenarios: README covers Claude Code, Cursor, Codex, OpenCode, OpenClaw, Hermes, Antigravity, Python SDK and more, with specific scenario descriptions, score 3. Capability boundaries: clearly distinguishes clients with adapters (auto-injection) from tools-only clients, and notes Gemini CLI is tools-only, score 2. Trigger precision: describes hooks triggering on SessionEnd, PreInvocation, etc., and mentions PLUR_HOOK_HYBRID_DEADLINE_MS tuning, but does not detail exact trigger logic, score 2. Environment fit: supports Windows/WSL2 separate configs, CI has a dedicated WSL2 workflow, but not all platform details are covered, score 2.
Convention dimension is generally good. Information architecture: README is well-structured with install, tools, how it works sections, but some content is long and truncated, score 2. Install notes: provides specific commands and steps for each editor, including upgrade and verification, score 3. Naming stability: tool names and CLI commands are consistent between README and tests, but no naming stability commitment is provided, score 2. Examples and FAQ: has usage examples and a 'See it in action' scenario, but no formal FAQ, score 2. Known limitations: mentions Python package not on PyPI, Codex requires manual hook trust, Gemini CLI tools-only, etc., score 2. License: full Apache-2.0 text, score 3. Versioning and changelog: README mentions upgrades but no CHANGELOG file or version history, score 1. Maintenance responsibility: publisher unverified, no maintainer info or support channel described, score 1.
Effectiveness evidence is moderate. Output usability: inject returns directives/constraints/consider and token counts, CLI output format is clear, but full output samples are not shown, score 2. Marginal value: claims Haiku+PLUR outperforms Opus at lower cost, but benchmark data comes from external plur-bench repo, and this repo does not include verifiable benchmark code, score 2. Cost benefit: claims zero-cost local search, but requires model download, and no resource consumption or performance data is provided, score 1.
Verifiability evidence is limited. Claim traceability: README cites plur-bench as benchmark source and states CI regression checks, but this repo does not include benchmark code, score 2. Cross-source corroboration: only README and test files, lacking independent documentation or third-party verification, score 1. Fact-inference separation: README distinguishes retrieval recall from answer accuracy and states data sources, but some performance claims (e.g., 10x cost) lack detailed basis, score 2.
- Publisher identity is unverified; maintenance responsibility and support channels cannot be confirmed.
- plur sync with personal remotes pushes all engrams including private-visibility ones, posing sensitive data exposure risk; use private repos and assess accordingly.
- Hooks and plugins modify editor global configs and auto-inject context, lacking per-action user confirmation.
- Python package is not yet on PyPI and requires git install, which may affect dependency management and reproducibility.
- Benchmark data comes from external plur-bench repo; this repo does not include independently verifiable benchmark code.
- No CHANGELOG or version history; upgrade behavior relies on README descriptions.
FAQ
Does PLUR cost anything?
Does my data leave my machine?
Does retrieval break without the embedding model?
Will private memories leak when sharing with a team?
Does memory survive switching agents or models?
Is PLUR — Shared Memory for AI Agents open source?
Is PLUR — Shared Memory for AI Agents safe to use?
Is PLUR — Shared Memory for AI Agents still maintained?
Who makes PLUR — Shared Memory for AI Agents?
What is PLUR — Shared Memory for AI Agents's official website?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.