---
title: "Agent Memory Scopes"
description: "Which memory scope each agent uses, and why the default stays project."
canonical: "https://orchestkit.dev/docs/agents/memory-scopes"
---

# Agent Memory Scopes

Which memory scope each agent uses, and why the default stays project.

# Agent Memory Scopes

Every agent's `memory:` frontmatter value sets where its persistent notes live. This page lists the value each agent carries today and why the default is `project`. The split is **27 project, 8 local, 1 none**.

## The scopes Claude Code defines

| Scope | Location | Use when |
|-------|----------|----------|
| `user` | `~/.claude/agent-memory/<agent>/` | the agent should remember learnings across all projects |
| `project` | `.claude/agent-memory/<agent>/` | the knowledge is project-specific and shareable via version control |
| `local` | `.claude/agent-memory-local/<agent>/` | the knowledge is project-specific but must not be checked into version control |

Source: the [Claude Code sub-agents documentation](https://code.claude.com/docs/en/sub-agents). `none` is not one of the three documented values; `expect-agent` carries it as a deliberate "no persistent notes" marker.

## Why the default stays `project`

A `user` scope shares one memory directory across every repository a person works in. An agent that learned a fact in a private repository can then recall it in a session on a public repository, where it can end up in a commit, a pull request or a transcript. `project` keeps what an agent learns inside the repository it learned it in, and `local` does the same without committing the notes. The cost is that org-wide facts (infrastructure layout, naming rules) are learned again in each repository. That trade is accepted: a repeated lesson is cheap, a leaked private fact is not. Moving a chosen generic agent to `user` is a decision for the maintainer, per agent, not a default (decided for #3132).

## The matrix

The table below is checked against the `memory:` line of each `src/agents/*.md` file by `scripts/check-docs-facts.mjs`, so a row that disagrees with its agent fails CI.

| Agent | Memory scope |
|-------|--------------|
| `accessibility-specialist` | `project` |
| `ai-safety-auditor` | `local` |
| `backend-system-architect` | `project` |
| `ci-cd-engineer` | `project` |
| `claude-design-orchestrator` | `project` |
| `code-quality-reviewer` | `project` |
| `component-curator` | `project` |
| `data-pipeline-engineer` | `project` |
| `database-engineer` | `project` |
| `debug-investigator` | `local` |
| `demo-producer` | `local` |
| `deployment-manager` | `project` |
| `design-context-extractor` | `project` |
| `design-system-architect` | `project` |
| `emulate-engineer` | `project` |
| `eval-runner` | `project` |
| `event-driven-architect` | `project` |
| `expect-agent` | `none` |
| `frontend-performance-engineer` | `project` |
| `frontend-ui-developer` | `project` |
| `genui-architect` | `project` |
| `git-operations-engineer` | `project` |
| `infrastructure-architect` | `project` |
| `llm-integrator` | `project` |
| `market-intelligence` | `local` |
| `monitoring-engineer` | `project` |
| `multimodal-specialist` | `project` |
| `product-strategist` | `local` |
| `python-performance-engineer` | `project` |
| `release-engineer` | `project` |
| `security-auditor` | `local` |
| `security-layer-auditor` | `local` |
| `system-design-reviewer` | `project` |
| `test-generator` | `project` |
| `web-research-analyst` | `local` |
| `workflow-architect` | `project` |

## Changing a scope

1. Edit `memory:` in the agent's frontmatter.
2. Update its row above. `node scripts/check-docs-facts.mjs` tells you which row is stale.
3. Say in the pull request why the agent's notes belong in the new scope; a move to `user` needs the private-repository argument answered.
