GraphCanon updated today · GitHub synced today
Decision brief
CodeMachine-CLI is an open-source TypeScript tool that enables developers to create repeatable workflows using AI coding agents.
Good fit when
- When you need to define and execute complex, multi-step coding workflows involving multiple AI agents for automation or code generation tasks
- For long-running, persistent workflows where automated context management across agent interactions is crucial without needing constant human oversight
Avoid when
- If your workflow can be handled by a single AI agent without the need to orchestrate multiple AI-coded agents together
- When you require real-time interactive sessions with an AI coding assistant and do not benefit from pre-defined workflows for automation purposes
Observed Jul 15, 2026 · Source: enrich:decision_facts
Verify the decision
Adoption
Package downloads where a registry match exists. GitHub stars (2,509) are secondary evidence.
- npm downloads (30d)
- 110·npm downloads API·today
Maintenance and security
Full trust report- Maintenance
- Slowing (139d since push)
- As of today
- Provenance
- Not a fork · Personal account
- As of today
- Security (OSV)
- No lockfile
- As of today
Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.
Install
npm install CodeMachine-CLI npmSimilar tools
Same-category neighbours. No typed graph edges are catalogued for this tool yet.
Evidence and technical details
Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.
Overview
CodeMachine is an open-source tool written in TypeScript that enables users to create and run structured workflows using multiple AI coding agents for automation and code generation.
Capability facts
- CLI
- CLI entrypoint
Source: package.json:bin|scripts · Jul 15, 2026
- MCP server
- Ships MCP server
Source: package.json:@modelcontextprotocol/* · Jul 15, 2026
- Languages
- typescript, javascript
Source: github.language+package.json · Jul 15, 2026
Categories
Compatibility
Sourced claims from the README excerpt - not unsourced marketing copy.
Source: README excerpt (regex_v1, Jul 15, 2026)
ripting mode that AI coding engines provide for automation (Claude Code, Codex, Cursor, and others). It spawns engines via CLI, passes the right arguments and flags,Source link
Tags
README
npm i -g codemachine
CodeMachine is an open-source tool that orchestrates AI coding agents into repeatable, long-running workflows. ⚡️
Every time you use an AI coding agent, you're running a workflow. Fix a bug? You ask questions, reproduce, analyze, plan, implement, test. Build a feature? You research, design, code, review.
The workflow lives in your head. You guide the agent through it, step by step, session by session. But every time you start, you rebuild it from scratch. You re-explain the process. You remember to ask the right questions. You manage when to clear context, when to push forward, when to loop back.
CodeMachine lets you capture that workflow and run it again.
How It Works
CodeMachine is an orchestration layer that runs AI coding CLIs through structured workflows. You define the workflow once, and CodeMachine handles execution, context passing, and agent coordination.
It uses the headless scripting mode that AI coding engines provide for automation (Claude Code, Codex, Cursor, and others). It spawns engines via CLI, passes the right arguments and flags, and controls agents through its infrastructure.
Build workflows from fully interactive to fully autonomous - and anything in between. Learn about orchestration patterns →
Why CodeMachine?
CM introduces innovative agent communication styles that have never existed for coding agents before - enabling you to build any complex workflow you can imagine. Start with the Ali Workflow Builder default workflow to create your first workflow interactively.
- 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 agents to different tasks, enable them to communicate with each other, and collaborate on complex decisions.
- 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.
Ready to build your first workflow? Get started →
Developers are already building with CodeMachine - reducing time and effort on complex, repetitive workflows.
Want to see what they're creating? Join us.
For agents
This page has a .md twin and JSON over the API.