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

At a glance

How it runs
CLIMCP serverAgent plugin / skill
Works with
Universal · cross-platformCodex · Claude Code
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
Node.js 222GB RAM (embedding model ~1GB for ONNX runtime)Shell / CLILocal filesystemMCP Server
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

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.

  1. A developer corrects their agent's coding style in Claude Code on Monday and wants Tuesday's fresh session to remember it.
  2. A multi-project developer isolates domain knowledge per project with plur init --domain myapp --scope project:my-app, sharing team knowledge via group: scopes.
  3. A developer who uses Cursor, Codex and OpenCode wants one ~/.plur/ store across all tools instead of vendor-locked memory.
  4. An SRE agent records incident handling with plur_capture and later queries the timeline with plur_timeline by agent or time range.
  5. A Python/LangChain user writes memories via the plur-ai SDK and plur-langchain adapter into the same store Claude Code reads.
  6. 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@latest
  • pip install plur-hermes
  • npm install -g @plur-ai/cli
  • pip 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 doctor

Restart 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 --antigravity

OpenClaw plugin:

openclaw plugins install @plur-ai/claw
openclaw config set plur.enabled true

Hermes plugin and Python SDK:

pip install plur-hermes
npm install -g @plur-ai/cli
pip 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)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

What are this agent's strengths and limitations?

Pros
  • 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.
Limitations
  • 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?

FollowAgents source review · FARS-2.1
Major gaps
59/ 100 5-point scale 3.0 / 5
Trust 13/29
Reliability 9/14
Adaptability 14/18
Convention 12/18
Effectiveness 7/13
Verifiability 4/8
Why each dimension lost points
Trust13 / 29 · 2.2/5

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.

Reliability9 / 14 · 3.2/5

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.

Adaptability14 / 18 · 3.9/5

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.

Convention12 / 18 · 3.3/5

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.

Effectiveness7 / 13 · 2.7/5

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.

Verifiability4 / 8 · 2.5/5

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.

Risks and how to mitigate them
  • 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.
Evidence confidence: Low Reviewed Oct 13, 2026 Reviewed revision 11884e3fc2cd
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/plur.svg)](https://followagents.com/en/agents/plur)
<a href="https://followagents.com/en/agents/plur"><img src="https://followagents.com/badge/plur.svg" alt="FARS review"></a>

FAQ

Does PLUR cost anything?
The software is free and Apache-2.0; local search has zero API cost. The only optional paid piece is the openai-3-large cloud embedder (97.0% hybrid R@5); without it you still get 95.6% with the default local BGE-small.
Does my data leave my machine?
Not by default. The store is local YAML, search is fully local, and the dashboard is loopback-only. Data leaves only when you explicitly configure plur sync to a git remote, a team store, or receipts.store: swarm; scope: local engrams are never uploaded.
Does retrieval break without the embedding model?
No. Injection uses hybrid search with automatic BM25 fallback (force BM25 with PLUR_HOOK_HYBRID=0; tune with PLUR_HOOK_HYBRID_DEADLINE_MS), and servers under 2GB RAM fall back to keyword matching.
Will private memories leak when sharing with a team?
Shared remotes push only shared-scope, non-private engrams by construction. Personal remotes mirror everything including private engrams, so the README requires a private git repo and warns whenever private engrams are present in a sync.
Does memory survive switching agents or models?
Yes. Memory lives in ~/.plur/ independent of the model and works across Claude Code, Cursor, Codex and others — the project's thesis that "the model is rented; your memory is owned." Note that clients without an adapter get tools only, without automatic injection.
Is PLUR — Shared Memory for AI Agents open source?
Yes. The source code is on GitHub (plur-ai/plur) under the Apache-2.0 licence.
Is PLUR — Shared Memory for AI Agents safe to use?
FollowAgents' FARS review (Oct 13, 2026) scored PLUR — Shared Memory for AI Agents 13/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is PLUR — Shared Memory for AI Agents still maintained?
Yes. The latest commit on GitHub is from 2026-11-24, within the last 30 days.
Who makes PLUR — Shared Memory for AI Agents?
PLUR — Shared Memory for AI Agents is published on GitHub by the account plur-ai. FollowAgents has not verified which person or company is behind that account.
What is PLUR — Shared Memory for AI Agents's official website?
The project's GitHub repository lists https://plur.ai as its website. That link is set by the repository owner; the source code itself is on GitHub (plur-ai/plur).
Was this page helpful?
View on GitHub ↗ Install ↓

Host ecosystems

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts