Threads and turnsStart, resume, fork and rewind conversations. Steer or interrupt a turn while it runs.
One event streamText, reasoning, tool calls, file diffs, plans, subagents and usage arrive in the same shape from every runtime.
Approvals as eventsPermission requests and questions from the agent reach your code, so your app decides what to do with them.
Honest about differencescapabilities() says what a runtime can do. A method it can't run throws an error rather than quietly doing something else.