Working Memory Journal

AG2 Beta — cross-session memory via WorkingMemoryAggregate + WorkingMemoryPolicy
Session 1 — share a few things
aggregate=WorkingMemoryAggregate, trigger=on_end
Tell the journal a couple of things about today.
/memory/working.md
written by WorkingMemoryAggregate after every turn
(empty — send a message in session 1)
Step 2 — when you're ready, end session 1. The agent in session 2 is a fresh instance and only sees the working-memory file.
Session 2 — fresh Agent, same store
assembly=[WorkingMemoryPolicy()]
Ends-session-1 first. Then ask the new agent something only session 1 told it.
System prompt sent to session 2
Captured by a spy middleware on every LLM call
No LLM call in session 2 yet.