Tasks
Tasks are units of work you give to agents: a report to produce, a batch of documents to process, a check to run. A conversation is for back-and-forth. A task is for work that should be done, tracked and retried without anyone watching: it has an owner, a priority, a deadline, a history of runs, and retries when something fails.
Why tasks
- Batch work: process a hundred documents overnight
- Background work: produce reports while your team sleeps
- Recurring work: a daily sync at 2 AM
- Chained work: task B starts when task A is done
Task types
| Type | How it runs |
|---|---|
| Auto | Starts as soon as it is created |
| Manual | Runs only when someone starts it |
| Scheduled | Runs on a cron schedule (see Schedules) |
A task can also be started by another task finishing (a dependency), by a workflow, or through the API.
Task lifecycle
Pending --> Running --> Completed
| Status | Meaning |
|---|---|
| Pending | Waiting to run |
| Needs Approval | Waiting for a person to approve it before it runs |
| Running | In progress |
| Completed | Finished successfully |
| Failed | Failed, and retried if retries are configured |
| Timeout | Took longer than its time limit |
| Paused | Temporarily suspended |
| Cancelled | Stopped by a person |
Creating a task
- Go to Work › Automation › Tasks.
- Click Create Task.
- Enter the task name and a description of what the agent should do.
- Choose the Assigned Agent and the Type.
- Set the optional settings below, then click Create Task.
Or ask Loyd: "Create a task for the research agent to compile competitor pricing by Friday, high priority."
Task settings
| Setting | Description |
|---|---|
| Priority | Low, Medium, High or Urgent |
| Deadline | The date the task must be completed by |
| Dependencies | Other tasks that must complete first |
| Max Retries | How many times to retry after a failure |
| Retry Delay | How long to wait between retries |
| Timeout | The maximum duration of one run |
| Schedule (Cron) and Timezone | For scheduled tasks |
| Notify on completion / Notify on failure | Who is told when the task ends |
Chaining tasks
Dependencies turn tasks into a pipeline. For example:
- Extract data (no dependency)
- Transform data (depends on Extract)
- Load data (depends on Transform)
Start the first task; the next ones start as their dependencies complete.
Following a task
Every execution creates a run. For each run you see when it started and finished, its duration, its cost, and its output or error. From the task list you can Run a task, Pause or Stop a running one, and Retry a failed one.
Tasks assigned to you (for example a review an agent needs from you) appear in Work › My Tasks.
Best practices
"Daily sales report, US region" says what it is. "Task 1" does not.
A lookup needs seconds; a deep analysis may need many minutes. A realistic timeout catches stuck runs without killing healthy ones.
Calls to external systems sometimes fail briefly. Two or three retries with a short delay absorb most of those failures.
Next: Learn about Schedules for automated task execution.