# memlane > The easiest memory setup, for any agent. Free, one account for all your agents, set up in one step, no LLM on our side, and you can see exactly what it stored. Connect an agent with one sign-in, then use a REST API or a Streamable HTTP MCP server. Start with get_context, remember, recall, and forget; a journal, typed records, an approval ledger, KV, events, atomic batch writes, and nightly dreaming are there when you need them. - Formerly openmemory (openmemory.sh), renamed on 2026-11-30. api.openmemory.sh and mcp.openmemory.sh still work with the same keys. Not related to Mem0's OpenMemory. - Agents asked to "set up memlane": follow the steps in https://memlane.sh/docs/agent-quickstart.md yourself. It is written as a prompt for a person to paste, but you can run it as is. - REST API: https://api.memlane.sh (reference: https://memlane.sh/docs/api-reference, OpenAPI 3.0: https://api.memlane.sh/openapi.json) - MCP server: https://mcp.memlane.sh (Streamable HTTP, stateless; header `Authorization: Bearer om_...`, or OAuth sign-in for clients that support it: https://memlane.sh/docs/guides/oauth). Lists four tools by default; add `?tools=chat` for the twelve a chat app needs (import, activity, usage, sharing, approvals), or `?tools=all` to list all 43. A space can be shared by several agents, each with its own key: https://memlane.sh/docs/sharing - Get a key (device connect): `curl -X POST https://api.memlane.sh/v1/connect -H 'content-type: application/json' -d '{"name":""}'` returns `{user_code, verification_uri_complete, device_code, interval}`. Show the person the link; they sign in (or create an account) and pick a memory. Poll `POST https://api.memlane.sh/v1/connect/token` with `{"device_code":"..."}` every `interval` seconds (400 `authorization_pending` until approved); it then returns your own `api_key`, once: https://memlane.sh/docs/quickstart - Every docs page is Markdown: append `.md` to its URL or send `Accept: text/markdown`. All docs in one file: https://memlane.sh/llms-full.txt - Skill: https://memlane.sh/skill.md - Changelog: https://memlane.sh/changelog.md. What changed in the memlane API and MCP server, and what you may need to do about it. ## Start here - [memlane docs](https://memlane.sh/docs.md): The easiest memory setup, for any agent. One account for all your agents, no LLM on our side, and you can see exactly what it stored. - [Quickstart](https://memlane.sh/docs/quickstart.md): Connect to a memory in your account, store a fact, and read it back, using curl or MCP. - [Agent quickstart](https://memlane.sh/docs/agent-quickstart.md): A copy-paste prompt that makes your agent connect to a memory in your account, store its key safely, and use memory on every task. Works for coding agents, personal agents and bots, and chat apps like ChatGPT, Claude, and Grok. - [Accounts](https://memlane.sh/docs/accounts.md): One account holds all your memories. Every app and agent you connect joins a memory you pick, so there are no extra memories by accident, and signing in gets you back in when keys are lost. ## Concepts - [Concepts](https://memlane.sh/docs/concepts.md): The primitives in a memlane space - members, memories, journal, records, actions, KV, events, context, batch, and forget - and how they fit together. - [Share a memory box](https://memlane.sh/docs/sharing.md): Give several agents one memory, each with its own key. Invite with a one-time code, see which agent wrote each fact, and remove one agent without touching the others. - [Keys and recovery](https://memlane.sh/docs/keys-and-recovery.md): How memlane keys work, why each app should have its own, how to see which app each member uses, and how a recovery code gets you back in when every key is lost. - [Dreaming](https://memlane.sh/docs/dreaming.md): Nightly memory consolidation. Housekeeping without an LLM, then a model stage that runs on your agent's model (client mode) or on Workers AI (server mode). Bounded, safe for user-stated facts, and undoable for 7 days. - [Your own OpenAI key](https://memlane.sh/docs/own-openai-key.md): Use your own OpenAI key for meaning search. The embedding calls are billed to your OpenAI account, and the key is stored encrypted and can't be read back. - [Forget and privacy](https://memlane.sh/docs/forget-and-privacy.md): What memlane stores, the activity log, how forget hard-deletes with content-free tombstones, the 7-day undo history, 90-day inactivity deletion, daily index purge, and backups. - [Export and import](https://memlane.sh/docs/export-and-import.md): No lock-in. Export everything your agents stored, take it to ChatGPT, Claude, your code editor, or your own agent, and bring memory from them into memlane. With prompts for each. - [Limits](https://memlane.sh/docs/limits.md): Per-space quotas, request and rate limits, and the size limits on each field. These are the hosted defaults. ## Reference - [API reference](https://memlane.sh/docs/api-reference.md): Every memlane REST endpoint with its method, path, and operationId, each with a page where you can try it. - [MCP tools](https://memlane.sh/docs/mcp-tools.md): The memlane MCP tools and their arguments. Four are listed by default, twelve with ?tools=chat, and all 43 with ?tools=all. Streamable HTTP, stateless, authenticated with a bearer key. ## Agent guides - [Claude Code](https://memlane.sh/docs/guides/claude-code.md): Connect Claude Code to memlane over MCP with one command, or with a project .mcp.json that reads the key from an environment variable. - [Claude Desktop and claude.ai](https://memlane.sh/docs/guides/claude-desktop.md): Add memlane to Claude Desktop or claude.ai as a custom connector that signs in with OAuth, with a request header, or through the mcp-remote bridge. - [ChatGPT](https://memlane.sh/docs/guides/chatgpt.md): Give ChatGPT long-term memory with memlane, as a custom MCP server that signs in with OAuth or as the memlane plugin (ZIP or marketplace). Sign in once and pick your memory; no key to copy. - [Grok](https://memlane.sh/docs/guides/grok.md): Give Grok long-term memory with memlane, as a custom connector that signs in with OAuth. Sign in once and pick your memory; no key to copy. - [Cursor](https://memlane.sh/docs/guides/cursor.md): Connect Cursor to memlane with .cursor/mcp.json and read the key from an environment variable. - [OpenAI Agents SDK and Codex](https://memlane.sh/docs/guides/openai.md): Use memlane from the OpenAI Agents SDK (Python and TypeScript), the Responses API hosted MCP tool, and the Codex CLI. - [Guild.ai](https://memlane.sh/docs/guides/guild.md): Import the memlane OpenAPI document into Guild as an integration with API-key auth, so Guild agents get every operation as a tool. - [Connect with OAuth sign-in](https://memlane.sh/docs/guides/oauth.md): Add memlane to an app that signs in with OAuth (ChatGPT, claude.ai, Claude Desktop, Claude Code, Cursor, Grok) without copying a key. You sign in to your memlane account and pick the memory; the app gets its own member there. - [Other MCP clients](https://memlane.sh/docs/guides/mcp-clients.md): Connect any MCP client that supports Streamable HTTP, with a key in a header or with OAuth sign-in, or bridge stdio-only clients with mcp-remote. - [REST with curl](https://memlane.sh/docs/guides/rest.md): A tour of the memlane REST API with curl - space, facts, journal, records, approvals, KV, events, batch, and forget. - [Build your own agent loop](https://memlane.sh/docs/guides/agent-loop.md): The pattern for a custom agent - get_context at the start of a run, one atomic batch at the end, approvals through the action ledger, and nightly dreaming on your own model. ## More - [Benchmarks](https://memlane.sh/docs/benchmarks.md): How well memlane's recall finds the right conversation on the LongMemEval benchmark (cleaned release), how that compares with published results, and what was and wasn't measured. - [memlane vs Mem0 (and mem0's OpenMemory)](https://memlane.sh/docs/compare/mem0.md): How memlane.sh differs from Mem0 and Mem0's OpenMemory - setup, who decides what is stored, sharing, deletion, self-hosting, and price. Mem0 facts checked on 11 November 2026. - [memlane vs Zep (and Graphiti)](https://memlane.sh/docs/compare/zep.md): How memlane.sh differs from Zep Cloud and Zep's open-source Graphiti - setup, who decides what is stored, MCP, sharing, deletion, self-hosting, and price. Zep facts checked on 29 November 2026. - [memlane vs Letta (formerly MemGPT)](https://memlane.sh/docs/compare/letta.md): How memlane.sh differs from Letta - what each one is, setup, who decides what is stored, sharing, self-hosting, and price. Letta facts checked on 29 November 2026. - [memlane vs Supermemory](https://memlane.sh/docs/compare/supermemory.md): How memlane.sh differs from Supermemory - setup, who decides what is stored, sharing, deletion, self-hosting, and price. Supermemory facts checked on 29 November 2026. - [memlane vs built-in memory (ChatGPT, Claude, Cursor)](https://memlane.sh/docs/compare/built-in-memory.md): ChatGPT and Claude already remember things. How their built-in memory differs from memlane, when the built-in memory is enough, and when one shared memory helps. Vendor facts checked on 29 November 2026. - [FAQ](https://memlane.sh/docs/faq.md): Common questions about memlane - cost, accounts, keys, data, and dreaming. ## Optional - [OpenAPI document](https://api.memlane.sh/openapi.json): machine-readable REST API (OpenAPI 3.0.3) with stable operationIds. - [Full docs](https://memlane.sh/llms-full.txt): every page above concatenated into one file.