Configs2026年7月15日·1 分钟阅读

OpenMemory — Self-Hosted Cognitive Memory Engine for AI Agents

A self-hosted memory engine that gives AI agents persistent long-term memory with multi-sector storage, temporal reasoning, and explainable recall beyond simple RAG.

Agent 就绪

Agent 可直接安装

这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
OpenMemory
直接安装命令
npx -y tokrepo@latest install a633c1ac-806e-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run 确认安装计划,再运行此命令。

Introduction

OpenMemory is a self-hosted cognitive memory engine designed to give AI agents real long-term memory. It goes beyond traditional RAG and vector databases by implementing multi-sector memory storage, temporal reasoning, and explainable recall mechanisms.

What OpenMemory Does

  • Stores and retrieves memories across multiple semantic sectors
  • Provides temporal reasoning so agents recall when events happened
  • Returns explainable recall paths showing why a memory was retrieved
  • Supports memory consolidation to merge related fragments over time
  • Exposes a REST API for integration with any AI agent framework

Architecture Overview

OpenMemory organizes memories into sectors (episodic, semantic, procedural) inspired by cognitive science models. Each memory is stored with vector embeddings, temporal metadata, and relational links. On recall, the engine scores candidates by relevance, recency, and importance, then returns results with explanation traces. A background consolidation process periodically merges and reinforces related memories.

Self-Hosting & Configuration

  • Deploy with Docker Compose for a single-command setup
  • Requires a vector store backend (built-in or external like Qdrant)
  • Configure memory sectors and retention policies via environment variables
  • API key authentication protects the REST endpoints
  • Supports multiple agent profiles with isolated memory spaces

Key Features

  • Multi-sector memory inspired by human cognitive architecture
  • Temporal awareness with decay and reinforcement over time
  • Explainable recall showing retrieval reasoning chains
  • Memory consolidation to prevent fragmentation and redundancy
  • Agent-scoped memory isolation for multi-tenant deployments

Comparison with Similar Tools

  • Mem0 — memory layer for LLMs; OpenMemory adds temporal reasoning and multi-sector architecture
  • Zep — session-based memory; OpenMemory focuses on long-term cognitive persistence
  • LangChain Memory — in-process memory modules; OpenMemory is a standalone service with its own API
  • ChromaDB / Qdrant — vector databases for retrieval; OpenMemory adds cognitive memory semantics on top

FAQ

Q: How is this different from a vector database? A: Vector databases store and retrieve embeddings. OpenMemory adds memory sectors, temporal reasoning, importance scoring, and consolidation on top of vector storage.

Q: Can I use it with any AI framework? A: Yes. The REST API works with LangChain, CrewAI, AutoGen, or any framework that can make HTTP calls.

Q: Does it support multiple agents? A: Yes. Each agent can have its own memory space with isolated recall and storage.

Q: What happens to old memories? A: Memories decay over time unless reinforced. The consolidation process merges related memories to keep the store efficient.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产