Skip to main content
Use agent.stream(input) to receive lifecycle events as the agent runs. After iterating, call .result() for the final RunResult.

Iterate events

Event types

The full set is exported as AgentStreamEvent in TypeScript and lives in opperai.agent._stream in Python.