Skip to main content
Agent.Stream(...) runs the same state machine as Run(...) and returns AgentStreamResult:
Use FullStream() for model, tool, step, and run events. Consumers can replay the captured async sequence independently. Call Cancel() when the product should stop the active run; cancellation is passed to model requests and local tools.
Last modified on July 26, 2026