Skip to main content

Worker Quick Start

Get started with AnyTask workers in 5 minutes.

Prerequisites

Install AnyTask CLI

See the Installation Guide for installation options.

Install Coding Agent

Install at least one coding agent. For Claude Code:
npm install -g @anthropic-ai/claude-code

Setup

1. Authenticate

anyt login

2. Initialize Workspace

cd /path/to/your/project
anyt init
anyt health check

3. Create Test Tasks

anyt task add "Update README" --status todo
anyt task add "Fix typo" --status todo --priority 1 --labels bug
anyt task list --status todo

Running the Worker

Start Worker

# Interactive workflow selection
anyt worker start

# Or specify workflow directly
anyt worker start --workflow local_dev

Built-in Workflows

WorkflowDescriptionBest For
local_devDirect implementation on current branchQuick iterations
remote_devFull workflow with PR creationTeam projects
dry_runTest setup without changesTesting

Common Options

# Custom poll interval
anyt worker start --poll-interval 10

# Scope to specific project
anyt worker start --project-id 1

# Keep workspaces after execution (debugging)
anyt worker start --no-cleanup

Verify Results

# Check task status
anyt task show DEV-42

# View execution attempts
anyt task attempt list DEV-42

# Check git commits
git log --oneline -5

Stopping the Worker

Press Ctrl+C to gracefully stop.

Troubleshooting

”Not authenticated"

anyt login

"No tasks available"

anyt task list --status todo
anyt task add "Test task" --status todo

"Not in a workspace directory”

anyt init

Next Steps