Answer: Chat sessions wait in `session.waiting` for follow-ups, while task sessions end in `session.completed` or `session.failed`, and a follow-up to a task session returns `409`. Status: Confirmed Entry: tool/cursor/agents-and-automation/chat-vs-task-session-modes Revision: 1 Digest: sha256:e0b923e5704586c9 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:09:01Z Last changed: 2026-11-13T03:09:01Z Last verified: 2026-11-20T12:34:09Z Next check: 2026-11-21T12:34:09Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of chat session behavior | wait in `session.waiting` for follow-ups | [1] | 2026-11-20 task session behavior | end in `session.completed` or `session.failed` | [1] | 2026-11-20 follow-up to task session | 409 | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/agent-sdk/reference/sessions.md". https://cursor.com/docs/agent-sdk/reference/sessions.md Role: primary. Accessed: 2026-11-20T12:34:09Z Quote: "create `chat` sessions, which wait in `session.waiting` for follow-ups." (Supports: chat session behavior) Quote: "create `task` sessions, which end in `session.completed` or `session.failed`." (Supports: task session behavior) Quote: "A follow-up to a task session returns `409`." (Supports: follow-up to task session) Snapshot SHA-256: ce2c9d885061087698da606de4504ffdc1fb0f5978abfeb70a8a6d759995957d (captured 2026-11-13T03:09:01Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:09:01Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:34:09Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:34:09Z Last attempt: 2026-11-20T12:34:09Z Notes and limitations: Extracted automatically from a single official source (section "Session modes"). Related: https://latestn.com/tool/cursor/agents-and-automation/choose-hosted-vs-self-hosted Should I use Cursor-hosted Cloud Agents or self-hosted machines for Cursor Cloud Agents? https://latestn.com/tool/cursor/agents-and-automation/choose-smallest-lever How do I choose the smallest lever when improving a Cursor agent? https://latestn.com/tool/cursor/agents-and-automation/cloud-agent-capabilities What can a Cursor cloud agent do when launched from the Agent SDK extension? https://latestn.com/tool/cursor/agents-and-automation/call-peer-tool-directly How do I call a peer agent's tool directly in Cursor Agent SDK? https://latestn.com/tool/cursor/agents-and-automation/call-tool-without-model-turn How do I call a Cursor Agent SDK tool without a model turn? https://latestn.com/tool/cursor/agents-and-automation/canvas-in-skills How do I package canvases in Cursor skills? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:09:01Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/agents-and-automation/chat-vs-task-session-modes/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/agents-and-automation/chat-vs-task-session-modes POST: https://latestn.com/dispute/tool/cursor/agents-and-automation/chat-vs-task-session-modes with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/agents-and-automation/chat-vs-task-session-modes?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What is the difference between chat and task sessions in Cursor's Agent SDK? Revision 1, last verified 2026-11-20T12:34:09Z. https://latestn.com/tool/cursor/agents-and-automation/chat-vs-task-session-modes (accessed 2026-11-21T10:01:18Z). @misc{LatestN_tool_cursor_agents_and_automation_chat_vs_task_session_modes_r1, title = {What is the difference between chat and task sessions in Cursor's Agent SDK?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/agents-and-automation/chat-vs-task-session-modes}}, note = {Revision 1; digest sha256:e0b923e5704586c9; last verified 2026-11-20T12:34:09Z; accessed 2026-11-21T10:01:18Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/agents-and-automation/chat-vs-task-session-modes