Session is a lightweight handle for a multi-turn conversation. You do not
construct it directly - app.session(...) returns one. It carries metadata,
participants, and the current sub-agent, but the session object is not
the message store; conversation history lives with the harness and session
transcript. See the concept page for the
model.
Create
Fields
Send and stream
Participants
Agent handoff
Assigningcurrent_agent fires the agent.handoff
hook:
Resolving approvals
When a turn pauses with aninput_required event, resolve it
and continue streaming:
approve_once, approve_session, or deny.
