Your first session

After weavekeep install, start a new session in a project. Here is what the agent gets, and the three commands you will use most: remember, recent and search.

The first session in a project

Memory starts empty, so the first session gets only a short note:

Weavekeep memory for /home/you/projects/shop.

When the user states a lasting rule, preference or decision, or you would save one to your own memory, also save it with the Weavekeep `remember` tool: that is how the user's other agents learn it.
Before you propose topics, options or an approach, re-decide something, or ask what the user may have told another agent, call the Weavekeep `recall` tool with a few keywords. Never bring back what the user stopped or rejected.
If the Weavekeep tools are deferred, load them first with ToolSearch: select:mcp__weavekeep__recall,mcp__weavekeep__remember.

No stored facts for this project yet.

The guidance lines start every session. They tell the agent to save the rules you state to Weavekeep, and to search memory before it asks you something. The last guidance line is for Claude Code only.

Tell the agent a rule, such as "use pnpm, never npm". It saves the rule with its remember tool, and the next session in this project starts with it, in any of your agents.

Later sessions

Once there is something to show, the block at session start holds the project's decisions, your rules for every project and stored facts, one line each, and the start of the agent's last message from the previous session:

Weavekeep memory for /home/you/projects/shop.

When the user states a lasting rule, …

Decisions (from /home/you/.weavekeep/memory/shop-3f2a91c0/decisions.md):
- Payments go through Stripe Checkout
- Use Drizzle for queries, never raw SQL

Your rules for every project:
- Never add AI attribution to commits

Current facts:
- staging-db uses: postgres

Final assistant message of the previous session (<session id>, <time>):
Fixed the cart total rounding bug in src/cart/total.ts. Tests pass.

Your prompts get memory too: when a prompt closely matches a saved decision or fact the session has not seen yet, Weavekeep adds it to the prompt. Most prompts get nothing. See How it works for the limits and rules.

Save a decision

Run remember in your project folder:

Terminal
weavekeep remember "Cart totals round half-even"
✓ Saved decision 4c9e21aa in ~/.weavekeep/memory/shop-3f2a91c0/decisions.md

The decision goes into the project's decisions.md at once, and every later session starts with it. 4c9e21aa is its short id. See Save memory for facts, rules for every project, and what your agent saves.

List recent sessions

Terminal
weavekeep recent
Recent sessions in ~/projects/shop
  2h ago           claude  the rounding in total.ts is off again                 12 events  9c1d0e47
  yesterday 17:40  claude  fix the cart total rounding bug in src/cart/total.ts  48 events  7b20aa31

Each line shows when the session was last active, the agent, its first prompt, how many events it recorded, and its short id. Add --all for every project.

Search memory

Terminal
weavekeep search rounding total.ts
Decisions and facts
  Cart totals round half-even                                          2h ago  4c9e21aa

Sessions
  2h ago           claude  you    the rounding in total.ts is off again        cb0c83ea
  yesterday 17:40  claude  agent  Fixed the cart total rounding bug in src/c…  a4f7eebe

Decisions and facts come first, then matching moments from sessions. See Search your memory.

If something should not be remembered, pass its short id to weavekeep forget. See Forget and export.

On this page