freshcrate
Skin:/
Home > Databases > powermem

powermem

PowerMem: Your AI-Powered Long-Term Memory โ€” Accurate, Agile, Affordable. Also friendly support for the OpenClaw Memory Plugin.

Why this rank:Strong adoptionRelease freshnessHealthy release cadence

Description

PowerMem: Your AI-Powered Long-Term Memory โ€” Accurate, Agile, Affordable. Also friendly support for the OpenClaw Memory Plugin.

README

PowerMem

Persistent memory for AI agents and applications.

PyPI version PyPI downloads Python 3.11+ License Apache 2.0 GitHub Discord

English ยท ไธญๆ–‡ ยท ๆ—ฅๆœฌ่ชž

PowerMem combines vector, full-text, and graph retrieval with LLM-driven memory extraction and Ebbinghaus-style time decay. It supports multi-agent isolation, user profiles, and multimodal signals (text, image, audio).

Use the Python SDK, CLI (pmem), or the HTTP API Server (with Dashboard at /dashboard/). An MCP server is also available. All share one .env. See .env.example and the configuration guide.

OpenClaw integration

OpenClaw can use PowerMem as long-term memory via the memory-powermem plugin.

openclaw plugins install memory-powermem

Requires the OpenClaw CLI to be installed.

PowerMem with OpenClaw

Quick start

Prerequisites: Copy .env.example to .env and set LLM and embedding credentials (the default database is SQLite; OceanBase can use embedded SeekDB โ€” see .env.example). Alternatively, after installing PowerMem, run pmem config init to create .env interactively. See Getting started.

Install

pip install powermem

SDK example

Run from a directory that contains your configured .env:

from powermem import Memory, auto_config

config = auto_config()
memory = Memory(config=config)

memory.add("User likes coffee", user_id="user123")

results = memory.search("user preferences", user_id="user123")
for result in results.get("results", []):
    print(f"- {result.get('memory')}")

More patterns: Getting Started.

CLI (pmem, 1.0+)

pmem memory add "User prefers dark mode" --user-id user123
pmem memory search "preferences" --user-id user123

Interactive REPL (run separately; exits with exit or Ctrl+D):

pmem shell

Full reference: CLI usage.

HTTP API Server and Dashboard

Uses the same .env as the SDK. Dashboard is served under /dashboard/.

powermem-server --host 0.0.0.0 --port 8000

Use Docker or Compose as needed โ€” see API Server and Docker & deployment.

Entry points

Mode Typical commands Docs
CLI pmem memory add / pmem memory search; pmem shell CLI usage
HTTP + Dashboard powermem-server --host 0.0.0.0 --port 8000; image oceanbase/powermem-server:latest; from repo root: docker-compose -f docker/docker-compose.yml up -d API Server
MCP Server (optional)

Requires uv and a configured .env in the working directory (see MCP Server).

uvx powermem-mcp sse

Also supports stdio and streamable-http.

Benchmark (LOCOMO)

PowerMem LOCOMO Benchmark Metrics

Compared to stuffing full conversation context on LOCOMO:

Dimension Result
Accuracy 78.70% vs. 52.9%
Retrieval p95 latency 1.44s vs. 17.12s
Tokens ~0.9k vs. ~26k

Capabilities

Interfaces and tooling โ€” Python integration; CLI (pmem); HTTP API / Dashboard; MCP (optional); IDE apps (VS Code / Cursor, Claude Code, and more).

Memory pipeline and retrieval โ€” Smart extraction and updates; Ebbinghaus-style decay; Hybrid retrieval (vector / full-text / graph); Sub stores and routing.

Profiles and multi-agent โ€” User profile; Shared / isolated memory and scopes.

Multimodal โ€” Text, image, audio.

Docs

  • Getting started โ€” install, .env, and first Memory usage
  • Configuration โ€” settings model, storage backends, environment variables
  • Architecture โ€” major components, storage layout, and retrieval flow
  • API & services โ€” REST, MCP, HTTP server, and Python-facing APIs
  • CLI โ€” pmem commands, interactive shell, backup and migration
  • Multi-agent โ€” scopes, isolation, and cross-agent sharing
  • Integrations โ€” LangChain and other framework wiring
  • Docker & deployment โ€” images, Compose, and running the API server
  • Development โ€” local setup, tests, and contributing

More topics: Sub stores, guides index.

Examples

  • Scenarios & notebooks โ€” walkthroughs by use case (basic usage, multimodal, forgetting curve, and more)
  • LangChain sample โ€” medical support chatbot (LangChain + PowerMem + OceanBase)
  • LangGraph sample โ€” customer service bot (LangGraph + PowerMem + OceanBase)
  • IDE apps โ€” VS Code extension and Claude Code plugin (link PowerMem to Cursor, Copilot, etc.)

Release highlights

Version Date Notes
1.1.0 2026-04-02 Embedded SeekDB for OceanBase storage without a separate database service; IDE integrations (VS Code extension, Claude Code plugin)
1.0.0 2026-03-16 CLI (pmem): memory ops, config, backup/restore/migrate, interactive shell, completions; Web Dashboard
0.5.0 2026-02-06 Unified SDK/API config (pydantic-settings); OceanBase native hybrid search; memory query + list sorting; user-profile language customization
0.4.0 2026-01-20 Sparse vectors for hybrid retrieval; profile-based query rewriting; schema upgrade & migration tools
0.3.0 2026-01-09 Production HTTP API Server; Docker
0.2.0 2025-12-16 Advanced profiles; multimodal (text/image/audio)
0.1.0 2025-11-14 Core memory + hybrid retrieval; LLM extraction; forgetting curve; multi-agent; OceanBase/PostgreSQL/SQLite; graph search

Support

License

Apache License 2.0 โ€” see LICENSE.

Release History

VersionChangesUrgencyDate
v1.1.1## What's Changed * build(deps-dev): bump vite from 7.3.1 to 7.3.2 in /dashboard by @dependabot[bot] in https://github.com/oceanbase/powermem/pull/896 * build(deps): bump lodash from 4.17.21 to 4.18.1 in /docs/website by @dependabot[bot] in https://github.com/oceanbase/powermem/pull/897 * feat: Add IDE integrations by @Teingi in https://github.com/oceanbase/powermem/pull/365 * docs: rewrite readme by @PsiACE in https://github.com/oceanbase/powermem/pull/374 * Fix SQLite filters key SQL injectionHigh4/24/2026
v1.1.0# PowerMem 1.1.0 **Release date:** April 2, 2026 ## Overview This minor release focuses on **embedded seekdb** support for OceanBase-backed deployments, so you can run PowerMem against a **local embedded database** without a separate database server. It also includes CLI and embedding configuration fixes. ## Quick start: from install to embedded seekdb A **minimal runnable path**: no Docker, no separate database serviceโ€”only Python, `.env`, and your app or CLI. ### 1. Install High4/2/2026
v1.0.2## What's Changed * Powermem CLI Cases by @Ripcord55 in https://github.com/oceanbase/powermem/pull/369 * fix(cli): honor --env-file by loading POWERMEM_ENV_FILE in dotenv step by @Teingi in https://github.com/oceanbase/powermem/pull/371 **Full Changelog**: https://github.com/oceanbase/powermem/compare/v1.0.1...v1.0.2Medium3/23/2026
v1.0.1## What's Changed * pyobvector dependencies by @Ripcord55 in https://github.com/oceanbase/powermem/pull/361 * Merge benchmark code by @Evenss in https://github.com/oceanbase/powermem/pull/362 * Native hybrid search case modification by @Ripcord55 in https://github.com/oceanbase/powermem/pull/363 * fix(api): register search router before memories by @Teingi in https://github.com/oceanbase/powermem/pull/367 **Full Changelog**: https://github.com/oceanbase/powermem/compare/v1.0.0...v1.0.1Low3/19/2026
v1.0.0## Why We're Shipping the CLI and Dashboard We believe that in the Agent era, the products that pull ahead will not be the ones with only a UI for humans to click. They will be the ones that deliver **two layers at once**: a layer where **Agents** can connect, execute, and orchestrate with low friction; and a layer where **humans** can understand the whole picture, form judgment, and consume results. The **CLI** is the operation surface for Agents and automation. The **Dashboard** is the cognLow3/16/2026
v0.5.3## What's Changed * fix lists bug by @Evenss in https://github.com/oceanbase/powermem/pull/268 **Full Changelog**: https://github.com/oceanbase/powermem/compare/v0.5.2...v0.5.3Low2/26/2026
v0.5.2## What's Changed * prompts: LANGUAGE DO NOT translate by @Teingi in https://github.com/oceanbase/powermem/pull/248 * Enhance memory listing functionality with pagination and sorting support by @Evenss in https://github.com/oceanbase/powermem/pull/246 * fix search bug by @Evenss in https://github.com/oceanbase/powermem/pull/253 * Enhance PGVectorConfig for flexible database connection settings by @Evenss in https://github.com/oceanbase/powermem/pull/257 **Full Changelog**: https://githuLow2/12/2026
v0.5.1## What's Changed 1. Default role filters removed in UserMemory profile extraction: - include_roles default changed from ["user"] to None - exclude_roles default changed from ["assistant"] to None 2. Documentation updated to reflect the new defaults. ## Impact - Behavior change: Profile extraction will now, by default, not filter messages by role unless you explicitly pass include_roles and/or exclude_roles. - This may change extracted profiles for users who relied on the previous impliLow2/6/2026
0.5.0# PowerMem v0.5.0 Release Notes (2026-02-06) ## Highlights - **Unified configuration governance** across SDK/API Server (pydantic-settings based). - **OceanBase native hybrid search support**. - **Enhanced Memory query experience** with improved query handling and **sorting support** for memory list operations. - **User profiles** now support **custom native-language output**. ## Whatโ€™s Changed ### Configuration & Settings - Unified configuration governance across the SDK and ALow2/6/2026
v0.4.0# PowerMem 0.4.0 Release Notes **Release Date:** January 20, 2026 We're excited to announce the release of PowerMem 0.4.0! This version introduces significant enhancements to our retrieval capabilities with the addition of sparse vector support, enabling even more accurate and efficient memory search. ## ๐ŸŽ‰ What's New ### โœจ Sparse Vector Support PowerMem 0.4.0 introduces **sparse vector support**, a powerful enhancement to our hybrid retrieval system. Sparse vectors complement ourLow1/20/2026
v0.3.1# Release v0.3.1 ## ๐ŸŽ‰ Overview This PR releases PowerMem v0.3.1, which includes bug fixes, new LLM provider support, and documentation improvements. ## โœจ What's New ### ๐Ÿ› Bug Fixes - **Fixed user profile extraction bug** (#172): Resolved an issue where user profile extraction was not working correctly in certain scenarios - **Fixed vector setting bug** (#170): Corrected a bug related to vector database configuration that was causing issues in vector retrieval operations ### ๐Ÿš€Low1/13/2026
v0.3.0# PowerMem 0.3.0 Release Notes **Release Date**: January 9, 2026 We're excited to announce the release of PowerMem 0.3.0! This version introduces a production-ready HTTP API Server and comprehensive Docker support, making PowerMem accessible to any application that supports HTTP calls, regardless of programming language. ## ๐ŸŽ‰ Major Features ### ๐ŸŒ Production-Ready HTTP API Server PowerMem now provides a fully-featured HTTP API Server built with FastAPI, exposing all core memory mLow1/9/2026
v0.2.1## What's Changed * fix(config):fix embedding_model_dims string bug by @Evenss in https://github.com/oceanbase/powermem/pull/128 **Full Changelog**: https://github.com/oceanbase/powermem/compare/v0.2.0...v0.2.1Low12/19/2025
v0.2.0# PowerMem 0.2.0 Release Notes **Release Date:** December 16, 2025 We're excited to announce the release of PowerMem 0.2.0! This version introduces powerful new features that enhance AI applications with advanced user profile management and comprehensive multimodal support, enabling more personalized and contextually rich AI experiences. ## ๐ŸŽ‰ What's New ### ๐Ÿ‘ค Advanced User Profile Management PowerMem 0.2.0 introduces the **UserMemory** feature, providing intelligent user profileLow12/16/2025
v0.1.0## Highlights - **More Accurate**: **[48.77% Accuracy Improvement]** More accurate than full-context in the LOCOMO benchmark (78.70% VS 52.9%) - **Faster**: **[91.83% Faster Response]** Significantly reduced p95 latency for retrieval compared to full-context (1.44s VS 17.12s) - **More Economical**: **[96.53% Token Reduction]** Significantly reduced costs compared to full-context without sacrificing performance (0.9k VS 26k) # PowerMem - Intelligent Memory System In AI application deveLow11/14/2025

Dependencies & License Audit

Loading dependencies...

Similar Packages

agentic-rag๐Ÿ“„ Enable smart document and data search with AI-powered chat, vector search, and SQL querying across multiple file formats.main@2026-06-01
DeepAnalyze๐Ÿ” Empower data scientists with DeepAnalyze, a tool that leverages large language models for automated data analysis and insights generation.main@2026-06-05
adk-pythonAn open-source, code-first Python toolkit for building, evaluating, and deploying sophisticated AI agents with flexibility and control.v2.2.0
txtai๐Ÿ’ก All-in-one AI framework for semantic search, LLM orchestration and language model workflowsv9.10.0
PageIndex๐Ÿ“‘ PageIndex: Document Index for Vectorless, Reasoning-based RAGmain@2026-06-02

More from oceanbase

seekdbThe AI-Native Search Database. Unifies vector, text, structured and semi-structured data in a single engine, enabling hybrid search and in-database AI workflows.

More in Databases

orbitOne API for 20+ LLM providers, your databases, and your files โ€” self-hosted, open-source AI gateway with RAG, voice, and guardrails.
alibabacloud-adb20211201Alibaba Cloud adb (20211201) SDK Library for Python
milvusMilvus is a high-performance, cloud-native vector database built for scalable vector ANN search
qdrantQdrant - High-performance, massive-scale Vector Database and Vector Search Engine for the next generation of AI. Also available in the cloud https://cloud.qdrant.io/