Agent Worker — DevOps skill for Claude Code
A headless coding agent in a Docker container: Cursor or Claude Code.
How to install Agent Worker
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open domdus/agent-worker and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Worker does
A headless coding agent in a Docker container: Cursor or Claude Code. You give it a task, it works in a workspace folder (files, shell, git, MCP), and returns the result, the changed files and any commits.
Alternatives in DevOps
- Coi — Give the agent a machine 743 ★
- Code On Incus — Give each AI agent its own isolated machine with root, Docker, and systemd 670 ★
- Workers MCP — Talk to a Cloudflare Worker from Claude Desktop 646 ★
README
Agent Worker
A headless coding agent in a Docker container: Cursor, Claude Code or OpenAI Codex. You give it a task, it works in a workspace folder (files, shell, git, MCP), and returns the result, the changed files and any commits.
It has three ways in, all on one port and protected by one token:
| Endpoint | For | What it is |
|---|---|---|
/mcp |
Hermes, Claude Code, Open WebUI tools, AI Workspace, any MCP client | MCP server (Streamable HTTP) with an agent_run tool |
/v1 |
Open WebUI, any OpenAI client | OpenAI-compatible chat/completions and models, so Cursor, Claude Code and Codex show up as chat models |
/jobs |
Scripts, CI, your own apps | Start a job, check it, stream its events, cancel it |
It runs on the official [Cursor SDK](https://cursor.com/docs) with your own `CURSOR_API_KEY`. Usage is billed to that Cursor account. It can also run **Claude Code** (Anthropic's [Claude Agent SDK](https://pypi.org/project/claude-agent-sdk/)) with your Claude plan or an Anthropic API key: see [Claude Code](#claude-code). And it can run **OpenAI Codex** (the official [Codex SDK](https://pypi.org/project/openai-codex/)) with your ChatGPT plan or an OpenAI API key: see [OpenAI Codex](#openai-codex). Each job picks one engine.
Installation
You need Docker with Compose, and a Cursor user API key from [cursor.com/dashboard/integrations](https://cursor.com/dashboard/integrations) and/or a Claude credential (see [Claude Code](#claude-code)) and/or a ChatGPT plan or OpenAI API key (see [OpenAI Codex](#openai-codex)). The image `ghcr.io/domdus/agent-worker` is built for amd64 and arm64.
1. Make a folder with two files
mkdir agent-worker && cd agent-worker
`.env` (keep it private, it holds both secrets):
CURSOR_API_KEY=key_...
WORKER_TOKEN= # fill with: openssl rand -hex 32
CURSOR_MODEL=composer-2.5
`docker-compose.yml`:
services:
agent-worker:
image: ghcr.io/domdus/agent-worker:latest # or pin
Related Skills
Claytonia
Claytonia — the Lentago Labs agent-fleet system, a.k.a. the bullpen: five self-hosted headless coding agents o
Deploy PR
Ship a branch to its deploy target — detect or create PR, fix CI, review, merge. Returns structured result for
Ticket Workspace Kit
One folder per Jira ticket for platform/DevOps work with Claude Code: the agent starts with the ticket and the
Agentspodium Com Deploy Agent
Deploy a new AI agent on AgentsPodium and pay for it in crypto, over HTTP, without a browser. Use when you nee
Localvm
Give Claude Code or Codex a disposable Docker Sandboxes microVM, then review the diff and merge only what you
Docker Claude
Remote Claude Code container image for 24/7 headless operation. Based on node:22-bookworm-slim with Claude Cod
Related Agents
Build Doctor
Diagnoses build, CI, container, packaging and dependency-resolution failures — a red pipeline, a failing Docke
Developer Overview
code-container (container) creates isolated Docker environments for AI coding harnesses (Claude Code, OpenCode
Wlroots Expert
wlroots C API expert — scene graph, listener wiring, surface lifecycle, seat/cursor invariants, xdg-shell + xw