start_session
Initialize a fresh agent session or resume an existing one, returning session and client IDs needed for subsequent calls. Force new identity when required.
Instructions
Primary workflow name for starting a session; implemented by onboard(). Common case: force_new=true alone — save the returned uuid and client_session_id. parent_agent_id is for a real handoff from an exited predecessor, not for a session sharing the workspace with one still running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional COSMETIC display name; sets display_name only, never `agent_id` or `uuid`. Thread `uuid` across tools, not this. | |
| resume | No | Resume existing identity when a proof signal is present (continuity_token, agent_uuid, agent_id, client_session_id, or name). | |
| agent_id | No | UNIQUE agent identifier; optional when session-bound (auto-injected). | |
| force_new | No | Force new identity creation. | |
| thread_id | No | Explicit thread ID to join (auto-derived from session if not provided) | |
| model_type | No | Optional model type | |
| client_hint | No | Client hint string | |
| orchestrated | No | Declare that a client_session_id is a thread-stable anchor provisioned by an orchestrator for a headless turn-child. | |
| spawn_reason | No | Why this fork was created. Registered reasons: subagent, dialectic_reviewer, dispatch, compaction, explicit, new_session. | |
| initial_state | No | Optional bootstrap check-in payload. | |
| response_mode | No | Verbosity of the identity envelope. | minimal |
| onboard_origin | No | Adapter-supplied observability label for the onboard entry path: agent, harness_backstop, or orchestrated_resume. | |
| parent_agent_id | No | UUID of predecessor agent (for fork lineage) | |
| continuity_token | No | Ownership proof from onboard()/identity(), for same-live-process rebinds only. Not a cross-process resume credential. | |
| client_session_id | No | In-session binding id from start_session()/identity(); pass it on same-process calls. Not a cross-process proof. | |
| process_fingerprint | No | Optional client-reported execution context: {host_id, pid, pid_start_time, transport, ppid?, tty?, anchor_path_hash?}. | |
| trajectory_signature | No | Trajectory signature dict |