praisonai deploy doctor.
CLI
CLI Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--file, -f | string | agents.yaml | Path to agents.yaml |
--provider | choice | - | Check specific provider (aws, azure, gcp) |
--all | flag | false | Run all checks |
--verbose | flag | false | Verbose output |
--json | flag | false | Output as JSON |
Python
Check Types
Local Checks
Run by default or with--file:
| Check | Description |
|---|---|
| Python Version | Python 3.8+ required |
| PraisonAI Installed | Package installed |
| agents.yaml Exists | File exists at path |
| agents.yaml Valid | Configuration is valid |
| OPENAI_API_KEY | API key environment variable |
| Docker Available | Docker daemon running |
AWS Checks
Run with--provider aws:
| Check | Description |
|---|---|
| AWS CLI Installed | aws command available |
| AWS Credentials | Valid credentials configured |
| AWS Region | Region is set |
| ECR Access | Can access Elastic Container Registry |
| ECS Access | Can access Elastic Container Service |
Azure Checks
Run with--provider azure:
| Check | Description |
|---|---|
| Azure CLI Installed | az command available |
| Azure Logged In | Valid login session |
| Subscription Set | Subscription ID configured |
| Resource Group | Resource group exists |
| Container Registry | ACR access |
GCP Checks
Run with--provider gcp:
| Check | Description |
|---|---|
| GCloud CLI Installed | gcloud command available |
| GCloud Authenticated | Valid authentication |
| Project Set | Project ID configured |
| Cloud Run API | API enabled |
| Artifact Registry | Registry access |
Failed Check Example
JSON Output
Troubleshooting
| Issue | Fix |
|---|---|
| agents.yaml not found | praisonai deploy init |
| API key not set | export OPENAI_API_KEY="..." |
| Docker not running | Start Docker daemon |
| AWS credentials | aws configure |
| Azure not logged in | az login |
| GCP not authenticated | gcloud auth login |
Related
- Deploy CLI Overview - All deploy commands
- Status - Check deployment status
- API Deploy - Deploy as local API

