> For the complete documentation index, see [llms.txt](https://docs.bonzai.sh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bonzai.sh/business-automation/team-memory.md).

# Memory & Continuous Improvement

A useful business agent must remember more than a chat transcript.

## Memory layers

| Layer              | Example                                                      |
| ------------------ | ------------------------------------------------------------ |
| Companion identity | Stable abilities, style, and long-term professional learning |
| Team role          | How Finance prepares invoices for this business              |
| Job                | Facts and evidence specific to one client engagement         |
| User               | The owner's preferences and generation history               |
| Source notes       | Files, captures, approvals, outcomes, and linked references  |

## Zettelkasten-style links

BonzAI stores small useful notes connected by source, topic, entity, sequence, and meaning. Local semantic search finds relevant notes without loading the complete archive into every prompt.

## Learning safely

Only verified or approved outcomes should become strong process memory. Failed attempts remain useful as evidence but should not be promoted as best practice.

Memory can support later evaluation or reinforcement learning by preserving the input, action, outcome, human feedback, and provenance needed to construct training examples.
