Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Portfolio Assistant Agent

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.

Architecture Diagram

architecture

Prerequisites

  1. 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
  1. Deploy Web Search tool

Follow instructions here.

  1. Deploy Stock Data Lookup tool

Follow instructions here.

Usage & Sample Prompts

  1. Deploy Amazon Bedrock Agents
python3 examples/multi_agent_collaboration/portfolio_assistant_agent/main.py \
--recreate_agents "true"
  1. Invoke
python3 examples/multi_agent_collaboration/portfolio_assistant_agent/main.py \
--recreate_agents "false" \
--ticker "AMZN"
  1. Cleanup
python3 examples/multi_agent_collaboration/portfolio_assistant_agent/main.py \
--clean_up "true"

License

This project is licensed under the Apache-2.0 License.