{"data":{"slug":"moazbuilds-codemachine-cli","name":"CodeMachine-CLI","tagline":"Orchestrates AI coding agents into repeatable workflows","github_url":"https://github.com/moazbuilds/CodeMachine-CLI","owner":"moazbuilds","repo":"CodeMachine-CLI","owner_avatar_url":"https://avatars.githubusercontent.com/u/109697407?v=4","primary_language":"TypeScript","stars":2509,"forks":242,"topics":["ai","automation","cli","cli-tool","code-generation","developer-tools","generative-ai","multi-agent-systems","orchestration","scaffolding","workflow-automation"],"archived":false,"github_pushed_at":"2026-02-25T21:09:41+00:00","maintenance_label":"Slowing","url":"https://www.graphcanon.com/tools/moazbuilds-codemachine-cli","markdown_url":"https://www.graphcanon.com/tools/moazbuilds-codemachine-cli.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/moazbuilds-codemachine-cli","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=moazbuilds-codemachine-cli","description":"CodeMachine is an open-source tool that orchestrates AI coding agents into repeatable, long-running workflows. ⚡️","homepage_url":"https://codemachine.co/","license":"Apache-2.0","open_issues":9,"watchers":34,"ai_summary":"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.","readme_excerpt":"<p align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/moazbuilds/CodeMachine-CLI/main/images/banner.png\" alt=\"CodeMachine Banner\" width=\"100%\">\n</p>\n\n<p align=\"center\">\n  <code>npm i -g codemachine</code>\n</p>\n\n\n<p align=\"center\">\n  <strong>CodeMachine is an open-source tool that orchestrates AI coding agents into repeatable, long-running workflows. ⚡️<br></p></strong>\n\n---\n\nEvery 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.\n\n**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.\n\n<p align=\"center\"><strong>CodeMachine lets you capture that workflow and run it again.</strong></p>\n\n<p align=\"center\">\n  <a href=\"https://www.youtube.com/watch?v=G7OTG9iSvYw\" target=\"_blank\">\n    <img src=\"https://raw.githubusercontent.com/moazbuilds/CodeMachine-CLI/main/images/video-thumbnail.png\" alt=\"Watch CodeMachine Demo\">\n  </a>\n</p>\n\n## How It Works\n\nCodeMachine 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.\n\n\nIt 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.\n\n**Build workflows from fully interactive to fully autonomous - and anything in between. <a href=\"https://docs.codemachine.co/core-concepts/workflow/orchestration-patterns\" target=\"_blank\">Learn about orchestration patterns →</a>**\n\n## Why CodeMachine?\n\nCM 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.\n\n*   **Build Once, Run Forever:** Define complex workflows once and execute them reliably on every project - stop rebuilding the same patterns manually.\n*   **Multi-Agent Orchestration:** Assign different agents to different tasks, enable them to communicate with each other, and collaborate on complex decisions.\n*   **Parallel Execution:** Run multiple agents simultaneously on different parts of your workflow for faster results.\n*   **Long-Running Workflows:** Execute workflows for hours or days - CodeMachine handles persistence so you don't have to babysit.\n*   **Context Engineering:** Centralize prompts, manage dynamic context, and control what each agent sees at each step.\n\n<p align=\"center\"><strong>Ready to build your first workflow? <a href=\"https://docs.codemachine.co/getting-started/quickstart\" target=\"_blank\">Get started →</a></strong></p>\n\n<p align=\"center\">\n  <a href=\"https://docs.codemachine.co\" target=\"_blank\">\n    <img src=\"https://raw.githubusercontent.com/moazbuilds/CodeMachine-CLI/main/images/docs-badge.png\" alt=\"Read the Docs\">\n  </a>\n</p>\n\n---\n\n<p align=\"center\">\n  Developers are already building with CodeMachine - reducing time and effort on complex, repetitive workflows.<br/>\n  <strong>Want to see what they're creating? Join us.</strong>\n</p>\n\n<p align=\"center\">\n  <a href=\"https://discord.gg/vS3A5UDNSq\" target=\"_blank\">\n    <img src=\"https://raw.githubusercontent.com/moazbuilds/CodeMachine-CLI/main/images/discord-badge.png\" alt=\"Join our Discord\" width=\"200\">\n  </a>\n  &nbsp;&nbsp;\n  <a href=\"https://www.reddit.com/r/CodeMachine/\" target=\"_blank\">\n    <img src=\"https://raw.githubusercontent.com/moazbuilds/CodeMachine-CLI/main/images/reddit-badge.png\" alt=\"Join our Reddit\" width=\"200\">\n  </a>\n</p>","github_created_at":"2025-09-28T15:28:47+00:00","created_at":"2026-07-15T10:51:36.481826+00:00","updated_at":"2026-07-15T11:08:54.167217+00:00","categories":[{"slug":"ai-agents","name":"AI Agents","url":"https://www.graphcanon.com/categories/ai-agents","markdown_url":"https://www.graphcanon.com/categories/ai-agents.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/ai-agents"},{"slug":"developer-tools","name":"Developer Tools","url":"https://www.graphcanon.com/categories/developer-tools","markdown_url":"https://www.graphcanon.com/categories/developer-tools.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/developer-tools"}],"tags":[{"slug":"ai","name":"ai"},{"slug":"automation","name":"automation"},{"slug":"cli-tool","name":"cli-tool"},{"slug":"code-generation","name":"code-generation"},{"slug":"multi-agent-systems","name":"multi-agent-systems"},{"slug":"orchestration","name":"orchestration"}],"trust":{"provenance":{"is_fork":false,"github_id":1065865385,"owner_type":"User","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-07-15T10:51:37.448Z","maintenance":{"label":"Slowing","score":36,"methodology":"github_public_v1","releases_90d":0,"days_since_push":139,"last_release_at":"2026-02-02T12:55:17Z"},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-15T10:51:37.912Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"mcp":{"source":"package.json:@modelcontextprotocol/*","observed_at":"2026-07-15T11:08:33.872Z","server_manifest":true},"scan":{"source":"repo_scan","observed_at":"2026-07-15T11:08:33.872Z"},"has_cli":{"value":true,"source":"package.json:bin|scripts","observed_at":"2026-07-15T11:08:33.872Z"},"languages":{"value":["typescript","javascript"],"source":"github.language+package.json","observed_at":"2026-07-15T11:08:33.872Z"},"license_spdx":{"value":"Apache-2.0","source":"github.license","observed_at":"2026-07-15T11:08:33.872Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":null,"constraints":null,"when_to_use":["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"],"when_not_to_use":["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"],"source":"enrich:decision_facts","observed_at":"2026-07-15T11:08:53.947Z"},"constraint_facets":null,"decision_summary":[{"label":"Adopt for","value":"CodeMachine-CLI is an open-source TypeScript tool that enables developers to create repeatable workflows using AI coding agents."}]}}