Stock Analysis supervisor agent has three collaborators, a News agent, a Stock Data agent, and a Financial Analyst agent. These specialists are orchestrated to perform investment analysis for a given stock ticker based on the latest news and recent stock price movements.
- 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 Stock Data Lookup tool
Follow instructions here.
- Deploy Amazon Bedrock Agents
python3 examples/multi_agent_collaboration/portfolio_assistant_agent/main.py \
--recreate_agents "true"
- Invoke
python3 examples/multi_agent_collaboration/portfolio_assistant_agent/main.py \
--recreate_agents "false" \
--ticker "AMZN"
- Cleanup
python3 examples/multi_agent_collaboration/portfolio_assistant_agent/main.py \
--clean_up "true"
This project is licensed under the Apache-2.0 License.