Optional
modesUNSTABLE
This field is not part of the spec, and may be removed or changed at any point.
A unique identifier for a conversation session between a client and agent.
Sessions maintain their own context, conversation history, and state, allowing multiple independent interactions with the same agent.
use agent_client_protocol::SessionId;
use std::sync::Arc;
let session_id = SessionId(Arc::from("sess_abc123def456"));
See protocol docs: Session ID
Response from creating a new session.
See protocol docs: Creating a Session