Agent.launch() or Agents.launch().
Base URL
8000.
Endpoints
POST /
Send a query to the agent(s). Request:| Field | Type | Required | Description |
|---|---|---|---|
query | string | Yes | The message to send |
| Field | Type | Description |
|---|---|---|
response | string | Agent’s response |
POST //
Call a specific agent in multi-agent setup. Request:GET //list
List available agents. Request:GET /health
Health check endpoint. Request:GET /
Root endpoint with welcome message. Request:GET /docs
Swagger UI documentation. Request: Open in browser:http://localhost:8000/docs
Error Responses
| Status | Description |
|---|---|
400 | Bad request - invalid JSON or missing query |
401 | Unauthorized - invalid or missing API key |
500 | Internal server error |
Authentication
Whenapi_key is set in launch():
Python Client
Related
- Agents Server - Deploy agents as HTTP server
- MCP API - MCP server endpoints
- A2A API - A2A protocol endpoints

