This is a fun example for sports fans. The Sports Team Poet is a supervisor with a Sports Researcher and a Sports Poetry Writer. Pick your favorite team (go Celtics!) and see multi-agents collaborate to conduct web search about your team and make a fun poem with those insights. Have fun!
- Clone and install repository
git clone https://github.com/awslabs/amazon-bedrock-agent-samples
cd amazon-bedrock-agent-samples
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r src/requirements.txt
- Deploy Web Search tool
Follow instructions here.
- Deploy Amazon Bedrock Agents
python3 examples/amazon-bedrock-multi-agent-collaboration/team_poems_agent/main.py \
--recreate_agents "true"
- Invoke
python3 examples/amazon-bedrock-multi-agent-collaboration/team_poems_agent/main.py \
--recreate_agents "false" \
--team_name "New England Patriots"
- Cleanup
python3 examples/amazon-bedrock-multi-agent-collaboration/team_poems_agent/main.py \
--clean_up "true"
This project is licensed under the Apache-2.0 License.