feat: Add custom orchestration with Strands agents demonstrated with taubench dataset#152
Conversation
…taubench dataset - Implement 3 orchestration patterns: REWOO, REWOO-ReAct hybrid, Reflexion - Add comprehensive documentation with project structure and usage instructions - Include requirements.txt for easy setup - All patterns use taubench airline domain with 14 flight booking tools - Ready-to-run Jupyter notebooks for each orchestration approach
…example styles along with architecture diagram
|
Hi @baishch thank you for contributing. These notebooks looks to be great starting point for demonstrating different orchestration patterns with Strands Agents. I went through the README and ran the reAct_singleTurn.ipynb notebook, and I noticed a few areas where we could improve clarity and consistency. Could you please review and address?
|
Running Tools Modification ScriptTo prepare tool files for use with the Strands framework, you need to run the modifyToolsStrands.py script which adds the necessary imports, decorators, and data loading code: This script will:
I'll help you find flights from New York to Seattle on May 20th. Let me first get your user details and then search for available flights. From Newark (EWR) - Best Option:
From LaGuardia (LGA):
Additional EWR Option:
The Newark (EWR) option with HAT213→HAT099 is the best choice as it:
Now let me calculate the baggage costs. As a Gold member, you get 3 free checked bags per passenger in economy, so all 3 of your bags would be free. Let me also calculate the total cost with your certificates. You have:
However, the system only allows one certificate per reservation. Since you prefer using the larger one, I'll use the $250 certificate, and the remaining $29 ($279 - $250) would be paid with your credit card ending in 7447. Booking Summary:
Would you like me to proceed with booking this reservation? Please confirm by saying "yes" if you agree with these details. REACT execution time 30.67269802093506
|
…ock, keep only necessary imports, fix image path for proper rendering
|
Latest scan for commit: ✅ Security Scan Report (PR Files Only)Scanned Files
Security Scan Results
Threshold: High No security issues detected in your changes. Great job! This scan only covers files changed in this PR. |
… necessary corrections in readme, images now render
Merge upstream changes to keep fork up to date
…taubench dataset (strands-agents#152) * feat: Add custom orchestration with Strands agents demonstrated with taubench dataset - Implement 3 orchestration patterns: REWOO, REWOO-ReAct hybrid, Reflexion - Add comprehensive documentation with project structure and usage instructions - Include requirements.txt for easy setup - All patterns use taubench airline domain with 14 flight booking tools - Ready-to-run Jupyter notebooks for each orchestration approach * adding detailed documentation for every notebook following existing example styles along with architecture diagram * adding visrtual env creation, adding git repo name for cloning * Consistently named Strands as Strands Agents, Bedrock and Amazon Bedrock, keep only necessary imports, fix image path for proper rendering * adding example query and response for all orchestrations * formatting issues * formatting issues in rewoo-react * 2 replacement tools that user needs to replace after setting up the tools * added the data ready to be used , removed code to download data, made necessary corrections in readme, images now render * adjusting the image format * taking care of security issues * removing unused folders and files from data folder * more cleanup from data * adding some description on th edataset so that readers know the kind of data it is * changing it to 15th sample * correcting readme * fixing the data issue and removed unused imports * fixing sec issue from calculate.py * remove saving response to output folder
This PR introduces advanced multi-agent orchestration patterns using AWS Strands framework with the taubench airline booking dataset.
What's Added
Orchestration Patterns
Implementation Details
tasks_singleturn.jsondataset with flight booking scenariosDocumentation & Setup
requirements.txtfor easy dependency managementTesting
Each notebook is self-contained and can be executed independently to compare orchestration approaches on the same airline domain tasks.
Issue #, if available:
NA
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.