Skip to main content
CodeMachine is an opensource tool that orchestrates AI coding agents into repeatable, long-running workflows.

Get Started in 30 Seconds

1

Prerequisites

One working AI engine CLI configured (Codex, Claude Code, OpenCode, or others). See supported engines →
2

Install

npm install -g codemachine # or bun/pnpm/yarn
3

Run

cd your-project
codemachine # or cm
You will see the interactive session started. That’s it! Continue with Quickstart →
See advanced setup for installation options, manual updates, or uninstallation instructions.

What CodeMachine Does For You

Build Once, Run Forever

Define complex workflows once and execute them reliably on every project. Stop rebuilding the same patterns manually.

Multi-Agent Orchestration

Assign different coding agents to different tasks. Each agent brings its own strengths.

Parallel Execution

Run multiple agents simultaneously on different parts of your workflow for faster results.

Long-Running Workflows

Execute workflows for hours or days. CodeMachine handles persistence so you don’t have to babysit.

Context Engineering

Centralize prompts, manage dynamic context, and control what each agent sees at each step.

Shareable Workflows

Import community workflows or share your own. Build once, share everywhere.

Next Steps


Resources