@workermill/agent
v0.10.21
Published
WorkerMill Remote Agent - Run AI workers locally with your Claude Max subscription
Readme
@workermill/agent
Run WorkerMill AI workers locally using your Claude Max subscription. The agent polls the WorkerMill cloud dashboard for tasks, runs planning via Claude CLI, and spawns Docker worker containers on your machine.
Prerequisites
- Docker Desktop — Install Docker
- Claude Code CLI — The setup wizard auto-installs this, or install manually:
- macOS/Linux/WSL:
curl -fsSL https://claude.ai/install.sh | bash - Windows PowerShell:
irm https://claude.ai/install.ps1 | iex
- macOS/Linux/WSL:
- Claude Max subscription — Run
claudeand sign in with your Claude account - Node.js >= 20 — Install Node.js
- WorkerMill account — Sign up at workermill.com
Install & Setup
npm install -g @workermill/agentThe setup wizard launches automatically after install. It will:
- Check all prerequisites (auto-installs Claude CLI if missing)
- Prompt for your API key (from Settings > Integrations on the dashboard)
- Validate connectivity to the WorkerMill API
- Authenticate to private ECR and pull the worker Docker image
- Save configuration to
~/.workermill/config.json
SCM tokens (GitHub/GitLab/Bitbucket) are managed via Settings > Integrations on the dashboard — no local token setup needed.
Usage
# Start the agent (foreground)
workermill-agent start
# Start in background (daemon mode)
workermill-agent start --detach
# Check status
workermill-agent status
# Stop a background agent
workermill-agent stopHow It Works
- Agent polls the cloud API for tasks assigned to your organization
- Planning runs locally via Claude CLI (using your Claude Max subscription — no per-token API charges)
- Worker containers spawn locally via Docker, executing code changes
- Logs and status stream back to the cloud dashboard in real-time
- PRs are created on your SCM provider (GitHub/GitLab/Bitbucket)
Configuration
Config is stored at ~/.workermill/config.json (created by workermill-agent setup):
| Field | Default | Description |
|-------|---------|-------------|
| apiUrl | https://workermill.com | WorkerMill API URL |
| apiKey | — | Organization API key |
| agentId | agent-<hostname> | Unique agent identifier |
| maxWorkers | 2 | Max concurrent worker containers |
| workerImage | Private ECR image | Docker image for workers (requires AWS credentials) |
Troubleshooting
| Issue | Solution |
|-------|----------|
| "No config found" | Run workermill-agent setup |
| Auth failure | Check API key in Settings > Integrations |
| Docker not found | Install Docker Desktop and ensure it's running |
| Claude CLI not found | See install instructions above |
| Image pull fails | Ensure AWS CLI is configured (aws configure) with ECR read access |
