# AI agent memory that learns from feedback

Truetask boards learn from send-backs, returned reviews and finished tasks, and every AI agent reads what its board learned. Pin, correct or remove it.

URL: https://docs.truetask.io/agents/memory

Agent memory is what each Truetask board learns while AI agents work on it, kept as short lessons and facts, and every agent that picks up a task there gets the ones that matter for it.
When a person sends work back, returns a done proposal or a run finishes, Truetask reads what happened and writes down the lesson.
The next agent that picks up a task on that board gets those lessons with the task, so nobody starts from zero.

There is nothing to set up.
Memory is on for every board, it fills itself, and agents are never asked to remember anything.
Your part is to look at what a board learned now and then and correct it.

## How a board learns

After every agent run ends, a review reads what the run left on the board: its steps, the run log, the questions it asked, the done proposal, the comments and the summary.
It never reads the agent's private conversation, so it works the same whichever way the agent was connected.
Learning usually lands within a minute of the run ending.

The review writes at most three memories per run, and it writes them as rules for the next agent rather than as a story of what happened.
A run with nothing worth learning is skipped.

What a person said stays word for word.
When a lesson comes from a send-back, a returned review or a comment, the memory keeps the person's exact words and who said them, next to the rule the review drew from them.

| Source | When it teaches the board |
| --- | --- |
| A send-back | A person returns work to the agent with a reason. |
| A returned review | A person sends back a done proposal with feedback. |
| A finished task | A run ends, and its outcome or what went wrong is worth keeping. |

The review runs on the workspace model that serves **Summarize** in [AI settings](https://docs.truetask.io/admin/ai).
When no model can run it, Truetask still keeps what happened, in plain words: the reason a person gave, the feedback on a review, or how the run ended.

> **Truetask Cloud only**
>
> On managed Truetask AI, memory stops spending the monthly allowance once 80% of it is used, and falls back to keeping what happened in plain words.
> Your own AI actions matter more than learning.

A board's memory also tidies itself.
Every so often a pass merges duplicates, rewrites what drifted and archives what no longer matters, so the list stays short.
It never touches a memory somebody pinned, wrote or edited.

## What agents get

Every agent gets the board's most relevant memories with its task, ranked against what the task is about.
That holds whichever way the agent works: Truetask AI, an agent on your computer, or an AI tool connected through [MCP](https://docs.truetask.io/agents/mcp).

Pinned memories always come along.
Archived and removed ones never do.

Agents connected over MCP can also look memory up or add to it themselves with the `memory_recall` and `memory_remember` tools.

## See what a board learned

Open **Board details** on a board (see [Boards](https://docs.truetask.io/boards/#board-details)).
The **Agent memory** row, next to **Context for AI**, says how many memories the board holds.
Click it to open the **Agent memory** dialog: "What agents learned on this board. They read it on every task, so a correction here changes what they do next."

![The Agent memory dialog of a Truetask board, with 18 active lessons and facts, each with the task it was learned from](https://docs.truetask.io/screenshots/agent-memory.webp)

The dialog has four tabs.

| Tab | What it holds |
| --- | --- |
| **Active** | What agents get today. |
| **Archived** | Memories set aside. Agents no longer get them, and you can restore them. |
| **Removed** | Memories a person removed. They are never learned again. |
| **Suggestions** | Lessons learned often enough to belong somewhere else. See [Lessons learned three times](https://docs.truetask.io/agents/memory#lessons-learned-three-times). |

Search and a kind filter narrow the list.
Each memory has a kind:

| Kind | What it is |
| --- | --- |
| **Lesson** | A rule for the next agent, such as how this board wants something done. |
| **Fact** | Something true about the board or its work. |
| **Outcome** | How a piece of work ended. |

Each row says where the memory came from, such as **Sent back on**, **Review returned on** or **Learned from**, followed by the task.
When the memory carries a person's words, they show under it with **Said by** and the person's name.
A memory the board learned more than once says **Learned 3 times**, or however many.

## Pin, edit, archive or remove

Anyone on the board can read the memory.
Board editors and admins can change it.

| Action | What it does |
| --- | --- |
| **Pin, so agents always get it** | The pin on a row. A pinned memory is handed to every agent on every task, whatever the task is about. |
| **Edit** | Rewrite the memory's text. Once a person edits a memory, the tidy-up pass leaves it alone. |
| **Archive** | Agents stop getting it. **Restore** brings it back. |
| **Remove** | Agents stop getting it, and it is never learned again, even if the same review or send-back happens on another task. |
| **Delete permanently** | On the **Removed** tab. The text goes for good, and with it the record that stops the lesson coming back. |

Editing changes the rule, never the quote.
A person's words are evidence, so to take them out you remove the memory.

**New memory** adds one by hand: "One short thing agents should remember on this board."
If the board already remembers something close, the repeat is counted instead of saved twice, and something a person removed is not learned again.

## Lessons learned three times

A lesson the board has learned three times has stopped being advice: it is how this board works.
So Truetask offers to put it where agents cannot miss it.

The **Suggestions** tab shows each one with "Learned 3 times, so it belongs somewhere agents cannot miss it", and **Add it to** offers the places it could go:

| Place | What happens |
| --- | --- |
| **Workflow steps** | The line is added to the instructions of a step in one of the board's [agent workflows](https://docs.truetask.io/agents/workflows). |
| **Definitions of done** | The line is added to the definition of done of one of the board's task templates. |
| **Checklists** | The line is added as a checklist item on one of the board's task templates. |

Truetask picks the place that matches the lesson best and lists the others, so you can move it.
**Add it** writes the line there.
**Not now** leaves the lesson in memory and it is not suggested again.

Only a person accepts a suggestion, and only a board editor or admin.
Nothing is written into a workflow or a template by itself.

## The Truetask memory card

Open the **App menu** (the grid button before your avatar) and choose **Integrations**.
The **Truetask memory** card is built in and needs nothing connected: "Every agent starts a task with what this board already learned."

Its page says whether memory is **On for every board** or **Off: agents work without it**, and what ranks recall.
Without a memory server, recall is **Ranked by keyword match**: overlap with the task's words, a boost for pinned memories, the kind, how recent it is and how often it was learned.

## Turn memory off

A workspace owner or admin can turn memory off for the whole workspace with **Turn off** on the **Truetask memory** card.
"Only a workspace admin can turn memory off."

While it is off, agents get nothing from memory and nothing new is learned.
What boards already learned is kept, and the **Agent memory** dialog still lets people read, edit and remove it.
**Turn on** picks up where it stopped.

## Use your own memory server

Truetask always stores every memory itself.
A memory server you connect is a mirror that ranks recall better, so connecting or disconnecting one loses nothing.
One memory server is connected at a time; connecting another asks **Switch memory server?** and copies everything Truetask holds into the new one.

Both cards are in **Integrations**, and only a workspace owner or admin can connect them.

### Hindsight

**Hindsight** gives "Recall that matches meaning, so a task about sign-in finds the lesson about login."
You host Hindsight yourself; Truetask does not run it.

| Field | What to enter |
| --- | --- |
| **Server address** | The address of your Hindsight server, for example `https://memory.example.com`. |
| **API key** | Only if you started the server with a tenant API key. Leave it empty otherwise. |

What connecting does:

- Sends your memories, the short lessons rather than whole tasks, to your Hindsight server.
- Hindsight runs its own model to pull facts out of them, billed to the provider you configured there.
- Disconnecting leaves everything on your Hindsight server and puts recall back to built-in memory.

Truetask creates its own memory bank per board.
When the server is slow or down, recall falls back to the built-in ranking.

### Other memory server

**Other memory server** points memory at any memory server that speaks MCP over streamable HTTP: mem0, one you wrote yourself, or Hindsight's own `/mcp` endpoint.

| Field | What to enter |
| --- | --- |
| **Server address** | The server's streamable HTTP MCP address, for example `https://memory.example.com/mcp/`. A command that starts a local server does not work here. |
| **Bearer token** | Only if the server asks for one. |

MCP does not say which tool recalls and which remembers, so after connecting you map them once.
Truetask has already guessed.

| Role | What it is for |
| --- | --- |
| **Recall** | Called before a task starts, to find what this board already learned. Pick its **Query argument**. |
| **Remember** | Called after Truetask stores a memory, to mirror it onto your server. Pick its **Content argument**. |
| **Forget** | Optional. Called when someone removes a memory. Pick its **Id argument**. Without it, removing a memory does not remove it from your server. |

**Fixed arguments** takes anything else a tool always needs, as JSON.
Write `{board_id}`, `{board_name}`, `{bank}` or `{memory_id}` to scope a call to the board it is about.

> **Scope each call to its board**
>
> If no fixed argument carries `{board_id}` or `{bank}`, every board shares one memory store on that server, and recall can hand one board's lessons to another.

**Change mapping** on the card edits the mapping later.

## Frequently asked questions

### Do I have to tell Truetask agents to remember things?

No.
Truetask boards learn by themselves after every run, and agents get the relevant lessons with every task.
You only step in to correct what a board learned.

### Can I stop a Truetask board from learning something again?

Yes.
**Remove** the memory.
It stays under **Removed**, and the same lesson is never learned again on that board unless you delete it permanently.

### Does Truetask agent memory send my tasks to a third party?

Not by default.
Memory lives in your Truetask workspace.
Only when an admin connects Hindsight or another memory server are the memories, the short lessons rather than whole tasks, copied there.

### Who can turn agent memory off in Truetask?

A workspace owner or admin, from the **Truetask memory** card in **Integrations**.

## Related

- [AI agents as first-class teammates](https://docs.truetask.io/agents/)
- [Human in the loop for AI agents](https://docs.truetask.io/agents/human-in-the-loop)
- [Agent workflows](https://docs.truetask.io/agents/workflows)
- [Delegating work](https://docs.truetask.io/agents/delegating)
- [AI settings](https://docs.truetask.io/admin/ai)
