Server Adapters CLI
Run AI agent servers from the command line.Commands
Start Server
Options
| Option | Type | Default | Description |
|---|---|---|---|
--port | number | 3000 | Server port |
--framework | string | http | Framework (http, express, hono, fastify) |
--instructions | string | - | Agent instructions |
--model | string | gpt-4o | Model to use |
--streaming | boolean | false | Enable streaming |
--cors | string | - | CORS origin |
Examples
Express Server
With Tools
Environment Variables
| Variable | Required | Description |
|---|---|---|
OPENAI_API_KEY | Yes | For the agent |
PORT | No | Server port |
Related Commands
praisonai-ts server stop- Stop serverpraisonai-ts server status- Check status

