NewOne memory for all your agents, each with its own key

The easiest memory setup,
for any agent

Free memory for any agent. One account for all your agents, set up in one step, no LLM on our side, and you can see exactly what it stored.

Copies a prompt for Claude Code, Cursor, Codex or any agent.

Or add it yourself
  • Remembered, from you: This repo uses pnpm, never npm.
  • Recalled, by words and meaning: Use pnpm here. You said so yourself.
  • Context loaded, one request: 4 facts, 1 approval and 7 days of journal.
  • Waiting for you, approval A1: Deploy the API to production.
  • Dreamed overnight, undo for 7 days: Merged 3 duplicates. Pinned facts stay as written.
  • Forgotten, no content kept: 2 facts deleted. Only tombstones remain.

Works with the agents you already use

Everything between your agent and what it remembers

recall("how do we deploy the API?")200
By hand, with wrangler, after each merge
Matched
words and meaning
About
deploys
Said by
user
Recalled
4 times

Facts about what you name come first.

Store facts with a subject, a tier, and who said them. Recall finds them by their words or their meaning, and puts facts about the person you named first.

Tested on a public benchmark

LongMemEval has 500 questions, each hidden among about 48 past conversations. This is how often recall finds the right one.

See the method

of questions had the right conversation in the top 5, using words alone.

  • 404 found first
  • 38 more in the top 5
  • 28 not found
  • 470 answerable questions
Ranked first, words and meaning
of 20
On an evenly spaced sample. Words alone: 18 of 20.
Rescued by meaning search
of 12
A sample of the questions words alone missed, now in the top 5.
What this measures
Finding the right conversation, not answering the question, so it can't be compared with answer-accuracy scores. Words and meaning ran on samples only.

One memory, every agent

Write in Claude Code, recall in Cursor, keep going in Codex. Your agent invites the others with a one-time code, and each gets its own key. One account, no org, no dashboard.

Share a memory box
invite_create({ name: "cursor" })201
An invite for Cursor
Code
omi_…, works once
Expires
in 24 hours
Next
paste the prompt in Cursor
Redeemed
not yet

No key leaves Claude Code.

Your agent creates a one-time code and a prompt. You paste the prompt into the other agent.

Agents per space
members
Each with its own key, name, and role: owner or member.
Invite lifetime
hours
Single use, up to 7 days if you ask. A code is never shown again.
Keys that change when one agent leaves
its own
Every other agent keeps working, and what it wrote stays signed.

Wire up your agent in a minute

Connect a space, a transport, a context budget and a dreaming mode. That is the whole setup.

Agent support-agent

Awaiting inputs · 1/4

Space

sp_4f9ck2m8x0qz7tn1

Europe/Athens · key shown once

key

Transport

Streamable HTTP

mcp.openmemory.sh

mcp

Context

budget_chars 4000

journal 7 days · due within 7 days

context

Dreaming

dream_mode client

runs on your agent's model

dreams

Agent

support-agent
  • Spacekey
  • Transportmcp
  • Contextcontext
  • Dreamingdreams

Awaiting inputs · 1/4

Claude Code

4 MCP tools to start

Waiting

Nightly worker

dream_next_job → dream_submit

Waiting

Approval inbox

A1, A2 from chat

Waiting

REST batch

Up to 50 writes, one transaction

Waiting

Drag from a dot to the matching input on the agent. 1 of 4 connected.

Everything your agent keeps,
behind one key

See all concepts
Your spacesp_4f9ck2m8x0qz7tn1
Readingmemories
  • memories5,000 facts
  • journal800 entries
  • context20,000 chars max
  • events10,000 kept
  • records2,000 records
  • actions500 open
  • kv1,000 keys
  • dreaming20 hours apart
Requests / min
Writes / batch
Undo window
days
  • It sets itself up

    Paste one prompt. Your agent creates its own space, asks you where to keep the key, and connects.

  • It decides, you can check

    Your agent chooses what to remember, and every fact shows who wrote it. Ask it to show you, or list them with one API call.

  • Four calls to start

    get_context, remember, recall and forget. The journal, approvals and dreaming are there when you need them.

  • Forget means forget

    Hard deletes in every scope you name, and approvals redacted. Tombstones keep the id and the time, never the content.

Two ways in.
Same memory.

MCP gives tool-using agents four tools to start, and all 43 when you ask. REST reaches the same memory from your own code, with an OpenAPI 3.0 document for code generators.

curl -s -X POST https://api.openmemory.sh/v1/connect \  -H 'content-type: application/json' -d '{"name":"claude-code"}'# Show the person verification_uri_complete:#   https://api.openmemory.sh/connect?code=ABCD-EFGH# Poll every "interval" seconds. 400 authorization_pending until they approve.curl -s -X POST https://api.openmemory.sh/v1/connect/token \  -H 'content-type: application/json' -d '{"device_code":"…"}'
ShellUTF-8api.openmemory.shLn 7
Ready

Give yourself a memory with openmemory.

Press Run to see the agent use openmemory.

Account
one for all agents
Key
its own, shown once
Memory
you pick it

Plug into the agent
you already use

One endpoint, and a header or a sign-in. Every client talks to the same space, so a fact remembered in ChatGPT is there in Claude Code, Cursor, and Grok.

  • 4 MCP tools, 43 on request
  • Streamable HTTP
  • Bearer header or OAuth sign-in
  • mcp-remote for stdio clients
  • One space across clients
  • OpenAPI 3.0 for REST

Claude Code

Setup guide

Add the server once at user scope and every project has memory.

CLIStreamable HTTPuser scope
terminal
claude mcp add --transport http openmemory https://mcp.openmemory.sh \  --header "Authorization: Bearer $OPENMEMORY_KEY" \  --scope user

You

What is waiting for my approval?

Claude Code · openmemory

  • Called get_context
  • Called action_list for pending and approved actions

Three actions are open. Two need your approval:

Approval ledger

IdClassSummaryExpiresStatus
A1deployDeploy the API to productionin 2 dayspending
A2pr_mergeMerge the docs updatein 2 dayspending
A3release_notesPost the release notestodayapproved

The limits, in the open

openmemory is a hosted service with per-space limits, all listed here.

Hosted
For agents that need memory today.

Free

One account for all your agents.

Includes:

  • MCP at mcp.openmemory.sh
  • REST API and OpenAPI 3.0
  • Search by words and meaning
  • One space shared by all your agents
  • Your own OpenAI key, if you want one
  • Nightly dreaming in client mode
  • Per-space limits below
Limits on the hosted service
LimitHosted
Storage
Memories5,000
Records2,000
Open actions500
Journal entries800
KV keys1,000
Events kept10,000
Members (agents with their own key)10
Open invites5
Requests
Requests per minute120
Ops per batch50
Request body256 KB
New spaces per hour, per IP10
Invites accepted per hour, per IP10
Meaning search
AI budget per day, all spaces9,000 neurons
AI budget per day, per space300 neurons
With your own OpenAI key, per day2,000,000 tokens
Meaning searches per month, all spaces50,000
Stored embeddings, all spaces12,000
Retention and dreaming
Inactive space deletion90 days
Unrecalled scratch facts14 days
Dream interval20 hours
Changes per dream50

Questions, answered

Keys, data, dreaming and limits. Anything missing is in the docs.

Full FAQ

openmemory

Give your agent a memory today

Free, one account for all your agents. Copy the prompt into your agent and it sets itself up in one step.

Copies a prompt for Claude Code, Cursor, Codex or any agent.

What the prompt does