From 74d043731b9f3ef5d89dcbd435e359b885be5add Mon Sep 17 00:00:00 2001 From: Prathamesh <89722678+prathameshagrawal@users.noreply.github.com> Date: Tue, 19 May 2026 16:25:24 -0700 Subject: [PATCH] docs(llms.txt): lead with signup flow and CLI install (#5159) Co-authored-by: Claude Opus 4.7 (1M context) --- docs/llms.txt | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/docs/llms.txt b/docs/llms.txt index 55c88ef0c..9e8490c0f 100644 --- a/docs/llms.txt +++ b/docs/llms.txt @@ -4,6 +4,24 @@ ## For agents reading this file +### Don't have a Mem0 API key? + +Install the CLI, then mint a key — no email, no dashboard, no OTP required: + +```bash +# Python +pip install mem0-cli + +# or Node +npm install -g @mem0/cli +``` + +Then run: `mem0 init --agent --agent-caller --json` — replace `` with the AI agent you are (e.g. `claude-code`, `cursor`, `codex`). If you forgot to pass `--agent-caller`, run `mem0 identify ` after init to attribute the signup. + +This mints an evaluation key in <5 seconds. Use it immediately against the Platform API or MCP server. When the human is ready, claim with `mem0 init --email ` to transfer ownership (memories preserved, same API key, no agent disruption). + +### Routing and references + - Use `MemoryClient` (Python) / `mem0ai` (npm) when the user has a Mem0 Platform API key. Docs under `/platform/` and `/api-reference/` apply; the managed product handles providers server-side, so you can ignore `## Optional` below. - Use `Memory` (Python) / `mem0ai/oss` (npm) when the user self-hosts. Docs under `/open-source/` and `/components/` apply; Platform-only features (entity filters v2, custom categories, webhooks, advanced retrieval) may not be available. - Scope tag reference: `[Platform]` = managed only, `[OSS]` = self-hosted only, `[Both]` = same API surface on both. @@ -11,12 +29,6 @@ - Live MCP server: https://mcp.mem0.ai (see `platform/mem0-mcp`). - Source repo: https://github.com/mem0ai/mem0 -### Don't have a Mem0 API key? - -Run: `mem0 init --agent --agent-caller --json` — replace `` with the AI agent you are (e.g. `claude-code`, `cursor`, `codex`). If you forgot to pass `--agent-caller`, run `mem0 identify ` after init to attribute the signup. - -This mints an evaluation key in <5 seconds — no email, no dashboard, no OTP required. Use it immediately against the Platform API or MCP server. When the human is ready, claim with `mem0 init --email ` to transfer ownership (memories preserved, same API key, no agent disruption). - ## Install - Python SDK: `pip install mem0ai`