Docs

Install hosted memory for agents.

Install the Bun package, sign in, register your agent hooks, then save and search remote memory from any MCP-compatible host.

Install

Install the SaaS package where Claude Code, Codex, OpenCode, or Antigravity can run it.

bun install -g @hasna/mementos

Sign in

Create or reuse a hosted account. The SaaS package does not create a local SQLite store.

mementos auth signup

Set up agents

Install the MCP hooks and memory injection config for your local agent hosts.

mementos setup agents

Save memory

Write facts, decisions, and project notes to hosted PostgreSQL with tags and scope.

mementos memory save --key project-decision --value "Use hosted memory for SaaS users" --tag architecture

Search memory

Ask for the right context before planning or editing.

mementos memory search "remote SaaS boundary"

Tool surface

MCP tools

agent.registeragent.heartbeatmemory.savememory.searchmemory.getmemory.updatememory.deletememory.usagebrain.fire

API routes

HTTP contracts

/api/v1/agents/api/v1/memories/api/v1/runs/api/v1/billing/status/api/v1/billing/usage/api/v1/billing/invoices/api/v1/approvals/api/v1/feedback

Smoke test

Verify recall through the API.

curl -H "Authorization: Bearer $MEMENTOS_API_TOKEN" https://mementos.md/api/v1/memories?limit=5
Browse memories

Need the short path?

Install, sign in, set up agents, save, search. That is the core loop.

Home
bun install -g @hasna/mementos