Tasks
The task board tracks agent work through a defined lifecycle.
Statuses
| Status | Description |
|---|---|
| Backlog | Created but not scheduled |
| Queued | Ready to run, waiting for execution |
| Running | Currently being processed by an agent |
| Completed | Finished successfully |
| Failed | Execution failed (error details available) |
Creating Tasks
Manually
Navigate to Tasks and click New Task:
- Title — Brief description of the work
- Description — Detailed instructions for the agent
- Agent — Which agent handles this task
- Working Directory — Optional
cwdfor file operations
From Schedules
When a cron schedule triggers, it creates a task in queued status automatically. See Scheduling.
Via API
curl -X POST http://localhost:3456/api/tasks \
-H "Content-Type: application/json" \
-H "X-Access-Key: your_key" \
-d '{
"title": "Generate weekly report",
"description": "Compile metrics from the past 7 days",
"agentId": "your-agent-id"
}'
Task Lifecycle
Backlog → Queued → Running → Completed
↓
Failed
- Tasks start in backlog (manual) or queued (scheduled)
- Move to queued when ready
- The assigned agent picks up the task → running
- Agent completes → completed with result, or failed with error
Task Data
Each task stores:
- comments — Agent and user comments during execution
- result — Final output from the agent
- error — Error message if failed
- images — Any generated images
- timestamps — created, queued, started, completed
Tasks are persisted in data/tasks.json.