Review the prerequisites
Suitable for: Backend developers learning Agent applications.
- Match orchestration abstractions to business responsibilities
- The framework should cover the control and recovery complexity that the task truly requires, rather than assuming non-existent guarantees for the business. Selection compares fault behavior, debugging costs, and state transition boundaries for the same task.
How does the mechanism work?
Step-by-step explanation
- With an existing Java task platform, when is it worth introducing a Python graph orchestration service?
Framework selection must consider the existing Java platform and team costs as well as abstractions.
- When the business process is fixed, why might there be no need for multiple agents?
Establish the need for workflows and multiple agents separately.
- The framework upgrade changes the status format. How to migrate tasks that are waiting for approval?
After persisting framework state, address upgrades and compatibility with old tasks.
Design · Explain the trade-offs
Explain design trade-offs · Match orchestration abstractions to business responsibilities
Objectives of this level: Defend an ADR when wait duration, migration and ownership change.
Visual guide · Filter fit before comparing cost
Capabilities and operating costs here are declared fixtures, not product benchmarks. No fit returns none; a framework name grants no business guarantee. Select the figure to open it at full size.
Same after-sales project
The after-sales Agent reads an order and policy, pauses for approval and resumes a return-application request. Compare an existing Java loop, a Java workflow and a Python graph using declared capability fixtures, not product reputation. A model SDK handles model I/O; orchestration owns control flow; business services still own authority and effects. Anthropic’s workflow/agent distinction motivates comparing task constraints; its tooling examples are version-sensitive.
The existing capstone main-return creates a return application; it does not execute a refund. These manifests are independent fictional extensions or policy/evidence/counting exercises. They do not add real refunds, publication, model calls or Java execution to the capstone runtime.
Changed contract and architecture decision
Change the approved wait from minutes to two days and require migration while an existing approval remains suspended. Write two ADRs: enhance the current Java platform or add a separate orchestration service. For each supply authoritative capability evidence, worker-failure and lost-receipt probes, old-executor/migration policy, operational owner and exit trigger. If the prototype was not run, mark its measurements pending. A filter result cannot establish crash recovery, exactly-once business effects or an SDK ranking.
Independent deliverables
Submit a condition delta, at least two alternatives with rejected reasons, ADR/owner/rollback triggers, one personally authored negative test and code or checker diff with the same input red→green rerun. Label architecture proposals, executed local evidence, actual integrations and production responsibility separately. A reviewer must introduce an independently chosen condition at assessment; the public fixed manifests alone do not prove transfer. Do not invent measurements or enterprise incidents.
Responsibility boundary
Four tracks are learning methods, not job levels. Junior candidates own bounded code and a counterexample; intermediate candidates own integration/recovery and changed-business evidence; senior candidates add architecture, isolation/migration/incident ownership and one specialty. Real API and JD-required production experience stay separate evidence gates. A fixed local pass is not a learner mastery or hiring certificate.
code example
Change the boundary and defend responsibility
Change the approved wait from minutes to two days and require migration while an existing approval remains suspended. Write two ADRs: enhance the current Java platform or add a separate orchestration service. For each supply authoritative capability evidence, worker-failure and lost-receipt probes, old-executor/migration policy, operational owner and exit trigger. If the prototype was not run, mark its measurements pending. A filter result cannot establish crash recovery, exactly-once business effects or an SDK ranking.
Acceptance task for this level
Deliver the course-specific changed-contract ADR, alternatives, owner/rollback policy and one independent executed counterexample; keep unexecuted claims pending. Contract: choose_orchestration(payload).
Reading this browser’s record…
Hide the answer and check your understanding
Does a passing selector prove safe cross-day recovery?
Expand reference derivation
No. Supply executed interruption/receipt/upgrade evidence and ownership; otherwise the ADR remains a proposal.
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.
- OpenAI Agents SDK:Overview
- LangGraph: Graph states, nodes and orchestration boundaries
- Temporal:Activity Execution
- LangGraph Graph API: Graph and State Migration Limitations
- Temporal: Workflow Execution life cycle
- Anthropic: The trade-off between fixed workflow and autonomous agent
- Public fixed contract inputs
- Local pure-function checker
- Extended Agent local practice package