# dreamer

When Ulpi goes idle, it dreams.

- Type: Plugin
- Version: 1.5.0
- Updated: 22 Nov 2026
- Publisher: Cosmonautic1
- Category: Memory

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

When Ulpi goes idle, it dreams. A native plugin that watches for idle windows (default: 15 min idle, at least 12 h between dreams) and replays the day's session residue - tool traffic, dead ends, unfinished threads - into a short narrative dream generated by the LLM, graded light or deep by sleep distance and stored in a local dream journal (title, symbols, mood, dream_type).

Up to 1-3 actionable insights are distilled from each dream and injected into the next fresh session as a [DREAM RESIDUE] block, so recurring issues (stale tasks, stuck PIDs, untested regressions) surface where they can actually be handled instead of dying silently between sessions. Tools: dream_now (dream on demand), dream_journal (read past dreams), dream_status (enabled/last-dream/idle state).

Hooks: one pre_llm_call hook that injects the pending dream residue - and only it - into a new session's context. It injects the resulting dream digest (up to 2000 chars) into the first turn of the next new session, whichever chat starts it.

No network calls of its own.

## Tools it adds

The tools an agent gets once this plugin is installed.

- `dream_now`
- `dream_journal`
- `dream_status`

## How to set it up

Disclosure — a background thread started at load (on by default; stops it, but the tool and the session-start injection still work until the plugin is disabled) reads this profile's read-only every 15 minutes.

```
enabled: false
```

```
dream_now
```

```
state.db
```

After 15 idle minutes, and at most once per 12 hours, it sends recent user messages and tool-error fragments from every session on the profile (all platforms and chats) to your configured model through, unattended.

```
ctx.llm
```

## Review notes

What an owner reads and accepts before the install is approved.

- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

## More in Memory

- [dreaming](https://www.ulpi.io/en/marketplace/plugins/dreaming-a05fcf): Nightly deterministic memory consolidation ("dreaming"): corroborates candidate facts with what humans actually said on distinct days.
- [Dreaming](https://www.ulpi.io/en/marketplace/plugins/dreaming-cc6f9b): Local memory provider (memory.provider: dreaming) after Anthropic's "The components of agent memory": every turn is kept as a transcript.
- [ELM](https://www.ulpi.io/en/marketplace/plugins/elm): Local, reviewable long-term memory.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
