deploy: section to agents.yaml, then deploy it with three method calls.
Quick Start
1
Write agents.yaml
Add a
deploy: block alongside your agent definition.2
Deploy from Python
3
Or deploy from the CLI
agents.yaml by Type
Each deployment type reads a matching block underdeploy:.
- API
- Docker
- Cloud (GCP)
Generate a Sample
generate_sample_yaml produces a ready-to-edit config for any type.
Best Practices
Start with type: api
Start with type: api
The API type needs no cloud credentials and runs on your machine. Validate the agent locally before moving to Docker or cloud.
Validate before you deploy
Validate before you deploy
Run
praisonai deploy validate --file agents.yaml to catch schema errors early — a type: cloud block without a cloud: section fails fast.Related
Config Reference
Every field, type, and default
Python API
Deploy class methods and results

