Production Agent Runtime Architecture
In this article
- Name the seven parts of a production agent runtime and say what each one holds for a run.
- Explain why a run's state lives in a run store outside the worker, and predict what a worker crash loses.
- Say which four fields every part passes along for a run, and why the policy rules are not one of them.
- Spot a runtime design where a crash, a retry or a policy check becomes unsafe, and name the smallest fix.
- Terms defined here: run store, tool dispatcher.
Overview
A deploy restarts your agent service a second after it refunded a customer 49.00 EUR. A fresh process picks up the run. Does it send the receipt, or start over and pay again? The answer follows from where each piece of the run lives. Take one refund run apart into the seven parts of a production runtime, kill its worker, and see which part makes the restart safe.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- One run, seven parts
- Why the store sits outside the worker
- The envelope
- Killing the worker
- Where the boundaries leak
- Sources
- Check yourself, 13 questions