Streaming CLI
Control streaming behavior when running agents from the command line.Overview
By default, agent responses stream to the terminal in real-time. You can control this behavior with CLI flags.Commands
Enable Streaming (Default)
Disable Streaming
Options
| Option | Description | Default |
|---|---|---|
--stream | Enable streaming output | true |
--no-stream | Disable streaming, wait for complete response | false |
--verbose, -v | Show streaming output in terminal | true |
--quiet, -q | Suppress streaming output | false |
Examples
Interactive Streaming
Batch Processing
Silent Mode
Verbose Streaming
Scripting Examples
Capture Streamed Output
JSON Output (No Streaming)
Pipeline Usage
Environment Variables
Use Cases
Interactive Chat
Automation Scripts
Long-Form Generation
See Also
- Streaming - Streaming in code
- Agent CLI - Agent CLI commands
- Agents CLI - Multi-agent CLI

