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
boolNo description available.
ResponseField
boolNo description available.
ResponseField
boolNo description available.
ResponseField
boolNo description available.
ResponseField
boolNo description available.
ResponseField
OptionalNo description available.
ResponseField
boolNo description available.
ResponseField
boolNo description available.
ResponseField
boolNo description available.
ResponseField
boolNo description available.
ResponseField
boolNo description available.
ResponseField
boolNo description available.
ResponseField
Optional[str]No description available.
ResponseField
Optional[str]No description available.
ResponseField
intNo description available.
Internal & Generic Methods
- to_dict: Convert to dictionary.
Usage
# 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 GitHubpraisonaiagents/config/feature_configs.py at line 712