Skip to content

v2.1 (beyond): Dream Mode — overnight offline self-reflection, distills lessons from the day #749

Closed

Description

@AmitoVrito

Summary

A DreamMode runner that wakes overnight (or on idle), replays the day's traces locally, distills lessons, prunes stale memories, proposes LivingMemory patches, and pre-warms the KnowledgeMesh index.

Why beyond

This is inspired by how biological sleep consolidates memory. No agent framework does this. The agent gets better while you sleep, deterministically and locally.

Fits the framework

Design

from synapsekit.dream import DreamMode

dream = DreamMode(
    schedule=\"idle_30m or 02:00\",
    budget_tokens=100_000,
    tasks=[\"distill_lessons\", \"propose_memory_patches\", \"consolidate_entities\", \"prune_stale\"],
    backend=EdgeRuntime.local(),
)

What it does

  1. Replay — walk yesterday's VerifiableAgent traces
  2. Distill — cluster corrections, surface repeated themes
  3. Propose — generate LivingMemory patches
  4. Consolidate — entity resolution improvements in the mesh
  5. Prune — flag memories that haven't been read in N months
  6. Report — morning briefing in your terminal: "3 patches proposed, 2 entities merged, 7 memories flagged stale"

Risks

  • Power draw → only run when plugged in
  • Disk thrash → low IO priority
  • Quality of distillation → human-approval gate before any patch lands

Acceptance

  • Runs end-to-end on a laptop overnight (<10% battery if unplugged)
  • Morning briefing is concise + actionable
  • Proposes ≥1 high-quality patch per active day

Activity

  1. added this to the v2.1.0 milestone on Jun 25, 2026
  2. added
    enhancement
    research
    agents
    v2.1
    ambient
    on Jun 25, 2026
  3. added a commit that references this issue on Aug 16, 2026
  4. added a commit that references this issue on Aug 18, 2026
    c1204ba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agentsambientenhancementresearchv2.1

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions