Update Agent Memory
Each Mansa agent maintains a patterns.md file. This is a running log where it records what it has learned across runs: edge cases it encountered, failure modes it hit, and lessons it drew from them. Agents read this file at the start of every session to inform their behaviour without repeating past mistakes.
Memory files are structured Markdown logs. Each entry is a written account of an incident or observation, with enough context to be meaningful on re-read. Over time, the Dreamer agent consolidates these raw logs into cleaner, more structured sections. It groups related lessons, removes resolved one-offs, and keeps the file focused.
Memory Stores
Section titled “Memory Stores”| Memory Store | Used By | What It Records |
|---|---|---|
| BKR Patterns & Lessons | Mansa (Coordinator) and Email Processor | Run-level coordination patterns, classification edge cases, handover lessons, failure modes |
| BKR Meeting Patterns | Meeting Agent | Meeting note parsing patterns, decision extraction, task assignment rules |
| BKR Attio Memory | Email Processor | Attio field observations, deduplication patterns, record creation rules |
When to Edit Memory Manually
Section titled “When to Edit Memory Manually”Manual edits are rare. The main reasons:
- An agent recorded an incorrect lesson and you need to remove it before the next run reinforces it
- You want to seed a pattern the agent hasn’t encountered yet (e.g. a new email format BKR Capital has started receiving)
- A Dreamer compaction preserved a stale or misleading entry
How to Edit a Memory File
Section titled “How to Edit a Memory File”Step 1: Open the Claude Console
Section titled “Step 1: Open the Claude Console”Go to platform.claude.com/dashboard and sign in.
In the left sidebar, expand Managed Agents and click Memory stores.
Step 2: Find the Agent’s Memory Store
Section titled “Step 2: Find the Agent’s Memory Store”Locate the memory store for the agent you want to edit. Click on it to open the store.
Step 3: Edit the patterns.md File
Section titled “Step 3: Edit the patterns.md File”Open patterns.md and make your edits. You can remove stale entries, correct a wrong lesson, or add a new one.
Each entry should read as a self-contained log: what happened, what the agent concluded from it, and (if applicable) what it should do differently. Write in the same style as the existing entries so the Dreamer can compact them consistently.
Save when done. The agent picks up the updated file on its next run.
What the Dreamer Does Automatically
Section titled “What the Dreamer Does Automatically”The Dreamer agent runs weekly and processes each patterns.md:
- Reads the raw incident log entries written since the last compaction
- Groups related lessons and collapses duplicates into a single canonical entry
- Strips entries that reference specific companies, founders, or one-off deals (keeps lessons general)
- Removes entries marked as resolved
- Rewrites the file as a cleaner set of structured sections
You can review the Dreamer’s compaction output in the Claude Console under the weekly compaction session.
Rollback
Section titled “Rollback”If a manual memory edit causes unexpected agent behaviour, contact Adullam Technologies to revert the file to a previous version via the Claude Console API.
