# Dreams

**Each night, a dream tidies what your team told memory.** Duplicates are merged, the newer of two contradicting notes is kept in force with the older one kept as history, and a tracked measure whose query no longer runs is flagged. Nothing is deleted.

## In the app[​](#in-the-app "Direct link to In the app")

There is nothing to start: turning [memory](/features/knowledge/memory.md) on gives the account its **Sleep** watcher, which dreams every night. It is on the **Watchers** page, labelled Sleep. In the admin page's **Memory** tab you see what memory holds after the night, with superseded notes behind a history filter, and the **background agent budget**: what dreams and other unattended agents spent, day by day, and the daily cap an admin sets.

## Sleep: how the account consolidates what it learned[​](#sleep-how-the-account-consolidates-what-it-learned "Direct link to Sleep: how the account consolidates what it learned")

Sleep is a [watcher](/features/watch/watchers.md) the account gets when memory is turned on: a schedule at 03:00 UTC, condition `always`, and one `dream` action. It is owned by the admin who turned memory on, and that owner or any admin can:

* **move it**: another hour, another timezone;
* **chain it**: add a `data_refreshed` trigger on the datasets your night refreshes, so the dream consolidates the day's watcher reports once the fresh data has landed;
* **pause it**: pausing stops the dreams, and resuming starts them again.

Its action is the server's: `dream` is offered on this watcher only, and the watcher stays while memory is on, so pausing is the off switch. When its owner leaves the account it moves to the admin who removed them, like any watcher.

Each night is a firing, and the `dream` action says what happened: `consolidated` with the number of labels dreamt, `skipped` with why (memory is off, the account is waiting after a failed night, or the dream's share of the budget is spent), or `failed` with why.

```
from vibedasher import Vibedasher

from vibedasher.models import WatcherUpdate



client = Vibedasher()



sleep = client.watchers.list(action_kind="dream").watchers[0]

client.watchers.update(sleep.id, WatcherUpdate.from_dict({"triggers": [

    {"kind": "schedule", "params": {"cron": "0 5 * * *", "timezone": "Europe/Paris"}},

    {"kind": "data_refreshed", "params": {"datasetIds": [42]}},

]}))

nights = client.watchers.list_firings(sleep.id)   # each night: consolidated, skipped or failed
```

Over MCP: `list_watchers(action_kind="dream")`, then `update_watcher` or `pause_watcher`.

## With the SDK and MCP[​](#with-the-sdk-and-mcp "Direct link to With the SDK and MCP")

A dream has no call of its own; you read what it produced. The brief an agent opens with is the dreamt one:

```
from vibedasher import Vibedasher



client = Vibedasher()

brief = client.memories.company_brief()

history = client.memories.list(include_superseded=True)
```

```
const brief = await client.memories.companyBrief();

const history = await client.memories.list({ includeSuperseded: true });
```

Over MCP: `company_brief`, then `list_memories` to review.

## Limits[​](#limits "Direct link to Limits")

* **A dream reads one audience at a time.** Notes readable by different sets of people are never put in the same model call, and what a dream writes carries the audience it read. A dream never sees a row of your data: only the notes, and each dataset's name, description and columns.
* **A note a person approved word for word is never rewritten** by a dream.
* **Dreams spend from the account's background agent budget**, the same daily cap that covers watcher investigations, set by an admin. Dreams take at most a quarter of it, so the investigations a watcher's owner asked for keep the rest. A night that reaches the dream's share stops cleanly and resumes the next night.
* Episodic notes older than 30 days are archived, still readable on request; nothing is deleted.

## Reference[​](#reference "Direct link to Reference")

* [`company-brief`](/reference/company-brief.md), [`list-memories`](/reference/list-memories.md)
* [`list-watchers`](/reference/list-watchers.md), [`update-watcher`](/reference/update-watcher.md)
* The model behind it: [Memory](/features/knowledge/memory.md)
