Skip to main content
Validate team YAML for runtime compatibility, handoffs, and installed frameworks without LLM calls or API keys.
The user validates team YAML with doctor before team.start(), catching handoff and runtime issues without LLM calls.

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
Resolution order (mirrors the framework):
  1. Agent-level runtime: wins.
  2. Otherwise falls back to top-level framework: (default praisonai).
  3. When framework: autogen, version comes from autogen_version: or $AUTOGEN_VERSION:
    • v0.4autogen_v4 (if available)
    • v0.2autogen
    • auto (default) → prefers autogen_v4 if installed, else autogen

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

Add praisonai doctor runtime --team agents.yaml to CI and local scripts before AgentTeam.start() or praisonai workflow run.
JSON output integrates cleanly with GitHub Actions and other CI systems — exit code 1 blocks the pipeline when compatibility issues are found.
Only praisonai and autogen_v4 support handoffs. Mixed-runtime teams with handoffs through crewai, autogen, or ag2 fail preflight.

Runtime Selection

Choose which runtime executes each model

Runtime Config Migration

Migrate legacy cli_backend fields with praisonai doctor runtime —fix