Quick Start
Level 1 — String (preset)
Pick a named output mode — the shortest way to control what the agent prints.
Output Presets
The default is
output="silent" — agents return responses without printing anything. This is the fastest mode for programmatic use.How It Works
| Phase | What happens |
|---|---|
| 1. Generate | Agent processes the request normally |
| 2. Route | Response is passed to the configured output mode |
| 3. Display | Output mode formats and renders (or stays silent) |
Configuration Options
Full list of options, types, and defaults —
OutputConfig| Option | Type | Default | Description |
|---|---|---|---|
verbose | bool | False | Show Rich panels and detailed output |
markdown | bool | False | Render markdown formatting |
stream | bool | False | Stream tokens as they generate |
json_output | bool | False | Emit JSONL events for piping |
output_file | str | None | None | Auto-save response to file path |
Common Patterns
Pattern 1 — Streaming for real-time UX
Pattern 2 — Save output to file
Pattern 3 — JSON output for pipelines
Best Practices
Default silent mode for production
Default silent mode for production
output="silent" (the default) adds zero overhead and returns the response as a Python string. Use it for APIs, background jobs, and any code that processes the response programmatically.Use verbose for development
Use verbose for development
Set
output="verbose" during development to see tool calls, agent reasoning, and formatted output. Switch back to silent before deploying.Streaming for user-facing apps
Streaming for user-facing apps
Enable
OutputConfig(stream=True) for chat interfaces and terminal apps where users expect to see the response appear word by word, not all at once.Save outputs automatically
Save outputs automatically
Use
output_file="path/to/file.md" to automatically save every response — useful for report generation, batch processing, and audit trails.Related
Caching — avoid redundant LLM calls
Execution — control iteration limits and rate limiting

