CLI
Python
agents.yaml
A2A server mode is Python-only. Use the Python SDK to create A2A servers.A2A Endpoints
| Endpoint | Method | Description |
|---|---|---|
/.well-known/agent.json | GET | Agent Card for discovery |
/a2a | POST | JSON-RPC messages |
/status | GET | Server status |
A2A Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
agent | Agent | - | PraisonAI Agent instance |
agents | Agents | - | Multi-agent workflow |
name | str | agent.name | A2A endpoint name |
description | str | agent.role | Agent description |
url | str | http://localhost:8000/a2a | A2A endpoint URL |
version | str | 1.0.0 | Version string |
prefix | str | "" | URL prefix |
Send A2A Message
Python Client
Troubleshooting
| Issue | Fix |
|---|---|
| Port in use | lsof -i :8000 |
| Missing deps | pip install "praisonaiagents[api]" |
| No API key | export OPENAI_API_KEY="your-key" |
| Agent Card 404 | Check router is included in app |
Related
- A2A API Reference - Full A2A endpoint documentation
- AGUI Server - Deploy as AGUI server
- Agents Server - Deploy as HTTP server

