Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Generated from the public TypeScript API.
const session = await agent.createSession({ title: "Release review", parentId: "ses_parent", })
optional cwd?: string;
optional maxBudgetUsd?: number;
optional maxTurns?: number;
optional model?: ModelId;
provider/model
optional outputFormat?: OutputFormatSpec<unknown>;
optional parentId?: string;
optional permission?: PermissionRuleset;
permissionMode
optional permissionMode?: PermissionMode;
optional title?: string;
"Agent session"