mvplab-ai

Agentdream — AI skill for Claude Code

AI community

Open-source 'dreaming' for any AI agent: sleep-time memory consolidation that merges duplicates, fixes stale or wrong notes with transcript evidence, and surfaces insights.

How to install Agentdream

This entry records only its repository, not the path inside it, so there is no exact command to give. Open mvplab-ai/agentdream and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agentdream does

Open-source 'dreaming' for any AI agent: sleep-time memory consolidation that merges duplicates, fixes stale or wrong notes with transcript evidence, and surfaces insights. Any model, local-first.

Alternatives in AI

README

agentdream

[![CI](https://github.com/mvplab-ai/agentdream/actions/workflows/ci.yml/badge.svg)](https://github.com/mvplab-ai/agentdream/actions/workflows/ci.yml) [![PyPI](https://img.shields.io/pypi/v/agentdream.svg)](https://pypi.org/project/agentdream/) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![Python 3.10 | 3.11 | 3.12 | 3.13](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue.svg)](pyproject.toml) [![GitHub stars](https://img.shields.io/github/stars/mvplab-ai/agentdream?style=flat)](https://github.com/mvplab-ai/agentdream/stargazers)

**Sleep-time memory consolidation ("dreaming") for any agent and any model — local-first, reviewable, zero dependencies.**

Website: **[agentdream.dev](https://agentdream.dev)**

![A 25-second terminal highlight: agentdream runs a dry-run dream, shows a cited correction in the report, then applies it on accept. The original store stays unchanged until you accept.](https://raw.githubusercontent.com/mvplab-ai/agentdream/main/docs/demo.gif)

The GIF is a highlight of a real terminal run with the `claude-cli` backend (your Claude Code login, no API key). The quickstart below uses the bundled example and the deterministic backend, so it works offline with no model.

Agents accumulate memory notes that drift: duplicates pile up, old values go stale, and some notes are simply wrong — the agent keeps acting on them and failing. `agentdream` reads your agent's memory store plus recent session transcripts and produces a **new, reorganized store** and a report: duplicates merged, stale values replaced, notes corrected *with citations to the transcript lines that prove it*, and new insights (recurring mistakes, repeated preferences, converged workflows). Your input store is never modified; you review the diff and accept all, some, or none of it.

It is an open-source take on the idea behind Anthropic's [Dreams](https://platform.claude.com/docs/en/managed-agents/dreams)