feat: AutoDream simple offline memory consolidation agent#131
Open
CMander02 wants to merge 1 commit into
Open
Conversation
Introduces the v1 AutoDream pipeline for offline memory consolidation: - AutoDreamAgent: consolidates memories by removing redundancies and resolving conflicts - AutoDreamManager: resolves time window, fetches memories, runs agent, writes checkpoint - POST /memory/auto_dream endpoint with dry-run support - client.auto_dream() method for programmatic access - auto_dream_agent registered in AgentType enum, agent configs, meta_agent, server dispatch - Separate system prompts for base and screen_monitor variants Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
zychen seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AutoDreamAgent: consolidates memories across a configurable time window by removing redundancies and resolving conflictsAutoDreamManager: resolves the working time window (default: last dream → now), fetches memories per type, drives the agent viastep(), and writes an episodic checkpointPOST /memory/auto_dreamREST endpoint withdry_runsupportclient.auto_dream()method for programmatic accessauto_dream_agentregistered inAgentTypeenum,agent_configs,MemoryAgentStates,meta_agent, and server dispatchNew files
mirix/agent/auto_dream_agent.pymirix/services/auto_dream_manager.pymirix/schemas/auto_dream.pymirix/prompts/system/base/auto_dream_agent.txtmirix/prompts/system/screen_monitor/auto_dream_agent.txtModified files
mirix/schemas/agent.py·mirix/agent/agent_configs.py·mirix/agent/__init__.py·mirix/agent/meta_agent.py·mirix/server/server.py·mirix/server/rest_api.py·mirix/client/remote_client.pyTest plan
POST /memory/auto_dreamwithdry_run: true— verify stats returned without changesdry_run— verify memories are consolidated and checkpoint episodic event is writtenauto_dream_agentsub-agent is created under the meta agent on first call🤖 Generated with Claude Code