task.toml file in TOML format. This page documents all available configuration options.
Basic Structure
Configuration Sections
version
"1.0".
[metadata]
Optional metadata about the task. Used for organization and documentation.| Field | Type | Description |
|---|---|---|
author_name | string | Task author’s name |
author_email | string | Task author’s email |
difficulty | string | easy, medium, or hard |
category | string | Task category for organization |
tags | array | List of tags for filtering |
[verifier]
Settings for the verification phase.| Field | Type | Default | Description |
|---|---|---|---|
timeout_sec | float | 120.0 | Maximum time for verification to run |
[agent]
Settings for agent execution.| Field | Type | Default | Description |
|---|---|---|---|
timeout_sec | float | 120.0 | Maximum time for agent to complete |
[environment]
Container environment configuration.| Field | Type | Default | Description |
|---|---|---|---|
docker_image | string | "ubuntu:22.04" | Base Docker image. Leave empty for custom Dockerfile |
gui | boolean | false | Enable GUI mode with VNC |
cpus | integer | 1 | CPU allocation |
memory_mb | integer | 2048 | Memory in MB |
storage_mb | integer | 10240 | Storage in MB |
build_timeout_sec | float | 600.0 | Docker build timeout |
setup_commands | array | [] | Commands to run before agent starts |
Common Configurations
Headless Task
Minimal configuration for a command-line task:GUI Desktop Task
Configuration for tasks requiring a graphical interface:Python Task
Configuration with Python dependencies:Node.js Task
Configuration with Node.js:Custom Dockerfile Task
When you need a custom environment, leavedocker_image empty and provide a Dockerfile:
environment/Dockerfile:
Long-Running Task
Configuration for tasks that need more time:Resource-Intensive Task
Configuration for tasks needing more resources:instruction.md
The instruction file contains natural language instructions for the agent. This becomes part of the agent’s system prompt.Best Practices
Be specific and measurable
Be specific and measurable
Instead of “make a website”, say “create an index.html file at /home/www with an h1 element containing ‘Welcome’”.
Specify file paths
Specify file paths
Always include exact paths where files should be created or modified.
Include success criteria
Include success criteria
Describe what success looks like so the agent knows when it’s done.
Break down complex tasks
Break down complex tasks
Use numbered steps for multi-part tasks.