Stop Re-Teaching Agents

The unified agent memory layer.

Durable, local-first state for coding agents. Store rules once, recall context, and generate native configs for every tool; offline by default, sync when you need it.

$pnpm add -g memories
Live StateLocal
Ask your agent to pick up where you left off...
“Continue the auth refactor with the same error-handling rules.”
Recent Context
Use Tailwind for all UI componentsStored
Prefer zod over joi for validationStored
Keep auth logic in /lib/auth.tsStored
Recall and generate configs in one command

Works with

Cursor
Claude Code
Copilot
Windsurf
Cline
Codex
Gemini
Roo
OpenCode
Kilo
Amp
Trae
Goose
Cursor
Claude Code
Copilot
Windsurf
Cline
Codex
Gemini
Roo
OpenCode
Kilo
Amp
Trae
Goose
Cursor
Claude Code
Copilot
Windsurf
Cline
Codex
Gemini
Roo
OpenCode
Kilo
Amp
Trae
Goose
How It Works

Three commands.
That's it.

1
1

Store

terminal
$
memories add"Use Tailwind for styling"

Save rules, preferences, and context to a local SQLite database. Works offline, always.

2
2

Recall

terminal
$
memories recall"auth"

Query by keyword or semantic search. Get relevant context for your current task.

3
3

Generate

terminal
$
memories generatecursor

Output native config files for any supported tool. One memory store, any agent.

Core Features

Built for durable state

Durable Local State

Rules and context live in a local SQLite store with embeddings, so agent state persists even offline.

Always available

Semantic Recall

Recall related decisions, not just keywords. 'auth issues' finds JWT validation errors.

Consistent behavior

Tool-Native Output

Generate native configs for Cursor, Claude Code, Copilot, Windsurf, Cline, Roo, Gemini, and more.

One command

Scoped Memory

Keep global preferences separate from repo rules, auto-scoped via git remote.

Right context

Portable State

Export everything to JSON or YAML anytime. Switch tools or leave entirely. Your data is yours.

No lock-in

MCP Server

Built-in Model Context Protocol server with 7 tools so agents can access state directly.

memories serve
Quick Start

Get Started

memories-sh // bash
Install
npm install -g @memories.sh/cli
Init
memories init
Add state
memories add --rule 'Use Tailwind for all UI components'
Recall state
memories recall 'styling preferences'

Two Memory Layers

Memories are stored in two layers of state. Global Scope is your persistent state across tools and projects. Project Scope is repo-specific, keeping agent context aligned with the current codebase and team rules.

Pricing

Simple, Transparent Pricing

Free gives you durable local state and recall on your machine. Pro adds sync and backup for that state across every device you work on.

Free

$0/month

Durable state on your machine. No account required.

Included Features
  • Unlimited local memories
  • Local semantic recall
  • 13+ tool configs
  • Built-in MCP server
  • Works offline by default
  • Export to JSON/YAML anytime
Get Started
Recommended

Professional

$15/month

Sync and back up state across machines.

Included Features
  • Everything in Free
  • Cloud backup and sync
  • Access from any device
  • Web dashboard
  • Server-side semantic recall
  • Priority support
Go Pro

Enterprise

Custom

For teams that need shared state and compliance.

Included Features
  • Everything in Professional
  • Team rule sharing
  • Dedicated support and SLA
  • SSO and team management
  • Custom integrations
  • Volume licensing
Contact Us
Support

Questions & Answers

Memories – Durable State for Coding Agents