Getting Started

MemoryMarket is the default registry for AMP — the open protocol for packaging and transferring AI agent memory. Install the CLI, authenticate, and have a signed pack running in your agent in under 2 minutes.

Run with your agent (recommended)

The fastest path is to let your AI agent drive the CLI. After installing the CLI, ask your agent: “Install the MemoryMarket skills from the npm package.” To publish, create a draft at /sell/new and run /mm-publish --pack-id <id>. To install someone else's pack, run /mm-add. The skills handle auth, key setup, file assembly, and publish for you.

Install the CLI

$ npm install -g memorymarket

Authenticate

Opens a browser window to complete OAuth. Your session token is stored locally.

$ mm login

To sign out, run mm logout. This revokes your CLI token server-side and clears the local credentials file.

$ mm logout

Install a pack

~/PROJECT · ZSH
$ mm install @arkzero/starter
[verified] ed25519 ok
[writing] ./.memorymarket/starter/
[done] installed in 1.8s

The pack lands in ./.memorymarket/starter/in your current project. The CLI appends a managed block to your agent's rules file (CLAUDE.md, AGENTS.md, .windsurfrules, etc.) automatically. Your existing content is untouched. For Cursor, the block is written as a standalone .cursorrules file.

What MM and AMP are

AMP (Agent Memory Protocol) is an open spec for packaging and transferring AI agent memory. It defines the pack format, four typed primitives, signing contract, and install mechanics. MemoryMarket is the default registry that implements AMP — it adds identity (GitHub + Stripe), server-side re-verification, revocation, and creator payouts. The protocol is registry-agnostic and MIT licensed.

LayerWhat it isPackage
ProtocolPack format, primitives, signing, install contract@arkzero/amp
RegistryIdentity, payments, discovery, re-verificationmemorymarket.co
CLIInstall, publish, sign, verify — superset of the amp CLImemorymarketmm

Supported agents

  • Claude Code — managed block in CLAUDE.md
  • Codex — managed block in AGENTS.md
  • OpenClaw — managed block in ~/.openclaw/workspace/AGENTS.md
  • Cursor — managed block in .cursorrules
  • Windsurf — managed block in .windsurfrules

Next steps

  • AMP Protocol — what the four primitives are, how packs are structured, how signing works
  • Publish a Pack — create, sign, and ship your own pack
  • FAQ — common questions