praisonai serve <type> - one command to start any server.
Quick Start
1
Start Agents Server
2
Start Gateway Server
3
Start All-in-One Server
All Serve Commands
Run
praisonai serve to see all available options with descriptions.Server Details
- Agents
- Gateway
- MCP
- Recipe
- Unified
HTTP REST API for agents.Options:
Test with curl:
Authentication
Set--api-key to require a key on every request. Send it with either header.
401 {"error": "Unauthorized"}.
These paths stay public even when --api-key is set:
How It Works
Common Patterns
Development with Hot Reload
Development with Hot Reload
Production with Auth
Production with Auth
Multiple Servers
Multiple Servers
All-in-One Development
All-in-One Development
Discovery Endpoint
All HTTP servers expose/__praisonai__/discovery for endpoint discovery.
Best Practices
Use Unified for Development
Use Unified for Development
Start with
praisonai serve unified during development to access all providers. Split into separate servers for production.Always Set Host in Production
Always Set Host in Production
Use
--host 0.0.0.0 to accept external connections. Default 127.0.0.1 only accepts local connections.Enable Auth for Public Servers
Enable Auth for Public Servers
Always use
--api-key when exposing servers publicly. Never run unauthenticated servers on public networks.Related
Agents Server
HTTP REST API details
Gateway Server
WebSocket coordination
MCP Server
Claude Desktop integration
A2A Server
Agent-to-Agent protocol

