Skip to main content
Deploy single or multi-agent systems as HTTP REST API servers.

Quick Start

1

Install Dependencies

2

Set API Key

3

Initialize Agents

4

Start Server

Expected Output:
5

Verify

Python - Single Agent

Expected Output:

Python - Multi-Agent

Expected Output:
Multiple Agent / Agents instances may call .launch(port=N) concurrently from different threads — registration is atomic. If two launch calls use the same path on the same port, the second gets an auto-suffixed path (/path_abc123) and a warning is logged. Server readiness is signalled deterministically (no fixed sleep); .launch() returns only after the port is accepting connections. The wait defaults to 5 seconds and is configurable via the PRAISONAI_SERVER_READY_TIMEOUT environment variable. If the server doesn’t become ready in time, .launch() still returns and a warning is logged — check server logs for startup errors.

agents.yaml

CLI Commands

launch() Parameters

Endpoints

Example Request/Response

Request:
Response:

Remote Access

Use host="0.0.0.0" to allow remote connections:
Connect from remote:

Environment Variables

Troubleshooting