Skip to main content
Memory is freeform notes Swan keeps around across conversations — the place for context that doesn’t fit a structured field in org knowledge, like a standing preference, a fact someone told Swan in passing, or a nuance about how to handle a particular account. Swan writes to memory itself as it learns things from you; you can also read and edit it directly. There are four levels:
  • Org memory — durable facts and preferences that apply to the whole organization (e.g. “never mention pricing before a demo is booked”). Org memory is loaded into every conversation automatically. Writing to it is Admin-only. Where: the Org tab at agent.getswan.com/memory.
  • User memory — your own personal preferences and notes (e.g. how you like emails written, your calendar habits). Only you can write to your user memory, and it’s loaded into your own conversations. Where: the Personal tab at agent.getswan.com/memory.
  • Record memory — context tied to a single record, such as a company, contact or deal (e.g. “this account had a bad support experience in 2024, mention carefully”). Every record has a folder in the brain, /brain/records/{object}/{slug}/ (a company’s is /brain/records/companies/{domain}/), and its memory is the MEMORY.md file inside it. The folder appears once something is first saved to it. Swan reads and updates a record’s memory when it’s actively working on that record, rather than loading it into every conversation by default. Reading record folders needs Record read permission and writing needs Record update. Where: for a company, the memory card on its page (https://agent.getswan.com/companies/{companyId}) or its Memory tab at https://agent.getswan.com/companies/{companyId}?tab=memory.
  • Agent memory — what one agent’s runs have learned (e.g. “prospects at banks reply better to compliance angles; skip agencies”). Every agent keeps a memory folder: its MEMORY.md and a list of the folder’s files are loaded into every run of the agent’s automations. See agent memory below.

Memory size caps

Each user memory is a single document capped at 2,500 characters of plain text; org memory, each record’s memory, and each agent’s memory allow 10,000 characters. Markdown formatting (headers, bold, bullet points) doesn’t count against the cap, so you’re free to structure a memory for readability without it eating into your budget. When you ask Swan to check a memory’s status, it reports how much capacity is used. Once a memory crosses roughly 70% full, Swan treats consolidation as routine internal maintenance and will trim it before adding more — collapsing redundant notes, dropping stale information, tightening phrasing — so you don’t lose new information to a hard limit. An agent’s memory works differently: past 5,000 characters, the agent moves its longest or oldest topics into files in its memory folder, writing each file before it shortens the entry, and keeps one line that links to it. Swan doesn’t notify people or open tickets about memory capacity. If an edit would push a memory over the cap, the write is rejected rather than silently truncated, then Swan makes room and retries.

Mentions

A memory, like any page in the brain, mentions a record or another page with a link to its /brain path, such as [Acme](/brain/records/companies/acme.com) or [Q4 plan](/brain/workspace/org/plans/q4.md). Swan writes these links itself when it saves a page, and it can find the pages that mention a record or a page. Pages, skills, agents and automations link a skill, agent or automation the same way, by its folder: [Reach out](/skills/org/reach-out), [Renewals](/agents/org/renewals) or [Daily digest](/agents/org/reporting/automations/daily-digest). When something linked is renamed or moved, Swan rewrites the links to it in the background. A link’s text counts toward the memory cap; its path doesn’t.

Agent memory

Every agent keeps a memory folder, so runs of its automations build on earlier runs instead of starting from scratch:
  • What’s loaded. The folder’s MEMORY.md goes whole into every run of the agent’s automations, including the sub-agents those runs start, together with a list of the folder’s files. Runs open the other files when they need the detail. MEMORY.md is capped at 10,000 characters; past 5,000, the agent’s heartbeat moves the longest or oldest topics into files and keeps a linked line for each.
  • Who writes it. The agent’s own runs, and the people who can edit the agent (Admins for an org agent, the owner for a personal agent), by asking Swan in chat or by editing the file in the brain.
  • Who sees it. An org agent’s memory is visible to the whole org. A personal agent’s memory is visible only to its owner.
  • What it holds. MEMORY.md has three sections, Hypotheses, Decisions and Lessons, with the latest and most important entries. When a topic grows, the agent moves it to a file in the folder, such as experiments/ for an experiment and its results or notes/ for the evidence behind a lesson, and links to it. Data that a skill must keep between runs goes in a file that the skill names.
  • Where it lives. The folder is the agent’s brain folder, /brain/agents/org/{agent}/ or /brain/agents/personal/{agent}/. Ask Swan to show or change it.
  • Moving the agent. The memory moves with it. When an Admin moves their personal agent into the org, its memory becomes visible to everyone in the org, and Swan confirms first. When an Admin moves an org agent into their personal agents, its memory becomes visible only to them.
  • Deleting the agent. Its memory and its files are deleted with it.

Versioning and restore

Every update to a memory is versioned, with a short summary of what changed and who (or what) changed it. If an edit goes wrong or removes something you wanted to keep, a prior version can be restored. Agent memory is versioned too, but its history can’t be viewed or restored yet.

Memory vs. org knowledge vs. skills

  • Org knowledge is structured (value prop, competition, ICP segments) and drives how Swan researches and writes outreach at a category level.
  • Memory is unstructured — a running set of notes at the org, user, record, or agent level.
  • Skills are instructions for how to do something, not facts to remember. See skills.
If you’re not sure where a piece of context belongs: a fact (“this account renews in March”) goes in memory; a fixed field about your business (target market, competitors) goes in org knowledge; a procedure (“when qualifying a lead, always check X before Y”) is a skill. Repeated events that Swan counts or compares across accounts, such as signals, website visits or alerts already sent, go in a custom object with one record per event, not in memory; the record’s memory keeps only the conclusion. An agent adds four more places:
  • The agent’s goal says what the agent is for and why (“start conversations with 30 ICP accounts a month”). It explains purpose but never authorizes an action on its own.
  • The agent’s instructions hold rules every run of that agent must follow, whichever automation fired (“never contact an account a rep owns in HubSpot”).
  • An automation’s instructions say what a run does when it fires. A rule only that automation needs belongs here, or in a skill the instructions refer to.
  • The agent’s memory holds what its runs learned, in three sections: Hypotheses (guesses that results can prove wrong), Decisions (choices that change later runs, with their date and reason) and Lessons (conclusions with their evidence). It never holds a queue, one line per run, or a fact about one account; facts about an account go in that record’s memory.

Common questions

Who can see a record’s memory? Anyone in your org working with Swan on that record can read it, the same way any other Swan data is scoped to your org. In the brain, record folders need Record read permission to open and Record update permission to edit. Can I edit a memory directly instead of asking Swan to? Yes — you can open a memory and edit the text yourself at agent.getswan.com/memory (or, for a company, its memory card/page; for other records and for an agent’s memory, ask Swan); Swan also writes to it conversationally as it learns things. What happens if my memory is already full and I need to add something important? Ask Swan to consolidate it first — it will tighten existing notes to free up space — or manually trim less important content before adding the new note. Does org memory apply to every user in the org, or just Admins? Every user’s conversations load org memory as context; only Admins can write to it. Is there a memory for individual contacts, separate from companies? Yes. Every record, including each contact and deal, has its own MEMORY.md in its record folder, separate from its company’s. Who can change an agent’s memory? That agent’s own runs, plus Admins for an org agent or the owner for a personal agent, by asking Swan. What happens to an agent’s memory when I delete the agent? It’s deleted with the agent, along with the agent’s other files and its automations. Can I see the version history of a memory? Yes for org, user, and record memory: past versions are kept and can be restored if needed. Agent memory history can’t be viewed or restored yet.