praisonai deploy.
Quick Start
1
Install PraisonAI
2
Set API Key
3
Initialize Deploy Config
4
Deploy
Windows compatibility (added 2026-08-03):
praisonai deployreconfigures stdout/stderr to UTF-8 automatically, so the emoji banner no longer crashes cp1252 consoles.praisonai deploy destroyusesnetstat -ano+taskkillon Windows (falling back tolsof+SIGTERMon POSIX), preventing orphaned Flask API servers.- The background API deploy path spawns children via
sys.executable, so it inherits the parent venvโs Flask install on Windows and multi-Python setups (no moreModuleNotFoundError: flask).
Deploy Types
CLI Commands
praisonai deploy run
Execute deployment.praisonai deploy init
Generate sample agents.yaml with deploy configuration.praisonai deploy validate
Validate agents.yaml deploy configuration.validate is a strict schema check. Misspelled field keys (e.g. clustor_name) and misspelled section names (e.g. dockerr:) now fail with a clear ValueError instead of deploying with silent defaults. For type: cloud, the human-readable output also prints a Cluster: line alongside Provider, Region, and Service. See PraisonAI PR #4308.praisonai deploy plan
Show deployment plan without executing.praisonai deploy status
Show deployment status.praisonai deploy doctor
Check deployment readiness.praisonai deploy destroy
Destroy/delete deployment.CLI Flags
agents.yaml Deploy Section
Add adeploy section to your agents.yaml:
Deploy Configuration Options
API Config
Docker Config
Cloud Config
SDK Deploy Class
Deploy programmatically using Python:Deploy Methods
Troubleshooting
Related
- API Deploy - Deploy as local API server
- Docker Deploy - Deploy to Docker
- AWS Deploy - Deploy to AWS ECS/Fargate
- GCP Deploy - Deploy to Google Cloud Run

