Task Engine

Delegate complex, multi-step work to the bot. Tasks run in the background with planning, execution, and verification phases — all with full tool access.


How Tasks Work

  1. Creation — you describe what needs to be done (via chat or admin panel)
  2. Approval — an admin reviews and approves the task
  3. Planning — the bot investigates using read-only tools and creates a step-by-step plan
  4. Execution — each step is executed with full tool access
  5. Verification — the bot verifies its own work after each step

Creating Tasks

You can create tasks in several ways:

  • From chat — ask the bot to create a task: "Create a task to analyze last month's ad spend by campaign"
  • From admin panel — go to Admin → Tasks and click Create Task
  • From Slack — mention the bot with a task description

Task Lifecycle

StatusDescription
pendingCreated, waiting for approval
approvedApproved by admin, queued for execution
executingCurrently running
pausedWaiting for manual approval on a step
completedAll steps finished successfully
completed_with_errorsFinished but some steps had issues
failedUnrecoverable error or budget exceeded
cancelledManually cancelled by admin

Recurring Tasks

Tasks can be set to recur on a schedule. After each completion, the next instance is automatically created and approved.

  • Patterns: daily, weekly, monthly, or any cron expression
  • Cancel recurrence: stops all future instances from the admin panel

Task Configuration

SettingDefaultDescription
Token budget200,000Maximum tokens per task
Max steps12Maximum plan steps
Max iterations per step15Tool call limit per step
Max consecutive failures3Circuit breaker threshold

Admin Panel

The Admin → Tasks page lets you:

  • View all tasks with status, priority, and progress
  • Approve or reject pending tasks
  • Pause, resume, or cancel running tasks
  • View step-by-step execution details and outputs
  • Edit pending step descriptions before they execute
  • Create new tasks manually