How It Works
Quick Start
1
Simple Usage
Define your team YAML, then run preflight before starting:
2
With Configuration
Use
--json in CI and start the team only when exit code is 0:How It Works
praisonai doctor runtime --team parses your team YAML and checks:
- Known runtime IDs and installed packages
- Required capabilities (handoffs, tools,
cli_backend, etc.) - Handoff target existence and compatibility
- Mixed-runtime warnings across the team
- Agent-level
runtime:wins. - Otherwise falls back to top-level
framework:(defaultpraisonai). - When
framework: autogen, version comes fromautogen_version:or$AUTOGEN_VERSION:v0.4→autogen_v4(if available)v0.2→autogenauto(default) → prefersautogen_v4if installed, elseautogen
Runtime Capability Matrix
Capability names referenced by the checker:
agent_creation, tool_execution, handoff_support, context_sharing, cli_backend, sequential_execution, hierarchical_execution, group_chat.
Configuration
CLI flags
Exit codes
What the Checker Detects
Common Patterns
Good team YAML (passes)
Bad team YAML (multiple failures)
CI integration
Programmatic API
The same
praisonai doctor runtime command also handles legacy cli_backend migration (--fix, --execute). See Runtime Config Migration for migration flags.Best Practices
Run preflight before every team deploy
Run preflight before every team deploy
Add
praisonai doctor runtime --team agents.yaml to CI and local scripts before AgentTeam.start() or praisonai workflow run.Use --json in CI pipelines
Use --json in CI pipelines
JSON output integrates cleanly with GitHub Actions and other CI systems — exit code
1 blocks the pipeline when compatibility issues are found.Prefer a single runtime for handoff teams
Prefer a single runtime for handoff teams
Only
praisonai and autogen_v4 support handoffs. Mixed-runtime teams with handoffs through crewai, autogen, or ag2 fail preflight.Related
Runtime Selection
Choose which runtime executes each model
Runtime Config Migration
Migrate legacy cli_backend fields with praisonai doctor runtime —fix

