Review the prerequisites
Suitable for: Developers responsible for migration, cost and operational ownership.
- Session log and working context
- The session retains governed events and references; context is a lossy view built from cursors, summaries and artifact versions, not an authority grant or business fact.
- Replaceable controller
- A new worker reconstructs work from external records; disposable local memory does not make external actions repeatable or guarantee recovery of workspace bytes.
- Release manifest
- Bind model, harness, tools, policies, context and skill/hook bytes to a traceable behavior release; the manifest alone does not enforce isolation.
How does the mechanism work?
Step-by-step explanation
- State follows authority, not a container
Persist session, artifacts and merchant ledger separately and verify each through its owner.
- Separate discovery, computation and approval
Dynamic loading reduces input and programmatic calls process results; current authorization and approval still gate the actual action.
- Mechanisms evolve with evidence
Version model and harness together, using held-out tasks and counterexamples to keep or remove one orchestration mechanism.
Design · Explain the trade-offs
Choose, govern and simplify the runtime
Objectives of this level: Select an environment and compare model+harness releases without weakening business gates.
Visual guide · Replace the controller, keep facts
This is the proposed architecture. The local identity demo has no model, network or sandbox; a surviving session does not guarantee surviving workspace files. Select the figure to open it at full size.
Decide which execution machinery the workload actually needs
For a support assistant that only reads customer and policy services, begin with a harness plus remote tools and no code sandbox. Add disposable compute when filtering large results or producing files requires it. Keep business writes behind an authoritative gateway even if reads run programmatically.
| Workload condition | Starting design | Measurement or rejection criterion |
|---|---|---|
| Few stable tools used on nearly every task | Eager definitions, one controller | Discovery overhead has no demonstrated benefit |
| Large catalog, sparse per-task use | Tool discovery plus progressive definition loading | Measure relevant-tool recall and discovery latency; no match must not select an unauthorized fallback |
| Many independent reads with large outputs | Bounded programmatic calls, upstream filtering and artifact references | Cap concurrency, total attempts, bytes, active time and output; preserve evidence coverage |
| Private network or custom native packages | Consider self-managed execution with managed or self-managed harness | Team must own provisioning, reconnection, patching, egress and retained files |
| No team capacity to operate execution infrastructure | Consider hosted harness/environment | Check data location, available controls, export/replay ability, version behavior and operational limits first |
As checked on 2026-10-30, OpenAI's Tool search guide separates APIs: deferred functions require tool_search and defer_loading; Agents API MCP discovery is automatic, so Responses API MCP flags must not be copied blindly. Programmatic tool calling lets code coordinate calls and filter intermediate data. Neither discovery nor code execution authorizes a business action. Validate every actual call at the gateway; a single model turn can generate many attempts. Reserve budget before each attempt and choose the smallest useful parallelism, rather than treating parallel_tool_calls or a per-turn count as a global limit.
Govern the runnable configuration as a release
Pin model identifier/availability policy, harness code digest, tool schemas, session/context format, compaction policy, plugin/skill archive digest, hook executable digest, policy version and evaluation dataset. A plugin manifest's declared version helps inventory but is not proof of immutable bytes. Resolve and record the loaded instruction sources. Codex AGENTS.md precedence is product-specific; it is not a universal rule for all agents. In this proposed application, reviewed organizational execution policy stays outside writable task material. A skill may describe how to work; it cannot grant a credential or approve its own publication.
Hooks can run code or call tools and may affect permission decisions. Review their permissions, timeout, failure behavior and output handling; do not treat an asynchronous post-action hook as a pre-action hard gate. Match the chosen runtime's documented ordering. Human approval should bind a concrete action payload, resource, release/policy version, approver and expiry; an old global approved flag is insufficient. The exact fields here are proposed application choices, not vendor-mandated schema.
Upgrade the model and harness together
Compare (old model, old harness), (new model, old harness) and (new model, simplified harness) on the same held-out tasks and resource limits. Predeclare gates for unauthorized action, duplicate effect, lost artifact, unsupported completion and unknown-result handling; compare quality and latency/cost on all tasks with denominators and missing usage explicit. A cheaper mean cannot repay a severe gate failure.
Anthropic's long-app research removed orchestration incrementally after model changes; that is a method to test, not a guarantee that your resets or evaluators are obsolete. Remove one workaround only when its target failure no longer appears in representative/regression tasks and the simplified candidate meets hard gates. Preserve independent business verification. If a canary fails, route new tasks to the previous release; keep in-flight tasks pinned or run an explicit compatible migration. Reverting code does not undo merchant writes. Reconcile unknown operations before deciding compensation.
The local program measures none of hosted latency, model quality, cloud isolation or multi-host correctness. Those remain separate integration and workload experiments.
code example
Remove a workaround with an ablation, not a hunch
Freeze tasks, policies and budgets. Compare a new-model candidate with and without forced resets; retain authority checks in both. Remove resets only if their target regression stays absent and cost/latency/quality gates permit.
Acceptance task for this level
Write an ADR for a read-heavy support workflow and a code-writing variant. Pin one release manifest, choose discovery/parallelism and environment ownership, and define canary/rollback and one-component-removal gates.
Reading this browser’s record…
Hide the answer and check your understanding
When is orchestration obsolete after a model upgrade?
Expand reference derivation
Only when a controlled same-workload comparison shows its target failure no longer requires that mechanism and the simplified release still passes predeclared hard, quality and resource gates. A product benchmark is not that evidence.
Further explanations and practice
When encountering unfamiliar principles, first read the implementation, continuous questioning and migration cases, and then independently explain the premise and boundaries. Answers and notes are saved to the original account record.
All linked explanations and exercises (1 )
Sources and verification scope
The principles are based on public information; the numbers, cases and tasks are the teaching design of this website. Offline experiments verify the range noted on this page, and the learning effect still needs to be judged through independent tasks and feedback.
- Anthropic · Managed Agents architecture · 2026-04-08
- Anthropic · Harness design for long-running apps · 2026-03-24
- OpenAI · Introducing the Agents API · 2026-09-10
- OpenAI Agents API · Architecture · checked 2026-10-30
- OpenAI · Tool search · checked 2026-10-30
- OpenAI · Programmatic tool calling · checked 2026-10-30
- OpenAI Agents API · Vaults · checked 2026-10-30
- OpenAI Agents API · Plugins · checked 2026-10-30
- Codex · AGENTS.md discovery and precedence · checked 2026-10-30
- Codex · Hooks and permission events · checked 2026-10-30