Skip to main content

Code

a2a_agent_with_tools.py

Usage

1

Set up your virtual environment

2

Set Environment Variables

3

Install dependencies

4

Run Example

Key Features

  • Financial Data Tools: Real-time stock prices, analyst recommendations, and company info
  • Investment Analysis: Comprehensive company analysis and recommendations
  • Data Visualization: Tables and formatted financial information
  • A2A Endpoints: Serves the protocol routes POST /a2a/agents/{id}/v1/message:send and message:stream