Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

CLI

The CLI is a small host application that demonstrates the capabilities of an A2AClient. It supports reading a server's AgentCard and text-based collaboration with a remote agent. All content received from the A2A server is printed to the console.

The client will use streaming if the server supports it.

Prerequisites

  • Python 3.13 or higher
  • UV
  • A running A2A server

Running the CLI

  1. Navigate to the samples directory:

    cd samples/python
  2. Run the example client

    uv run hosts/cli --agent [url-of-your-a2a-server]
    

    for example --agent http://localhost:10000. More command line options are documented in the source code.