Skip to main content
Add a 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 under deploy:.

Generate a Sample

generate_sample_yaml produces a ready-to-edit config for any type.

Best Practices

The API type needs no cloud credentials and runs on your machine. Validate the agent locally before moving to Docker or cloud.
Run praisonai deploy validate --file agents.yaml to catch schema errors early — a type: cloud block without a cloud: section fails fast.
Need a target that isn’t built in? See Custom cloud providers.

Config Reference

Every field, type, and default

Python API

Deploy class methods and results