| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This directory contains runnable examples demonstrating how to build and interact with an A2A-compliant agent using the Python SDK.
| File | Role | Description |
|---|---|---|
| hello_world_agent.py | Server | A2A agent server |
| cli.py | Client | Interactive terminal client |
Implements an A2A agent that responds to simple greeting messages (e.g., "hello", "how are you", "bye") with text replies, simulating a 1-second processing delay.
Demonstrates:
Run:
uv run python samples/hello_world_agent.pyAn interactive terminal client with full visibility into the streaming event flow. Each TaskStatusUpdate and TaskArtifactUpdate event is printed as it arrives.
Features:
Run:
# Connect to the local hello_world_agent (default):
uv run python samples/cli.py
# Connect to a different URL, using gRPC:
uv run python samples/cli.py --url http://192.168.1.10:41241 --transport GRPCThen type a message like hello and press Enter.
Type /quit or /exit to stop, or press Ctrl+C.
| Back | FazBrowse Home | New Git URL |