-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
51f90a9
commit 455a897
Showing
23 changed files
with
252 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import imports | ||
import streamlit as st | ||
|
||
st.set_page_config( | ||
page_title="AWS Multi-Agent Orchestrator Demos", | ||
page_icon="👋", | ||
) | ||
|
||
pg = st.navigation( | ||
[ | ||
st.Page("pages/home.py", title="Home", icon="🏠"), | ||
st.Page("movie-production/movie-production-demo.py", title="AI Movie Production Demo" ,icon="🎬"), | ||
st.Page("travel-planner/travel-planner-demo.py", title="AI Travel Planner Demo" ,icon="✈️"), | ||
]) | ||
pg.run() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
29 changes: 6 additions & 23 deletions
29
examples/movie-production/readme.md → examples/python/movie-production/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import streamlit as st | ||
|
||
st.title("AWS Multi-Agent Orchestrator Demos") | ||
|
||
st.markdown(""" | ||
Welcome to our comprehensive demo application showcasing real-world applications of the AWS Multi-Agent Orchestrator framework. | ||
This app demonstrates how multiple specialized AI agents can collaborate to solve complex tasks using Amazon Bedrock and Anthropic's Claude. | ||
Each demo highlights different aspects of multi-agent collaboration, from creative tasks to practical planning, | ||
showing how the framework can be applied to various business scenarios. 🤖✨ | ||
## 🎮 Featured Demos | ||
### 🎬 AI Movie Production Studio | ||
**Requirements**: AWS Account with Amazon Bedrock access (Claude models enabled) | ||
Transform your movie ideas into detailed scripts and cast lists! Our AI agents collaborate: | ||
- **ScriptWriter** ([BedrockLLMAgent](https://awslabs.github.io/multi-agent-orchestrator/agents/built-in/bedrock-llm-agent) with Claude 3 Sonnet): Creates compelling story outlines | ||
- **CastingDirector** ([BedrockLLMAgent](https://awslabs.github.io/multi-agent-orchestrator/agents/built-in/bedrock-llm-agent) with Claude 3 Haiku): Researches and suggests perfect casting choices | ||
- **MovieProducer** ([BedrockLLMAgent](https://awslabs.github.io/multi-agent-orchestrator/agents/built-in/bedrock-llm-agent) with Claude 3.5 Sonnet): Coordinates the entire creative process | ||
- All coordinated by a [**BedrockFlowsAgent**](https://awslabs.github.io/multi-agent-orchestrator/agents/built-in/bedrock-flows-agent) supervisor | ||
### ✈️ AI Travel Planner | ||
**Requirements**: Anthropic API Key | ||
Your personal travel assistant powered by AI! Experience collaboration between: | ||
- **ResearcherAgent** ([AnthropicAgent](https://awslabs.github.io/multi-agent-orchestrator/agents/built-in/anthropic-agent) with Claude 3 Haiku): Performs real-time destination research | ||
- **PlannerAgent** ([AnthropicAgent](https://awslabs.github.io/multi-agent-orchestrator/agents/built-in/anthropic-agent) with Claude 3 Sonnet): Creates personalized day-by-day itineraries | ||
- Coordinated by a [**SupervisorMode**](https://awslabs.github.io/multi-agent-orchestrator/agents/built-in/supervisor-agent) using the Planner as supervisor | ||
""") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
# AWS Multi-Agent Orchestrator Demos | ||
|
||
This Streamlit application showcases various demos powered by the AWS Multi-Agent Orchestrator framework, demonstrating how multiple AI agents can collaborate to solve complex tasks using Amazon Bedrock. | ||
|
||
## 🎯 Current Demos | ||
|
||
### 🎬 [AI Movie Production](../movie-production/README.md) | ||
**Requirements**: AWS Account with Amazon Bedrock access (Claude models enabled) | ||
|
||
Transform your movie ideas into detailed concepts with this AI-powered production assistant. Simply describe your movie idea, choose a genre and target audience, and the system will generate a complete script outline and suggest suitable actors for main roles based on real-time casting research. Powered by a team of specialized AI agents using Claude 3 on Amazon Bedrock. | ||
|
||
### ✈️ [AI Travel Planner](../travel-planner/README.md) | ||
**Requirements**: Anthropic API Key | ||
|
||
Create personalized travel itineraries with this AI-powered travel assistant. Input your destination and duration, and the system will research attractions, accommodations, and activities in real-time, crafting a detailed day-by-day itinerary tailored to your preferences. Built using specialized research and planning agents powered by Amazon Bedrock. | ||
|
||
## 🚀 Getting Started | ||
|
||
### Prerequisites | ||
- Python 3.8 or higher | ||
- For Movie Production Demo: | ||
- AWS account with access to Amazon Bedrock | ||
- AWS credentials configured ([How to configure AWS credentials](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html)) | ||
- Claude models enabled in Amazon Bedrock ([Enable Bedrock model access](https://docs.aws.amazon.com/bedrock/latest/userguide/model-access.html)) | ||
- For Travel Planner Demo: | ||
- Anthropic API Key ([Get your API key](https://console.anthropic.com/account/keys)) | ||
|
||
### Installation | ||
|
||
1. Clone the repository: | ||
```bash | ||
git clone https://github.com/awslabs/multi-agent-orchestrator.git | ||
``` | ||
|
||
2. Navigate to the demos directory: | ||
```bash | ||
cd examples/python | ||
python -m venv venv | ||
source venv/bin/activate # On Windows use `venv\Scripts\activate` | ||
``` | ||
|
||
3. Install the required dependencies: | ||
```bash | ||
# For running all demos through main app | ||
python -m venv venv_main | ||
source venv/bin/activate # On Windows use `venv_main\Scripts\activate` | ||
pip install -r requirements.txt | ||
``` | ||
|
||
4. Configure AWS credentials: | ||
- Follow the [AWS documentation](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html) to set up your credentials using your preferred method (AWS CLI, environment variables, or credentials file) | ||
|
||
5. Run the Streamlit app: | ||
```bash | ||
streamlit run main-app.py | ||
``` | ||
|
||
## 💡 How It Works | ||
|
||
The application uses the Multi-Agent Orchestrator framework to coordinate multiple specialized AI agents powered by Amazon Bedrock. Each demo showcases different aspects of agent collaboration: | ||
- **Movie Production**: Demonstrates creative collaboration between script writing and casting agents | ||
- **Travel Planning**: Shows how research and planning agents can work together to create personalized travel experiences | ||
|
||
Each agent is powered by Claude 3 on Amazon Bedrock and can communicate with other agents through a supervisor agent that orchestrates the entire process. | ||
|
||
## 🛠️ Technologies Used | ||
- AWS Multi-Agent Orchestrator | ||
- Amazon Bedrock | ||
- Claude 3 (Anthropic) | ||
- Streamlit | ||
- Python | ||
|
||
## 📚 Documentation | ||
|
||
For more information about the Multi-Agent Orchestrator framework and its capabilities, visit our [documentation](https://awslabs.github.io/multi-agent-orchestrator/). | ||
|
||
## 🤝 Contributing | ||
|
||
We welcome contributions! Please feel free to submit a Pull Request. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Core dependencies for the main demo app | ||
streamlit | ||
duckduckgo-search | ||
multi-agent-orchestrator[aws] | ||
multi-agent-orchestrator[anthropic] | ||
python-dotenv | ||
boto3 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
## ✈️ AI Travel Planner | ||
This Streamlit app is an AI-powered travel planning assistant that helps plan personalized travel itineraries using Claude 3 on Amazon Bedrock. It automates destination research and itinerary planning, creating detailed travel plans tailored to your needs. | ||
|
||
### Streamlit App | ||
Here's how the app works: | ||
1. Enter your desired destination | ||
2. Specify the number of days you want to travel | ||
3. Click `Generate Itinerary` | ||
4. Get a detailed, day-by-day travel plan with researched attractions and activities | ||
|
||
### Features | ||
- Researches destinations and attractions in real-time using web search | ||
- Generates personalized day-by-day itineraries based on your travel duration | ||
- Provides practical travel suggestions and tips based on current information | ||
- Creates comprehensive travel plans that consider local attractions, activities, and logistics | ||
|
||
### How to Get Started? | ||
|
||
Check out the [demos README](../README.md) for installation and setup instructions. | ||
|
||
### How it Works? | ||
|
||
The AI Travel Planner utilizes two main components: | ||
- **ResearcherAgent**: Searches and analyzes real-time information about destinations, attractions, and activities using web search capabilities | ||
- **PlannerAgent**: Takes the researched information and creates a coherent, day-by-day travel itinerary, considering logistics and time management | ||
|
||
The agents work together through a supervisor to create a comprehensive travel plan that combines up-to-date destination research with practical itinerary planning. |
Oops, something went wrong.