← Back to Leaderboard
Poceanbase

oceanbase/powercontext

A scoped context server and gateway for traceable agent memory and handoffs

RAG & Data ToolQuickstart ↓
Engineering Health (Methodology)
A+ · 97/100
Maintenance Activity
● Updated today
Latest Release
powercontext-v1.6.1
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption22/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedMCPCLIAPI1 README badge views (30d)
Total Stars
★ 2,017
24h Growth
+17
7d Growth
+124
Forks
691

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

oceanbase/powercontext Star History (2025-11-12 - 2026-12-04) ALL-TIME STAR HISTORY (2025-11 – 2026-12) +2k in 387d · avg +5/day 2.1k 1.1k 0 2025-11-12: ★ 12025-12-06: ★ 1592026-01-03: ★ 2622026-01-31: ★ 3592026-02-28: ★ 4482026-03-28: ★ 5662026-04-25: ★ 6252026-05-23: ★ 6532026-06-20: ★ 6882026-07-18: ★ 7422026-08-15: ★ 8502026-09-12: ★ 9692026-10-10: ★ 1,2362026-11-03: ★ 1,4642026-12-04: ★ 2,017 ★ 2k 2025-11 2026-05 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

PowerContext separates evidence ingestion, background processing, and recall. The Python Server stores conversations, documents, and work records as Sources within a Scope. Background jobs turn evidence into Artifacts such as memories, Topic Memory, profiles, experiences, and skills. Recall returns relevant artifacts for a subsequent turn, while provenance links let operators inspect the evidence and revision behind a memory. Source and Artifact plugins extend what the service can ingest and produce.

Agents can connect through hooks, HTTP, MCP, or Python interfaces. Applications can also embed Core. Gateway is a separate integration path: it sits in the model request path to inject context and working guidance and capture conversations. The repository separates the Python package in src/ from gateway/, integrations/, and plugins/. The operational distinction matters: using the Server for explicit save and recall does not require routing the agent's model traffic through Gateway.

Key Capabilities & Differentiators

PowerContext combines shared memory and session handoff with searchable, revisioned knowledge bases for existing documents. Each Scope can version and restore its own prompts for extraction, reconciliation, profile generation, and Topic Memory. The Server retains control of schemas, permissions, evidence boundaries, and sensitive-data safeguards. Dream proposes revisions for approval rather than applying them automatically; generated experiences and skills must be reviewed before recall.

The 24-task Gateway benchmark enabled code retrieval, working guidance, and project memory together. Including memory generation, it used 32.57% fewer tokens and had 15.42% lower estimated model cost, with both groups solving 16 tasks. In a separate configuration, main-model calls fell from 708 to 539 (23.87%); the results should not be combined. Codex is the officially maintained integration. Other agent and framework integrations are community-maintained and vary in capability; Bub is for evaluation only.

Trade-offs & Limitations

Compared with a vector store and a custom RAG pipeline, PowerContext provides evidence lineage, revision history, approval workflows, and cross-session handoffs out of the box. Those features are valuable when agents need to inherit prior work, but add Scope administration and background processing to what might otherwise be a simple document lookup. Per-Scope prompt rules can be managed through the API, but the Dashboard has no editor; with access control enabled, changes require Scope admin rights.

Gateway can reuse a conversation prefix cache for extraction on a supported Codex subscription, but it also puts another service in the model request path. Subscription-backed background generation still needs a separate embedding model, requires inference protection to stay off, and does not support Topic Memory or Dream. Apache-2.0 permits commercial self-hosting subject to its terms. For sensitive workloads, evaluate the data path separately: operating the Server yourself does not make external model calls local.

Hardware & Deployment Guide

The pinned v1.6.1 CLI and Server quick start uses Python 3.11+, Git, and uv on macOS or Linux; Windows support is experimental. SQLite is a reasonable pilot store. Generate and validate the .env, install the service, and check it with powercontext ready and powercontext capabilities. Linux background service installation needs an available systemd --user manager. Keep the generated .env and .env.next-steps.md out of Git, then bind the agent and Dashboard to the same Server and actual scope_id returned during Scope creation.

Start with Basic memory to test explicit save and recall without a separate Server model API. Full memory needs Generation and Embedding credentials for automatic extraction. With external inference, size the host for concurrent requests, background processing, and evidence storage rather than assuming a GPU requirement. v1.6.0 introduced revisioned knowledge bases and stable Gateway; v1.6.1 improved Atomic Memory one_pass processing, Gateway conversation handling, installation reliability, and processing visibility.

Provenance: memory links back to source evidence and its exact revision, with precise locations where available.
Access boundaries: Scopes partition data and access; changing working directories does not create isolation.
Review controls: generated experiences and skills require review before recall; Dream proposals require approval before taking effect.
Integration paths: HTTP, MCP, Python, and agent hooks connect to the Server; Gateway injects context and captures conversations in the model request path.
Processing tiers: Basic memory supports explicit save and recall; Full memory adds automatic extraction with Generation and Embedding credentials.
Measured workload: the 24-task Gateway benchmark used 32.57% fewer tokens including memory generation, with both groups solving 16 tasks.
Best For

Coding-agent teams and application builders that need agents to resume prior work, share evidence-backed memory within a Scope, and review generated guidance before reuse.

Skip If

You only need document retrieval or local notes, or your deployment requires fully local inference and you cannot provide local generation and embedding endpoints.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedMCPCLI
uv tool install --force "powercontext[cli,server]==1.6.1"
mkdir -p powercontext-config && cd powercontext-config
powercontext config init --language en --output .env
powercontext config validate --env-file .env
powercontext service install --env-file .env
powercontext service status

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
powercontext ★2k+124PythonApache-2.0A scoped context server and gateway for traceable agent memory and handoffs
ruflo82.8k+342TypeScriptMITA TypeScript orchestration layer for coding agents, with shared memory and MCP
Head-to-head comparisons:powercontext vs ruflo →

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/oceanbase/powercontext.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

oceanbase/powercontext Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about powercontext

Do I need Gateway to share memory across agents?

Use MCP, HTTP, or a supported agent hook if you want to save and recall context without routing model requests through PowerContext. Route requests through Gateway if you also want context injection and conversation capture in the model request path. Bind the agent and Dashboard to the same Server and actual scope_id; changing directories does not switch Scopes.

What hardware does a pilot deployment need?

Start with the Python service and SQLite to test Basic memory. There is no fixed GPU or VRAM target: with external generation and embedding endpoints, inference runs outside the PowerContext host. Size the host using evidence volume and concurrent recall and background jobs; if you host inference yourself, size it separately for the selected models and concurrency.

Can we self-host it commercially, and does that keep all data on premises?

Yes. Apache-2.0 permits commercial self-hosting subject to its terms; review license and notice obligations if you redistribute the software. For sensitive workloads, verify access control and where conversation, source, and embedding inputs are sent. Self-hosting the Server does not keep data local if inference uses external endpoints.

When is PowerContext a better fit than a vector store with a RAG pipeline?

Choose a generic retrieval stack if you mainly need to index documents and return relevant passages. Choose PowerContext if agents also need to carry work across sessions, trace memories to exact source revisions, and review proposed changes. SQLite can simplify initial setup, but Scopes, integration paths, and background generation still add operational work.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining oceanbase/powercontext? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature oceanbase/powercontext on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare