LEAD-01-022-P · Primer — The Orchestration Layer and the Execution Engine
The idea in one sentence
Every serious agent splits into two organs — an orchestration layer that decides what to do next (the conductor) and an execution engine that actually does it (the hands) — and keeping them separate is what makes the system safe.
Why it exists
When the same component both decides and acts, a bad decision immediately becomes a bad action with no gap to catch it — like a trader who is also their own settlement and compliance desk. Splitting the brain that plans from the hands that execute gives you a checkpoint between intent and consequence, and lets you make the reasoning flexible while keeping the actions boringly reliable. This is the single most important structural choice in agent design.
How it works
The orchestrator holds the goal, tracks state, and chooses the next step — this is where the LLM's judgment lives, and it is allowed to be non-deterministic and creative. The execution engine is deterministic plumbing: it calls the API, writes to the ledger, sends the email, and enforces exactly-once semantics with idempotency keys so a retry never doubles a side effect. Reasoning stages (extract, classify, plan) are pure and freely retryable; acting stages (post payment, provision access) are guarded, logged, and reversible where possible. The orchestrator can be swapped or upgraded without touching the money-moving code. In a claims-processing agent, the orchestrator reasons 'this claim looks payable' but the execution engine holds the actual payment authority behind a deterministic rules gate the model can feed but not overrule.
See it
flowchart LR A["Goal + State"] --> B["Orchestrator<br/>(the brain)"] B -->|next step| C["Execution Engine<br/>(the hands)"] C -->|result| B C --> D["Deterministic<br/>Rules Gate"] D --> E["Real-World<br/>Action"] E -->|logged| B
In practice
Insurance claims: the orchestrator reads the claim, decides the likely disposition, and drafts the payout amount — but the execution engine runs the deterministic eligibility rules, applies policy limits, and only then issues payment, so a confidently-wrong model narration cannot itself release cash.
The one thing to remember
Let the brain be smart and the hands be dumb — the gap between deciding and doing is where safety lives.
