hermes - 💡(How to fix) Fix 🌙 Plugin Proposal: Dreaming — Automatic Background Memory Consolidation

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Proposing a new standalone plugin for automatic background memory consolidation, inspired by biological sleep cycles and OpenClaw's Dreaming process.

This is a standalone plugin repo: https://github.com/Minamaged18/hermes-dreaming-plugin

Root Cause

PR #25690 was closed because it was submitted as a built-in plugin. This is the corrected standalone version per maintainer feedback.

RAW_BUFFERClick to expand / collapse

🌙 Dreaming — Automatic Background Memory Consolidation (Plugin)

Summary

Proposing a new standalone plugin for automatic background memory consolidation, inspired by biological sleep cycles and OpenClaw's Dreaming process.

This is a standalone plugin repo: https://github.com/Minamaged18/hermes-dreaming-plugin

Motivation

Hermes already has memory nudges, session search, and FTS5 indexing — but memory consolidation is manual and ad-hoc. The agent has no built-in way to:

  • Automatically review recent conversations during idle time
  • Score and promote important memories to MEMORY.md
  • Reflect on patterns and themes across sessions
  • Maintain a human-readable Dream Diary of insights

Design

A 3-phase consolidation cycle via cron:

PhaseWhat it doesWrites to memory?
Light SleepScans recent session transcripts, deduplicates, stages candidatesNo
REM SleepExtracts recurring themes, produces Dream Diary narrativeNo (DREAMS.md)
Deep SleepScores candidates, promotes to MEMORY.mdYes

Key behaviors:

  • Opt-in, disabled by default
  • Respects user activity — skips if user was active within quiet_minutes
  • Configurable schedule — cron expression, default 0 3 * * *
  • Dream Diary — human-readable log in DREAMS.md
  • CLI: hermes dream run, hermes dream status, hermes dream diary

Implementation Status

✅ Complete working implementation at https://github.com/Minamaged18/hermes-dreaming-plugin

  • 18 tests, all passing
  • No external dependencies (pure Python + Hermes internals)
  • Follows CONTRIBUTING.md: standalone plugin, not built-in

Previous Attempt

PR #25690 was closed because it was submitted as a built-in plugin. This is the corrected standalone version per maintainer feedback.

Open Questions

  1. Should this be listed in the Skills Hub / optional-skills?
  2. Any feedback on the scoring weights or thresholds?
  3. Should the REM phase use an LLM call for richer reflections in v2?

Would love to hear if this aligns with the Hermes vision. Happy to iterate on the design.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING