AgentRunResult contains durable run state, messages, steps, usage and cost, warnings, finish reasons, and final output.
Use text_stream() for answer text and item_stream() for provider and runtime items. Python item values are dictionary-shaped rather than the TypeScript discriminated AgentItem union.