Manage workspace memory
This guide shows you how to manage your workspace’s knowledge store.
Memory domains
Section titled “Memory domains”Domains group related knowledge. Create domains for different aspects of your project:
- Navigate to Memory in the sidebar
- Click Create domain
- Enter a name (e.g. “conventions”, “api-design”, “security”)
- Add a description
- Click Create
Domains are workspace-scoped and control access boundaries.
Add facts
Section titled “Add facts”Facts are knowledge units that agents can retrieve during dispatch.
- Navigate to a memory domain
- Click Add fact
- Enter:
- Topic: a short label (e.g. “error handling pattern”)
- Content: the knowledge text (e.g. “All API errors use the Problem Details RFC 7807 format with a
typefield.”) - Confidence: how confident you are in this fact (0.0–1.0)
- Click Save
Facts are embedded automatically for vector search. Agents retrieve relevant facts based on the conversation context — you don’t need to explicitly link facts to agents.
Supersede facts
Section titled “Supersede facts”When knowledge changes, supersede the old fact:
- Find the outdated fact
- Click Supersede
- Enter the new content
- Save
The old fact is marked as superseded and won’t appear in search results, but it’s preserved for audit trail.
Add policies
Section titled “Add policies”Policies are normative rules derived from facts. They constrain agent behavior.
- Navigate to a domain
- Click Add policy
- Enter:
- Rule: the normative statement (e.g. “Never use
print()for logging — always use theAppLogutility.”) - Required role: optionally gate to a specific role (e.g. only “coder” agents see this policy)
- Source facts: link to the facts that justify this policy
- Rule: the normative statement (e.g. “Never use
- Click Save
Active policies are injected into agent prompts when relevant.
Control access
Section titled “Control access”Memory access grants determine which agent roles can read or write to each domain.
- Navigate to Memory → Access grants
- For each domain, set permissions per role:
| Permission | Effect |
|---|---|
none | The role cannot see facts in this domain |
read | The role can search and retrieve facts |
write | The role can create, update, and supersede facts and policies |
For example, you might grant:
- Coder: read access to “conventions”, write access to “api-design”
- Reviewer: read access to “conventions” and “security”
- Security: read/write access to “security”
Working memory
Section titled “Working memory”Each agent has a private working memory scratchpad. Agents use it to persist transient state across runs (e.g. “I’m in the middle of refactoring the auth module”).
Working memory is automatically injected into the agent’s prompt at dispatch time. You don’t manage it directly — it’s agent-owned.
Search
Section titled “Search”Control Center searches memory using a hybrid approach:
- Vector search: semantic similarity between the query and fact embeddings
- FTS search: full-text keyword matching
- Hybrid (RRF): combines both for the best results
Agents automatically search memory during dispatch via BuildMemoryContextUseCase. You can also search manually from the Memory view.