Skip to main content
Agents can create and manage tasks via the SDK. Tasks appear in the Tasks panel in orch-hq, grouped by urgency. Your agents find work that needs doing, you check it off when it’s done.

Quick Start

The task appears in your orch-hq Tasks panel immediately, sorted under the appropriate urgency group.

Tasks vs Messages

Messages are fire-and-forget notifications — the agent tells you something. Tasks are stateful work items — something needs doing. An agent might send a message saying “found 3 bugs” and also create 3 tasks to track fixing them.

SDK Usage

task.create()

task.list()

task.update()

task.get() / task.complete()

Both take a single task_id string. complete() is shorthand for update(task_id, status="done").

API Reference

All endpoints require Authorization: Bearer <api_key>.

Create a task

Response (201):

List tasks

Response:

Get a single task

Update a task

Partial updates — only include fields you want to change. Setting status to done automatically sets completed_at. Setting status back to open or in_progress clears completed_at.

Delete a task

Workspace-scoped listing

Same query parameters as GET /tasks, scoped to a specific workspace.

orch-hq Display

Tasks appear in the Tasks panel (sidebar button) in orch-hq:
  • Grouped by urgency: overdue (red), today (orange), this week (blue), later (muted)
  • Tasks with no due date appear under “Later”
  • Checkbox to toggle between open and done (optimistic update)
  • Priority dots: urgent (red), high (orange)
  • Shows the agent name for agent-created tasks
  • Polls every 30 seconds for updates

Examples

CTO agent finds bugs

Morning brief checks for overdue tasks

Mark task done after completing work

Combine tasks with messages for a complete workflow: agents create tasks for work that needs doing, send messages for things you need to know, and the Activity Feed tracks every execution automatically.

Next Steps

Messages

Send notifications from your agents

SDK Reference

Full SDK documentation

orch-hq

The desktop app where tasks appear