cmem
MCPShips with claude-mem: Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions,…
Ships with powercontext: Context that stays with the work — across sessions, agents, and people.
Claude Code
> /plugin marketplace add oceanbase/powercontext> /plugin install powercontext@powercontext
Codex
$ uv tool install --force "powercontext[cli,server]==1.5.2"
Cursor
$ uv tool install --force "powercontext[cli,server]==1.5.2"
Gemini CLI
$ uv tool install --force "powercontext[cli,server]==1.5.2"
GitHub Copilot
$ uv tool install --force "powercontext[cli,server]==1.5.2"
OpenCode
$ uv tool install --force "powercontext[cli,server]==1.5.2"
Windsurf
$ uv tool install --force "powercontext[cli,server]==1.5.2"
Security report
Not enough data
Known flaws
Not published
Signed build
Not published
Maintained
Nov 21, 2026
Last push
Licence
Apache-2.0
Runs as
Remote
Deprecated
Not published
Signals from public registries, not an audit. Checked Nov 22, 2026.
Context that stays with the work — across sessions, agents, and people.
Website · Quickstart · Manual startup · Integrations · Benchmarks · Interfaces
PowerContext is an open-source context service for AI agents. It keeps the durable part of your work — decisions, constraints, evidence, progress — outside any single conversation, so the next session, the next agent, or the next person can pick up from the current state instead of rereading the transcript.
You can use it as a ready-to-run Server or embed the same contracts in another application:
| Layer | What it owns | Use it when |
|---|---|---|
| Core protocol | Source, Artifact, and Trigger contracts | Embedding PowerContext or adding a component |
| Builtin runtime | Memory, Handoff, Experience, and Skill services, scheduling, inference, and supported storage backends | Running the standard local Server |
| Server and integrations | HTTP/MCP, Python Client, CLI, Dashboard, and Agent plugins | Connecting an Agent or application |
Work rarely ends with whoever starts it. You hand a task to an agent, the agent gets part of the way, and later you or someone else takes over. The reasoning and current state often stay behind in that conversation. PowerContext moves them out of the conversation and into revisioned artifacts you can inspect:
Everything belongs to a Scope — one isolated Source journal, Memory lifecycle, review inbox, and Handoff history. A Scope ID selects data; it does not prove user identity, grant tool access, or authorize execution.
Scope
├── Source journal # evidence: prompts, documents, work contracts, task outcomes
├── Memory # atomic-memory/ARTIFACT_ID@REVISION — decisions, constraints, next steps
├── Review Inbox # pending Experience and Skill candidates awaiting a decision
├── Handoff history # handoff/ARTIFACT_ID@REVISION — work continuity across sessions
└── Topic Memory # extracted in the background from eligible Sources
For Kubernetes deployments with external OceanBase, see the Helm chart and deployment guide.
Recordings show the running Dashboard and native Desktop preview in their light themes, using synthetic demonstration records.
Memory is a revisioned Artifact family for reusable decisions, constraints, facts, state, and next steps. An entry is active, forgotten, merged, or retired. Forgetting one through POST /v1/atomic-memory/lifecycle takes it out of active recall while its content and history stay available and restorable, without advancing the content revision. Explicit Memory writes need no model at all; extraction from captured Sources needs a configured generation pipeline.
"Don't refactor the old auth module — mobile is still using it." Context this expensive shouldn't depend on someone repeating it in every session.

Handoff records work continuity as a four-step loop:
Work Contract → Prepared Handoff → Acknowledgement → Task Outcome
handoff_current_work captures an inspected boundary and returns a temporary Prepared Handoff. Committing it creates a durable Revision only when the user wants a milestone. The receiver resolves the Handoff and records an Acknowledgement; a Task Outcome preserves the final status and checks as Source evidence. The Handoff Report projects the latest Revision in each selected Scope — read-only, and it never rewrites Memory.

An Experience records a situation, an action, an observed outcome, and a reusable lesson. It enters a scope-local Review Inbox as a pending Candidate. Review writes use expected_version, so a decision cannot silently apply after another writer changes the proposal. Approval writes an immutable Revision; rejection records a reason. Both are terminal, and only the approved current head takes part in recall — pending, rejected, and historical Revisions are excluded.
A managed Skill holds a name, a discovery description, instructions, validation checks, and lineage. Approval does not install or execute it: an exact approved Revision must be exported explicitly before an Agent host can discover the host-local projection.
Connect to a Server, select an exact Scope, and search its memories. Open a result to read its saved revision, or save a note for the next session. The Desktop preview is intended for internal validation; signed distribution and platform release qualification remain separate work.

Operational metrics expose dependency observations, processing freshness, and attempt latency, including a protected metrics-only endpoint for standalone background deployments.
FAMILY/ARTIFACT_ID@REVISION. The Artifact ID stays stable while approved replacements create later Revisions, and reading an exact reference returns that historical snapshot even after the family head advances.PreparedContext selects configured sections from active Memory and approved Experience, with optional Profile snapshots and Topic Memory, then applies a shared byte budget and returns ready content or empty. Recalled content is history, not an instruction authority: the receiving Agent still follows current instructions and checks live workspace state.scope.review. An authorized Agent can approve its own Candidate; separate submission and review with distinct identities and permissions when a person must decide.The comparison assumes typical single-agent or host-local setups; exact behavior depends on how each system is deployed.
| Re-reading chat history | RAG over transcripts | Host-local memory files | PowerContext | |
|---|---|---|---|---|
| Survives a new session | manual | yes | yes | yes |
| Survives switching agents | no | no | no | yes |
| Handing work to a person | manual | manual | manual | Handoff, first-class |
| Reusable procedure | no | no | prose only | Experience / Skill |
| Earlier revisions kept | no | depends on the index | only via git | immutable Revisions |
| Review before reuse | n/a | no | no | Review Inbox |
| Bounded recall for one turn | no | partial | no | PreparedContext byte budget |
| Inspectable outside the Agent | no | no | yes | yes |
Long-conversation memory (LoCoMo; 1,540 scored questions across categories 1–4): 90.78% accuracy, against 52.9% for full-context replay — +37.88 points over full context.
Coding tasks (SWE-bench Pro paired comparison): approximately 225.32 million input tokens per 100 tasks with PowerContext on, versus 302.18 million with it off — approximately 25.4% fewer input tokens, or 76.86 million fewer per 100 tasks.
Retrieval quality (LoCoMo Plus), native PowerContext against PowerContext with Jev candidate filtering after retrieval. Each model is used for both Memory extraction and answering; embeddings use qwen3.7-text-embedding (1024 dimensions):
| Model | PowerContext | PowerContext + Jev | Difference |
|---|---|---|---|
| GPT-4o-mini | 40.855% | 49.78% | +8.925 points |
| Qwen3.7-plus | 60.37% | 68.947% | +8.577 points |
| GPT-4o | 65.082% | 69.28% | +4.198 points |
Full methods, results, and limitations: benchmarks. Two caveats we would rather state than bury: the six LoCoMo Plus scores above were supplied by the project owner, and their run artifacts are not publicly available for verification — the published instructions reproduce the harness, not those scores. Windows support is experimental.
If you want to manually configure and start PowerContext, see the manual startup guide.
PowerContext keeps durable project context outside any single chat. A first run follows this path:
Agent input → Source evidence → Memory / Topic Memory → PreparedContext → next session or Agent
Ships with claude-mem: Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions,…
Ships with mempalace: Local-first AI memory. Verbatim storage, pluggable backend, 96.6% R@5 raw on LongMemEval — zero API calls.
Ships with mempalace: Local-first AI memory. Verbatim storage, pluggable backend, 96.6% R@5 raw on LongMemEval — zero API calls.
Ships with ai-memory: Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent…