Introduction

Weavekeep is a memory for your AI agents. It is a command-line tool that runs on your machine, records your agent sessions in a local SQLite database, and gives the useful parts back to the agent in later sessions. Every agent you connect shares the same memory.

You install it once. weavekeep install sets up Claude Code, Codex and Cursor through the hooks and MCP support they already have. Any other MCP client can use the four memory tools by starting weavekeep serve; see Other MCP clients.

What it does

Starts each session with your decisions

A new session begins with the project's saved decisions and facts, and the last message of the previous session.

Adds matching memory to your prompts

When a prompt names something you saved, the saved decision is added to the prompt.

Shares rules between agents

Tell Claude Code "use pnpm, never npm", and the next Codex or Cursor session in that project starts with it.

Keeps memory in plain files

Decisions and facts are also Markdown files. Edit a line, and Weavekeep follows.

Finds leaked keys

weavekeep scan lists the API keys and passwords your agents kept in their own transcripts, masked, so you know what to rotate.

Supported agents

Claude CodeCodex CLICursor
Records sessionsYesYesYes
Memory at session startYesYesYes
Memory added to promptsYesYesYes, after the first tool call of the turn
Memory tools (recall, remember, timeline, forget)YesYesYes

Each agent's page lists the exact changes weavekeep install makes: Claude Code, Codex, Cursor.

Another MCP client gets the memory tools only: its sessions are not recorded and do not start with memory.

What it does not do

  • No cloud and no account. Memory stays in ~/.weavekeep and never leaves your machine. The only download is the local search model (about 24 MB), once.
  • No hosted model. Weavekeep never sends your code or memory to an AI service. Search is keyword search plus semantic search, a small model that runs on your machine. It is on by default. Your memory never leaves your machine. The only download is the local search model (about 24 MB), once; weavekeep embeddings off turns it off.
  • No secrets stored. API keys, tokens, private keys and passwords are replaced with a marker before anything is saved. See Privacy and security for the details and the limits.

Weavekeep is free to use, for personal and commercial work.

Next steps

On this page