Skip to content

Agent Memory overview

Give AI assistants durable, cross-session facts about you and your projects, scoped and quota-bound per plan.

Jacob Cansler · Maker of Gryz

Updated Reviewed by Jacob Cansler

For your agent

What is Agent Memory?

Agent Memory is a store of durable facts your AI assistants read and write across sessions, so they stop re-learning the same things every conversation. It keeps the preferences, decisions, and project context that would otherwise be lost when the chat ends. Facts are stored as short, atomic statements (for example, "Prefers concise answers" or "This repo's staging DB is on Supabase"), each with its own provenance, salience, and recall ranking.

Available on Starter and above; requires a signed-in Gryz account.

Personal vs. project scope

Every memory is stored under one of two scopes (team members also get a third, private one, described below):

  • Personal: facts about you that apply everywhere you use the assistant (preferences, working style, standing decisions).
  • Project: facts scoped to a specific codebase or workspace, keyed by a derived project_key (from the git remote, repo path, or a slug you provide). Project memories only surface when the assistant is working in that same project.

agent_onboarding derives the right project_key for the current workspace and returns an idempotent rule block to place in your agent's config (AGENTS.md, CLAUDE.md, or a Cursor rules file) after explicit approval. See placement guidance for exact semantic targets. The old setup_memory name remains only as a compatibility alias.

Private memory for a team member

If you use Agent Team, each team member also has its own private memory, saved with scope: "agent".

  • A member can read and write only its own private memory. Other members cannot see it, and cannot tell that it exists.
  • A member never sees your personal memory.
  • You can read, add and delete a member's private memory from its page in the dashboard.
  • It counts toward your total memory limit. There is no separate limit per member.

Work with Agent Memory from an AI assistant

After you connect Gryz through MCP, an assistant has five Agent Memory tools:

  • remember stores an atomic fact (scope, body, optional project_key, salience).
  • recall retrieves scoped memories ranked by relevance, salience, and recency, returned inside an untrusted-data delimiter, since memory bodies can contain agent- or human-authored text.
  • list_memories lists memories with a provenance summary, for browsing rather than ranked retrieval.
  • forget removes a memory by id from the live database for good: its text, every earlier version, any quoted source passage and any topic name only it used. Gryz keeps no text, only a record that something was forgotten, and when. Assistants are told to ask you first. There is no undo, and the memory no longer shows when an assistant looks back at an earlier date. When a team member forgets, an earlier version someone else wrote stays until you forget it. A copy you brought into a company stays until it is removed there. See data retention for what this does not cover.
  • agent_onboarding derives project_key and proposes the rule block above; it never writes to disk itself.

See the MCP tool reference for exact inputs, safety annotations, and rate limits.

Where a fact came from

When this is turned on for your account, a saved fact can name the Gryz document it came from.

  • What a source is. When an assistant saves a fact it read in one of your Gryz documents, it can name that document (up to 5) and quote the passage the fact rests on. Gryz checks that the assistant can open the document and that the quote really is in it. A personal fact can only name your own personal documents, and a company fact can only name documents of that company.
  • Source changed. When someone edits the document's text or title, every fact saved from it is marked "source changed". Assistants see this when they look the fact up, along with the passage it was saved from, and are told to read the document again before relying on the fact. Then they save it again (which marks it current) or ask you whether to forget it. Moving a document to another folder does not count as a change.
  • Source deleted. When the document is deleted, the fact stays, with the passage it was saved from, and is marked "source deleted". Nothing is forgotten on its own.
  • In a company, facts whose source changed or was deleted show up under To check in the Review inbox for people who can edit that project.
  • Forget what was learned from a document. You can forget, in one step, every fact whose only source is a given document. You see the list first and nothing is forgotten until you confirm. A company with a legal hold keeps its facts until the hold is lifted.

Plan limits

Every write (remember, POST /api/memory/, and JSONL import) is gated by two independent quotas. Hitting either returns an error rather than silently dropping data:

PlanTotal memories (personal + project combined)Distinct projects
Free00
Starter501
Pro5003
Pro PlusUnlimitedUnlimited

Personal-scope memories share the same total-count quota as project-scope ones. It is not a separate allowance per scope. See the Memory API reference for the full table and REST equivalents.

Manage memories in the dashboard

In My Docs → Agent Memory, you can browse, filter by kind, sort, and inspect the full provenance of any stored fact, or delete one directly. Memory Insights surfaces health signals like near-duplicate flags and recall frequency across your stored facts.

Terms and further reading

  • Agent Memory terms: glossary of scope, salience, provenance, and recall-ranking terms used throughout this section.
  • Memory API reference: REST equivalents of the MCP tools, for the dashboard's same-origin fallback.
Was this page helpful?

Next steps