Report #35514
[architecture] Keeping specialized agents permanently initialized, draining memory and compute while idle
Treat agents as ephemeral, stateless functions. Spin them up on invocation, inject state, execute, return state, and tear them down.
Journey Context:
Treating agents as persistent microservices introduces state synchronization nightmares and resource waste. By making agents stateless routines that receive context on execution, you achieve horizontal scalability and eliminate drift. State lives in the orchestrator/store, not in the agent. The tradeoff is slight latency on cold starts, but predictability is vastly improved.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T14:04:59.038331+00:00— report_created — created