Skip to content

Commit 9a62bd2

Browse files
authored
Document the Console Output default behavior (#223)
We receive a lot of questions about the default output behavior, so putting this up front in the QuickStart Co-authored-by: Mackenzie Zastrow <[email protected]>
1 parent 25da642 commit 9a62bd2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/user-guide/quickstart.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,20 @@ Traces provide detailed insight into the agent's reasoning process. You can acce
311311

312312
This observability data helps you debug agent behavior, optimize performance, and understand the agent's reasoning process. For detailed information, see [Observability](observability-evaluation/observability.md), [Traces](observability-evaluation/traces.md), and [Metrics](observability-evaluation/metrics.md).
313313

314+
315+
## Console Output
316+
317+
Agents display their reasoning and responses in real-time to the console by default. You can disable this output by setting `callback_handler=None` when creating your agent:
318+
319+
```python
320+
agent = Agent(
321+
tools=[calculator, current_time, letter_counter],
322+
callback_handler=None,
323+
)
324+
```
325+
326+
Learn more in the [Callback Handlers](concepts/streaming/callback-handlers.md) documentation.
327+
314328
## Debug Logs
315329

316330
To enable debug logs in our agent, configure the `strands` logger:

0 commit comments

Comments
 (0)