EU

edihasaj/universal-memory-protocol

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

31 stars 2 forks 品質 81 トレンド 25Apache-2.0

ユニバーサルメモリプロトコル(UMP) - エージェントメモリのオープンスタンダード。 MCP(tools)とA2A(coordination)の横にある3番目のインターロップ層.

概要

AIエージェントのポータブルメモリ。 ツールを1つずつ入れて、次へリコールします。 安定した v1.0 ・ https://universalmemoryprotocol.io ・ @universalmemoryprotocol/core ・ MCP, HTTP, ファイルエクスポート あなたのAIツールは物事を学びます - このレポはpnpmを使用していて、あなたがterseリリースノートが好きです、あなたが先週のビット - その後、あなたがClaudeコードからCrosorにCodexに切り替えるすべての瞬間を失う。 知識は、どのツールがそれを学ぶために起こった内部にトラップされます。 UMPはそれを修正します。 MCP、HTTP、およびプレーンファイル用のバインディングで、メモリとそれ(リコール、記憶、取得、変更、忘れ、フィードバック)の動作を定義します。 UMPを話すエージェントやストアは同じメモリを読み、拡張できるので、次の1つのツールを教えるのは、次の1つです。 製品ではなく、プロトコルです。実行するデータベースはありません。 参照実装は、所有するポータブル、署名されたファイル(~/.ump/memory.ump.json)でメモリを保持します.

概要(AI 翻訳)

AIエージェントのポータブルメモリ。 ツールを1つずつ入れて、次へリコールします。

** ステータス:** 安定した v1.0 ・ サイト: · パッケージ: [[@universalmemoryprotocol/core]] · ** 結合:** MCP、HTTP、ファイルのエクスポート

あなたのAIツールは物事を学ぶ - このリポジトリは、あなたがterseリリースが好きpnpmを使用しています メモ, 先週あなたをビットするロッチャ - その後、あなたがその瞬間のすべてを失う ClaudeコードからCursorにCodexに切り替えます。 知識は内側に閉じ込められています どのツールもそれを学ぶために起こった。

UMPはそれを修正します。 メモリとsixの操作のために1つのレコード形式を定義します** それを(リコール、記憶、取得、改良、忘れ、フィードバック)、 MCP、HTTP、およびプレーンファイルの結合。 UMPを話す代理店または店舗 同じメモリを読み込み、拡張するので、1つのツールがそこにあることを教えているという事実 次へ。

製品ではなく、プロトコルです。実行するデータベースはありません。 参照の実装は、所有するポータブル、署名されたファイルでメモリを保持します ([~/.ump/memory.ump.json])). そのファイルをコピーして、エージェントのメモリを移動しました UMPを話す他のツールに。

既に CLAUDE.md/AGENTS.md のリコールの輸出、Obsidian、postgres に記憶があります、,

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Universal Memory Protocol (UMP)

Portable memory for AI agents. Teach one tool, recall it in the next.

Status: Stable v1.0 · Site: · Package: @universalmemoryprotocol/core · Bindings: MCP, HTTP, file export

Your AI tools learn things - that this repo uses pnpm, that you like terse release notes, the gotcha that bit you last week - then lose all of it the moment you switch from Claude Code to Cursor to Codex. The knowledge is trapped inside whichever tool happened to learn it.

UMP fixes that. It defines one record format for a memory and six operations for working with it (recall, remember, get, revise, forget, feedback), with bindings for MCP, HTTP, and plain files. Any agent or store that speaks UMP can read and extend the same memory, so a fact you teach one tool is there for the next one.

It is a protocol, not a product: no database to run, no service to sign up for. The reference implementation keeps memory in a portable, signed file you own (~/.ump/memory.ump.json). Copy that file and you have moved your agent’s memory to any other tool that speaks UMP.

Already have memory in CLAUDE.md/AGENTS.md, Recall exports, Obsidian, Postgres, Redis, SQLite, or a vector DB? UMP wraps those rather than replacing them - see Existing Memory Imports and Store Implementations.

Use It Now

Add persistent UMP memory to any MCP host:

{
  "mcpServers": {
    "ump": { "command": "npx", "args": ["-y", "@universalmemoryprotocol/core", "ump-memory"] }
  }
}

The server exposes:

  • ump.capabilities
  • ump.recall
  • ump.remember
  • ump.get
  • ump.revise
  • ump.forget
  • ump.feedback

By default, ump-memory stores portable records in ~/.ump/memory.ump.json. Set UMP_STORE=markdown to store human-editable *.ump.md records instead.

Implement It

Use the MCP server for immediate agent integration, the TypeScript SDK for a native UMP implementation, or the HTTP binding from any language.

// MCP host config: Claude Code, Codex, Cursor, or any MCP client.
{
  "mcpServers": {
    "ump": {
      "command": "npx",
      "args": ["-y", "@universalmemoryprotocol/core", "ump-memory"]
    }
  }
}
import {
  JsonFileStore,
  UmpServer,
  generateKeyPair,
} from "@universalmemoryprotocol/core";

const key = generateKeyPair();
const store = await JsonFileStore.open(".ump/memory.ump.json");
const ump = new UmpServer({
  name: "my-agent",
  version: "1.0.0",
  conformance: "L2",
  store,
  key,
});

await ump.remember({
  kind: "procedural",
  body: { text: "Use pnpm for this repository." },
  scope: { owner: key.did, project: "github.com/acme/app", visibility: "private" },
  provenance: { actor: key.did, actor_kind: "user", method: "user_correction" },
});

const memories = await ump.recall({
  query: "package manager",
GitHub で README 全文を見る

インストール

npx -y @universalmemoryprotocol/core ump-memory
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "ump": { "command": "npx", "args": ["-y", "@universalmemoryprotocol/core", "ump-memory"] } } }