Tutorials · Claude Agent SDK · examples / outputs / 07_streaming.txtExample code

Example code · outputs

07_streaming.txt

Captured output of 07_streaming

Raw fileDownload all examples (zip)See the script →

[Using Read...].............................. done
This is a tiny demo Python project for the Claude Agent SDK, containing helper functions and a toy app with a known SQL injection bug.

--- Complete (success) ---
Stream event counts: {'message_start': 2, 'content_block_start': 3, 'content_block_delta': 43, 'content_block_stop': 3, 'message_delta': 2, 'message_stop': 2}

7 lines · Back to the folder