Create one
Get a reply
result() resolves on the first terminal event.
Stream the events
Multi-turn
A session keeps state between sends:Fork
Snapshot a session and continue both branches independently:Resume
Reconnect to a session and replay missed events:Abort
session.aborted.
Terminal guarantee
Every session reaches a terminal event (session.completed, session.completed_degraded, or session.aborted). Consumers never hang.
See Events for the full vocabulary.