blueprint
Gives coding agents focused skills for turning a rough idea into reviewed work: checking a technical proposal before coding, designing the system architecture, and delivering tested pull requests through review and gated merges.
owainlewis/machinist is an open source software factory plugin for AI coding workflows, shipping skills that let an agent create, assign, and monitor software tasks. Use it when you want a coding agent to run work through Machinist's GitHub issue workflow, intake labels, direct runs, or managed queue.
curl -fsSL https://machinist.sh/install.sh | MACHINIST_CHANNEL=nightly shmachinist update # latest stable release machinist update --nightly # latest nightly build (alias: machinist upgrade)
This runs the control plane and one runner on your machine.
gh auth refresh -s workflow
git clone https://github.com/owainlewis/machinist.git
cd machinist
go build -o ./bin/machinist ./cmd/machinist
export PATH="$PWD/bin:$PATH"
mkdir ../my-machinist && cd ../my-machinist
git init
machinist initMachinist runs from the directory that holds its configuration, so keep that directory in git and start Machinist there. init writes these, all meant to be committed:
config.yaml the control plane
runner.yaml a local runner
factory/presets/ the default preset, a short list of steps
factory/agents/ the agents those steps run: harness, model and prompt
factory/prompts/ rules every agent follows
factory/scripts/ the shell those steps runIt also makes .machinist/, which holds the database and a token for the local runner, and adds it to .gitignore. Run every command below from this directory, or pass --config.
In config.yaml, set handle to the GitHub login that owns your token, which gh api user --jq .login prints, and list the repositories jobs may work on. Commits are made under that handle:
yaml github: handle: your-login repositories: [owner/name]
In runner.yaml, set env: [] and uncomment login: true, so steps use your own Claude Code login. To use an API key instead, keep env: [ANTHROPIC_API_KEY] and set it in the runner's environment. See Credentials.
Start the control plane in one terminal and the runner in another:
sh GH_TOKEN=$(gh auth token) machinist start
sh GH_TOKEN=$(gh auth token) machinist runner start
Create a token for yourself:


A job runner for coding agents. Your team assigns work in one place, and every job runs the same predefined steps on machines you control: a laptop, a VM, Docker (with optional gVisor) or Kubernetes. Everyone can see what is running and what is waiting on a person. It is early-access, open-source software.
curl against the run API.Supported harnesses: Claude Code by Anthropic,
Codex by OpenAI,
Antigravity by Google, and Pi. Logos belong to their owners. Machinist is not made by or tied to these companies.
Send the work to the run API, or let an automation start it. The job works on its own branch, and the default preset opens one pull request. A job runs headless from start to finish and never stops to ask a question.
See Vision for what Machinist is for, where it is, and what comes next.
Install the latest stable release for Linux or macOS (amd64 / arm64), verified against the release SHA-256 checksums:
curl -fsSL https://machinist.sh/install.sh | sh
To install the latest automated nightly build from main instead:
curl -fsSL https://machinist.sh/install.sh | MACHINIST_CHANNEL=nightly sh
Upgrade an existing install in place:
machinist update # latest stable release
machinist update --nightly # latest nightly build (alias: machinist upgrade)
This runs the control plane and one runner on your machine. You need Go 1.26.6, Git, the
GitHub CLI signed in with gh auth login, and Claude Code signed in. Give the GitHub CLI
the workflow scope too, so jobs can push changes to .github/workflows/:
gh auth refresh -s workflow
git clone https://github.com/owainlewis/machinist.git
cd machinist
go build -o ./bin/machinist ./cmd/machinist
export PATH="$PWD/bin:$PATH"
mkdir ../my-machinist && cd ../my-machinist
git init
machinist init
Machinist runs from the directory that holds its configuration, so keep that directory in
git and start Machinist there. init writes these, all meant to be committed:
config.yaml the control plane
runner.yaml a local runner
factory/presets/ the default preset, a short list of steps
factory/agents/ the agents those steps run: harness, model and prompt
factory/prompts/ rules every agent follows
factory/scripts/ the shell those steps run
It also makes .machinist/, which holds the database and a token for the local runner,
and adds it to .gitignore. Run every command below from this directory, or pass
--config.
In config.yaml, set handle to the GitHub login that owns your token,
which gh api user --jq .login prints, and list the repositories jobs may work on.
Commits are made under that handle:
github:
handle: your-login
repositories: [owner/name]
In runner.yaml, set env: [] and uncomment login: true, so steps
use your own Claude Code login. To use an API key instead, keep
env: [ANTHROPIC_API_KEY] and set it in the runner's environment. See
Credentials.
Start the control plane in one terminal and the runner in another:
GH_TOKEN=$(gh auth token) machinist start
GH_TOKEN=$(gh auth token) machinist runner start
Create a token for yourself:
TOKEN=$(machinist token create "$USER" | tail -n 1)
Open http://127.0.0.1:7331, sign in with the token and select New job. Pick the
repository, type what you want done, and select Start job. Claude Code does the
work, opens a pull request, and merges it once its checks pass. The same from curl:
curl -sS -X POST http://127.0.0.1:7331/machinist/run \
-H "Authorization: Bearer $TOKEN" \
-d '{"key":"fix-1","vars":{"repo":"owner/name"},"prompt":"Fix the toast position"}'
The pull request comes from whoever owns GH_TOKEN. For a team, use a
GitHub App instead: each run gets a token for its own repository that
lasts an hour, and no runner holds a GitHub token.
To start jobs by assigning Linear issues to Machinist, follow the Linear setup guide. It makes a Linear app with client credentials, so Machinist gets and renews its own Linear token.
The production UI is committed, so this build does not need Node.
Jobs start from the web app's New job form or Jobs → Automations view (run as-is or
with an edited one-off prompt), through the run API from curl, a tracker
or a webhook, over MCP with a scoped bot token, or when a Linear issue is
delegated to the Machinist app (see Linear). The web app can also run an
ended job again:
| Page | What it does |
|---|---|
| Dashboard | Jobs and runs over 7, 14 or 30 days: time to merge and where it goes, how often a person stepped in, pull requests opened and merged, success rate, run and wait times, tokens, runs per day by outcome and by step, and each preset and repository |
| Jobs | Every job as a 4-column board (Queued, Running, Review, Done) or paginated list with each job's repository, preset, pull request, state, and Merge Gate risk badge (Low, Medium, High), plus an Automations view to run scheduled jobs on demand |
| New job | Pick a repository, paste a prompt or spec, and start a job. It calls the run API |
| Job | One job: its result, Merge Gate verdict and reason, prompt, preset steps drawn as a pipeline (showing Held when waiting for human review), and every attempt with live step output. Run again starts an ended job once more |
| Runners | Each runner (local, docker, docker (runsc), or kubernetes), how many of its slots are busy and with what, and how long runs have waited |
| Settings | Overview checks, repositories/projects, GitHub App & Linear status, presets, agents, and revocable tokens (with read and run scopes for bots) |
To stop a job, POST /machinist/jobs/{id}/cancel. To run an ended job again,
POST /machinist/jobs/{id}/rerun. After editing config.yaml or factory/, run
machinist reload to apply changes live without restarting the control plane. Configure
notify.webhook (and server.public_url) in config.yaml to receive a Slack-compatible
webhook notification whenever a job needs a person or fails.
Jobs run headless, from start to finish, and never stop to ask a question. When the agent has to guess, it says so under Assumptions in the pull request.
Every job uses the default preset unless it names another: checkout, implement,
review, revise, publish, merge-gate (risk triage against the merge policy), and
merge. When github.auto_merge is on (the default), low-risk pull requests approved by
both review and merge-gate merge once their checks pass; medium- or high-risk changes
stay open for human review in the Review column with their risk badge and reason. If CI
checks fail or a parallel merge introduces a branch conflict, PR Steward automatically
requeues a bounded fix/rebase run on the same branch (github.steward_retries, default 2)
without overwriting human commits. Commit .machinist/merge-policy.md to a repository's
default branch to override the default policy (factory/prompts/merge-policy.md) for that
repository, or set github.auto_merge: false to run merge-gate in observe mode
(evaluating PRs and posting its judgment comment without merging). See
Merge gate and policy and
Merge policies. Add a preset to factory/presets/ only when a
kind of job needs different steps.
LINEAR_CLIENT_ID and LINEAR_CLIENT_SECRET where the control plane runs. In the linear section of config.yaml, set app_user_id (the app's user ID), projects or teams (Linear project or team to repository) and a non-empty allowed_users. Then run machinist reload (or restart the control plane if you changed environment variables).See the Linear setup guide for each step.
go test ./...
cd internal/controlplane/web && npm ci && npm test
The Go tests run whole jobs end to end with fake claude and gh commands and a local
Git remote. See Development.
The default preset has a second agent review the change, fixes what the review found and
reviews it again, opens a pull request, and runs a read-only merge-gate step to triage
blast radius against prompts/merge-policy.md or a repository's .machinist/merge-policy.md
on its default branch (see Merge gate and policy).
The machinist merge step posts the merge-gate judgment as a pull request comment and hands
the pull request to the control plane, which merges it once the repository's checks pass, the
review accepted the change, and the merge gate approved it as low risk, so no runner waits on
CI. That merge rule is code, and merge-gate runs without GitHub credentials. Set
github.auto_merge: false to run in observe mode: merge-gate still evaluates every
Gives coding agents focused skills for turning a rough idea into reviewed work: checking a technical proposal before coding, designing the system architecture, and delivering tested pull requests through review and gated merges.
Code and examples from my YouTube channel tutorials.
Skills for the OpenClaw personal AI assistant, covering browser automation, routing requests to coding agents, presenting canvas widgets, running apps on temporary machines, and sharing diffs.
Gives Claude Code users skills to drive Orca-managed worktrees, terminals and the embedded browser through the orca CLI, plus Jira and Linear ticket work and inline HTML chat visuals. Covers chart, table and mockup output.
Orchestrates teams of AI agents to run work like a company, with a Node.js server and React UI. Adds skills for delegating tasks, following up on results, reviewing team status, and managing Paperclip tasks from Hermes.
Organizes your AI agents for round-the-clock operation, with tools to hire, schedule and report on your agent team. Lets you oversee the agents without staying online yourself.
A Claude Code skill for creating, assigning, and monitoring software tasks through Machinist's GitHub issue workflow, intake labels, direct runs, and managed queue. Free and open source.
Is this tool yours?
Claim it with GitHubSubmit a pluginPromote it