Back to catalog / Agent workflows
Resolve an airline booking change in a simulator
Handle a multi-step support request against τ-Bench flight, passenger, and booking data while retaining the tool trace.
Goal
Complete a policy-compliant flight lookup, change, or cancellation in the simulated airline data and verify the final reservation state.
Steps
- Choose a scenario from tasks_singleturn.json and run the single-turn request against local τ-Bench airline data. [src10-strands-resolve-airline-booking-change-in-simulator]
- Compare ReAct with the REWOO/hybrid graph: the planner decomposes the task, workers call flight/booking tools, and the solver checks policy and outcome. [src10-strands-resolve-airline-booking-change-in-simulator]
- Inspect GraphResult tool inputs, outputs, and execution path; confirm only the intended booking received the allowed operation. [src10-strands-resolve-airline-booking-change-in-simulator]
How to verify
For the same seeded scenario, check booking ID, flight date, and status; cancellation should show canceled and a change should show the new flight.
Troubleshooting
If a wrong tool is selected, inspect the booking ID and scenario context sent from planner to worker; if final state disagrees with tool output, check whether the solver ignored the result.
Permissions
Prerequisites
- Python, the Strands sample dependencies, and the repository’s τ-Bench airline dataset.
Permissions
- Tools mutate only the local sample reservations; they do not connect to airline accounts or live booking systems.
Limitations
τ-Bench is a simulated dataset and benchmark; single-turn tasks simplify the original multi-turn support flow.
Pinned upstream source
- Repository
- strands-agents/samples
- File path
- python/04-industry-use-cases/logistics/custom-orchestration-airline-assistant/README.md
- Pinned commit
bd46f959844424a9544133e1263c8eae61e7fe9b- Source checked
- 2026-10-14 · Reviewed against the pinned upstream source
Repository metrics
These values describe the upstream repository, not popularity or likes for an individual skill or playbook.
- Stars
- Not collected
- Forks
- Not collected
- Observed at
- Not collected
No metrics snapshot is available yet.
License: Apache-2.0
Main topic
Turn ecommerce campaign materials into a reviewable weekly brief