Skip to main content
Agent.Stream(...) returns a replayable StreamResult:
Use Events() for lifecycle and provider events. Call Cancel() to cancel the stream context and active model request. Go does not yet expose the same native typed item consumer as TypeScript; use the event sequence and completed run records for structured product timelines.
Last modified on July 26, 2026