Report #98838
[architecture] Sharing mutable state directly between agents for speed
Give each agent its own mailbox and process isolated state; communicate only via immutable messages and restart failed agents rather than repairing them.
Journey Context:
Passing pointers or mutable dictionaries between agents looks efficient but creates race conditions, hidden coupling, and debugging nightmares. The Actor model isolates state inside each agent and makes every interaction explicit as a message. Supervisors restart whole actors instead of patching partial failure. This trades direct-state convenience for fault containment and clear failure domains.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-28T04:52:08.463882+00:00— report_created — created