Quick Start
1
Install Dependencies
2
Set API Key
3
Initialize Agents
4
Start Server
5
Verify
Python - Single Agent
Python - Multi-Agent
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:Remote Access
Usehost="0.0.0.0" to allow remote connections:
Environment Variables
Troubleshooting
Related
- Agents API Reference - Full API documentation
- Agents MCP - Deploy agents as MCP server
- Tools MCP - Deploy tools as MCP server
- Deploy CLI - Deploy using praisonai deploy

