pub async fn create_agent_session(
options: SessionOptions,
) -> Result<AgentSessionHandle>Expand description
Create a fully configured embeddable agent session.
This is the programmatic entrypoint for non-CLI consumers that want to run Pi sessions in-process.