Repository avatar
AI Tools
v0.15.3
active

orchstep

io.github.orchstep/orchstep

Run, plan and lint OrchStep YAML workflows: deterministic, replayable tasks for CI/CD and agents.

Documentation

OrchStep — orchestrate, automate, replay

OrchStep

Tests Release Engine: free for individual and commercial use Content: Apache 2.0

Automate everything — built for developers and AI agents. Run anywhere as a single binary, no vendor lock-in.

⚡ Describe it. Get automation. Install the orchstep-workflow-design skill, answer a few questions from a built-in prompt generator (orchstep run prompt_migrate), and paste the result into your AI agent — it builds your OrchStep workflow from the codebase you already have, or migrates your existing Makefile / Justfile / Taskfile / Gradle build / shell scripts / CI pipeline for you. Generated once — replayed forever, zero tokens.

🚀 Setup — 1, 2, 3

# 1. Install OrchStep
curl -fsSL https://orchstep.dev/install.sh | sh   # verifies the release SHA-256 checksum
#    or: brew tap orchstep/tap && brew install orchstep · npm install -g orchstep · pip install orchstep
#    or let your AI agent do it: npx skills add orchstep/orchstep, then ask it to "install orchstep"

# 2. Grab this repo — it ships runnable demos
git clone https://github.com/orchstep/orchstep.git && cd orchstep

# 3. The must-see demo — interactive task menu
orchstep menu

# 4. The GUI — run tasks from a local web dashboard
orchstep serve        # -> http://127.0.0.1:7777   (or pick "dashboard" in the menu)

More install options: Distribution below · full guide: installation docs on orchstep.dev.

📖 Docs & live demos: orchstep.dev

OrchStep runs multi-step workflows for developers and AI agents. It delegates to your existing tools (terraform, kubectl, aws, docker) rather than reimplementing them.

CI/CD Pipeline — with YAML editor and syntax highlighting

CI/CD Pipeline Visualizer

Data Pipeline — dark mode with Smart layout

Data Pipeline Visualizer (Dark Mode)

Try the live Workflow Visualizer → Paste any OrchStep YAML to see it as an interactive diagram.

The @orchstep/workflow-viewer package powers the visualizer — an interactive React component that renders OrchStep workflows as directed graphs. Features include Smart/Vertical/Horizontal layouts, dark mode, collapsible tasks, search, export to PNG, and copy to clipboard. Available at packages/workflow-viewer.

🎬 Capture agent work → replay with zero tokens

When an AI coding agent (Claude Code, Cursor, …) solves a real task for you — running a test suite, a deploy, a multi-step shell sequence — that reasoning costs tokens every single time you run it. With OrchStep you capture the solved session once into a replayable orchstep.yml. Every run after that executes the same business logic deterministically — no LLM, no tokens, no drift.

For repeated testing and operational work that's up to ~80% less agent token spend: the first run pays for the reasoning; every run after is just orchstep run.

Capture a Claude Code session into a replayable OrchStep workflow

# In Claude Code, right after the agent finishes the task:
/orchstep-capture                       # compress the session into orchstep.yml

# Forever after — same result, no model in the loop:
orchstep run -f captured.orchstep.yml

Record your test steps or shell scripts as a workflow once, and re-running the same logic never touches an LLM again. The orchstep-capture skill turns "the agent already did this once" into a permanent, shareable, deterministic workflow.

🧠 Design workflows with your agent

The orchstep-workflow-design skill teaches Claude (and any MCP-capable agent) to author production-grade OrchStep YAML — real failure handling, not just the happy path. It ships dense references, annotated examples, and a guided wizard:

  • Quick mode — give a concrete task, get a correct workflow, no questions.
  • Wizard mode — "help me design this" → 2–4 intent questions → a tailored workflow.

Claude Code — one command (installs all OrchStep skills + the MCP server as a plugin):

/plugin install orchstep --marketplace orchstep/orchstep

Or from a terminal: claude plugin marketplace add orchstep/orchstep && claude plugin install orchstep@orchstep.

Any other agent: one command. The skills use the open Agent Skills SKILL.md format, and the skills installer puts them where your agent looks (Codex, Cursor, GitHub Copilot, Gemini CLI, Kimi Code, OpenCode, Cline, Windsurf, Amp, Goose, Qwen Code and about 70 more):

npx skills add orchstep/orchstep          # pick agents interactively; add -g for user-wide
npx skills add orchstep/orchstep -a codex -a cursor -a kimi-code-cli -y

No Node? Copy the skills/ folders into .agents/skills/ in your project: most agents read that shared directory. Then connect the MCP server (orchstep mcp serve) so the agent can list, preview and run workflows as tools. Per-agent config is in skills/orchstep-mcp-integration.

AgentSkillsMCPStatus
Claude Codepluginplugintested
Kimi Code CLI (with Kimi K3 and DeepSeek V4 models).agents/skills.kimi-code/mcp.jsontested 2026-11
OpenCode (with a DeepSeek model).agents/skillsopencode.jsontested 2026-11
Codex.agents/skillscodex mcp addskills confirmed by a user report; MCP + CLI: help verify
Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline.agents/skillsstandard mcpServers configdocumented; help verify: Cursor, Copilot, Gemini CLI, Windsurf, Cline

See skills/README.md for details and alternatives.

Or let OrchStep write the prompt for you. This repo's built-in prompt generators interview you with select/checkbox/text questions, then emit a ready-to-paste prompt engineered for this skill — CI/CD pipelines, release automation, environment setup, and migrations from Make / Just / Task / Ant / Gradle / shell scripts / GitHub Actions, out of the box:

orchstep run prompt_migrate    # migrate existing automation (Make, Gradle, CI, scripts) to OrchStep
orchstep run prompt_features   # design a new workflow from a feature checklist
orchstep run prompt_scenario   # common scenarios: env setup, CI/CD, release, runbooks, data pipelines

Paste the generated prompt into Claude Code (or any agent with the skill installed) and it designs the workflow for you — from your actual codebase, with error handling and assertions included:

Generating a tailored migration prompt with orchstep run prompt_migrate

🚀 Try it right in this repo

The repo root ships an orchstep.yml so a fresh clone gives you something to run immediately — orchstep menu opens the picker, or run any task directly:

Interactive picker: Run orchstep menu in any directory with an orchstep.yml to open a keyboard-driven task picker. Single-keystroke hotkeys, fuzzy search (arrow keys or /), and a filter cycle (f to cycle all → a-z → public → internal). Running plain orchstep in a terminal also auto-launches the menu; in a pipeline it exits cleanly instead of hanging.

TaskWhat it shows
orchstep run demoAll demos in sequence: hello world, HTTP GET, HTTP POST
orchstep run hello --var greet_name=youVariable substitution from the CLI
orchstep run http_get / http_postTemplated HTTP calls with retries and status assertions
orchstep run dashboardThe local web GUI (orchstep serve) — run tasks from a browser, watch live output
orchstep run prompt_migrateInterview → prompt: migrate a Makefile / Justfile / Taskfile / Ant / Gradle / shell scripts / GitHub Actions to OrchStep
orchstep run prompt_featuresCheckbox feature picker (env groups, dotenv, retries, parallel, …) → prompt to design a new workflow
orchstep run prompt_scenarioCommon scenarios (dev env setup, CI/CD, release automation, ops runbooks, data pipelines) → prompt
orchstep run install_skillInstall the workflow-design skill into Claude Code
orchstep run upgradeUpgrade the OrchStep binary via the official installer
orchstep run todosPlanned additions + how to contribute

The prompt_* tasks are OrchStep dogfooding itself: the engine interviews you with select/checkbox/text prompts, then prints a copy-paste prompt engineered for the orchstep-workflow-design skill. Paste it into any agent that has the skill installed and it writes the workflow — from your actual codebase, with error handling and assertions included. More classic examples live in demos/.

🎬 OrchStep CLI — 90-second tour

run with live logs, menu, --dry-run preview, environments, JSON for CI/agents, and capture → replay (zero tokens) — the whole CLI in a minute and a half.

OrchStep CLI — 90-second feature tour

▶ Watch the 90-second tour

🖥️ OrchStep Pipeline — a web dashboard for the CLI

The command line is the product. orchstep run, orchstep menu, orchstep mcp — that's the first-class interface: scriptable, CI-friendly, agent-friendly, no browser required.

OrchStep Pipeline is the optional companion to it — a second-class citizen by design. It's a local web dashboard you open with a single command when you'd rather click, watch, and inspect. Everything it does is an orchstep command underneath, and it prints the exact CLI invocation for every run, so nothing you do in the browser is locked to the browser.

orchstep serve     # -> http://127.0.0.1:7777  (one static binary, nothing else to set up)

Pick a task and read it as source, a resolved plan, or the full execution graph; launch it with an environment and pretty logs; watch every step light up live as the run descends into each called task; jump from a step straight to its logs; and inspect exactly what any step saw — its variables, environment, and output. Run history lives in a single SQLite file, it binds to 127.0.0.1, and there's no infra or signup.

OrchStep Pipeline — 60-second feature tour

▶ Watch the 60-second tour · full walkthrough at orchstep.dev/learn/serve

What's in This Repo

DirectoryContents
spec/OrchStep YAML language specification
modules/Official and community module registry
skills/LLM agent skill documents
mcp/MCP server interface specification
demos/Example workflows for real-world use cases
docs/User documentation

Quality & Testing

The OrchStep engine is rigorously tested with a comprehensive regression suite:

MetricValue
Regression test cases545 across 182 spec directories
Pass rate100% (545/545)
Feature categories tested14 (execution, variables, control flow, loops, error handling, HTTP, git, templates, environment, config, assertions, modules, data flow, advanced)
Platforms verified6 (darwin/amd64, darwin/arm64, linux/amd64, linux/arm64, windows/amd64, windows/arm64)
CI pipelineBuild, lint, vet and unit tests on every engine change; full regression suite on a weekly schedule and before every release

Every release is gated by the full regression suite. The test infrastructure includes mock HTTP servers, mock CLI simulators, and authenticated git operation tests to ensure real-world reliability.

What's Tested

  • Workflow execution — task pipelines, step sequencing, shell command execution
  • Variable management — 4-level scoping, precedence, dynamic resolution, type preservation
  • Control flow — if/elif/else, switch/case, loops (items/count/range/until), task delegation
  • Error handling — retry with exponential backoff + jitter, try/catch/finally, timeouts, on-error modes
  • HTTP integration — GET/POST/PUT/DELETE, authentication (bearer/basic/API key), JSON parsing, batch requests
  • Git operations — clone, checkout, push, fetch, branches, tags, submodules, authenticated operations
  • User prompts — text, password, select, confirm, multiselect with non-interactive mode for CI/agents
  • Module system — config schemas, exports, versioning, dependencies, nesting, remote git modules, lockfiles
  • Templates — Go templates, Sprig functions, JavaScript expressions, regex extraction
  • Environment — .env file loading, inheritance modes, groups, hierarchical configs

The Engine

The OrchStep engine is distributed as a compiled binary. Install it using any method above, then use the spec and modules in this repo to build workflows.

Distribution

ChannelInstall Command
curlcurl -fsSL https://orchstep.dev/install.sh | sh
Homebrewbrew tap orchstep/tap && brew install orchstep
npmnpm install -g orchstep
pippip install orchstep
Dockerdocker pull orchstep/orchstep:latest
GitHub Actionuses: orchstep/setup-orchstep@v1 (install) / uses: orchstep/run-orchstep@v1 (one-step run)

All channels pull binaries from GitHub Releases.

DirectoryContents
homebrew/Homebrew formula (auto-updated by GoReleaser)
npm/npm wrapper package
pip/pip wrapper package
docker/Docker image configuration
action/GitHub Action for CI/CD

For LLM Agents

OrchStep is designed for AI agent integration:

  • CLI: orchstep run task --output json for structured output
  • MCP Server: orchstep mcp serve for native tool_call integration (bundled in the Claude Code plugin)
  • Skills: Install skill documents from skills/ to teach agents OrchStep patterns — including orchstep-install (ask your agent to install and set up OrchStep), orchstep-capture (turn a solved session into a replayable, zero-token workflow) and orchstep-workflow-design (author production-grade workflows)
  • Prompts: Interactive input for humans, auto-skipped for CI/agents with ORCHSTEP_NON_INTERACTIVE=true

Cross-Platform

OrchStep runs on Linux, macOS, and Windows:

  • Default shell: POSIX sh — works on Alpine, distroless, all Linux/macOS
  • Go-native shell: Set type: "gosh" for Windows support without bash
  • Explicit shells: bash, zsh, pwsh available as opt-in

Module Registry

OrchStep has a tiered module ecosystem:

  • @orchstep/* — Official modules maintained by the OrchStep team
  • @community/* — Verified community contributions
  • @ai/* — LLM-generated modules (auto-validated)

Browse available modules in the modules/ directory or search with:

orchstep module search deploy

OrchStep — automate everything

Contributing

We welcome module contributions from humans and AI agents! See CONTRIBUTING.md.

License

NPM
orchstep
Install Command
npm install orchstep
Runtime: npx