Output Config • AI Agent SDK

OutputConfig: Configuration for agent output behavior.

OutputConfig

Defined in the Feature Configs module.

AI Agent

Configuration for agent output behavior.

Consolidates: verbose, markdown, stream, metrics, reasoning_steps, output_style

DEFAULT: output=”silent” (zero overhead, fastest performance)

Properties

ResponseField bool

No description available.

ResponseField bool

No description available.

ResponseField bool

No description available.

ResponseField bool

No description available.

ResponseField bool

No description available.

ResponseField Optional

No description available.

ResponseField bool

No description available.

ResponseField bool

No description available.

ResponseField bool

No description available.

ResponseField bool

No description available.

ResponseField bool

No description available.

ResponseField bool

No description available.

ResponseField Optional[str]

No description available.

ResponseField Optional[str]

No description available.

ResponseField int

No description available.

Internal & Generic Methods
  • to_dict: Convert to dictionary.

Usage

python
# Default is silent mode (no output overhead, programmatic use)
    Agent(instructions="...")  # Uses output="silent"

    # Actions mode (tool calls + final output trace)
    Agent(output="actions")

    # Verbose mode with Rich panels
    Agent(output="verbose")

    # JSON mode for piping
    Agent(output="json")

    # With config
    Agent(output=OutputConfig(
        verbose=True,
        markdown=True,
        stream=True,
        metrics=True,
        reasoning_steps=True,
    ))

Source

View on GitHub

praisonaiagents/config/feature_configs.py at line 712


Related Documentation