Build one Workflow graph, compile it into runnable scripts, and adapt it across Claude Code, Codex, Gemini, and future local or cloud model runtimes.
English · 中文 · Français · Deutsch · Español · Português · Русский · 日本語 · 한국어 · हिन्दी · العربية · Discord · QQ Group: 149523963
Important
Community · 加入社区 — join the OpenWorkflows Discord or QQ group for setup help, workflow examples, feature ideas, and contributor coordination. Discord: https://discord.gg/2C9ptSEFG · QQ Group: 149523963
Claude Code introduced Workflow-style scripts for orchestrating multi-agent steps, parallel branches, and pipelines. OpenWorkflows turns that pattern into a visual editor with a portable intermediate representation, so the same graph can be edited, compiled, parsed, and adapted across different agent runtimes.
- Generate an editable Workflow blueprint from a natural-language goal.
- Author agent steps, parallel branches, pipelines, branches, loops, consensus nodes, and reusable composite workflows on a React Flow canvas.
- Compile the graph into runnable Claude Code-style Workflow scripts, then parse scripts back into the same graph model.
- Select runtime-facing adapters such as Claude Code, Codex, or Gemini, with per-node model and provider settings.
- Run or stop workflows from the desktop app while tracking node-level execution state.
- Keep workspaces, sessions, prompt shortcuts, API configuration, and local history on your machine.
Run the web app from app/:
cd app
npm install
npm run devVite starts at http://localhost:5173.
Run the desktop app:
cd app
npm run desktopBuild a production desktop package:
cd app
npm run packageFrom the repository root, run.bat rebuilds when needed and launches the Windows app. build.bat packages the Windows installer.
- Create a workflow or open an existing session.
- Describe the goal in the bottom-right AI input. OpenWorkflows generates an editable blueprint.
- Refine the blueprint with follow-up instructions, or use the right-panel prompt shortcuts for structure, completeness, cost, reliability, and rollback-oriented edits.
- Select nodes to edit prompts, model tiers, schemas, ports, or execution parameters.
- Choose a runtime adapter such as Claude Code, Codex, or Gemini.
- Click Run to execute the graph and watch per-node status updates.
- Switch workspaces or sessions from the history rail to continue earlier work.
The CLI exposes two user-facing commands:
owf gengenerates or modifies a workflow script from natural language.owf runruns a workflow script, with dry-run and resume support.
Build it first if app/cli/dist/owf.mjs does not exist:
cd app
npm run cli:buildThen run it from the repository root:
node app/cli/dist/owf.mjs gen "Create a code-review workflow" -o review.js
node app/cli/dist/owf.mjs run review.js --dry-runSee OpenWorkflows CLI usage and the CLI skill spec for details.
| Area | Technology |
|---|---|
| Desktop shell | Tauri 2, Rust |
| Frontend | React 18, Vite 5, TypeScript 5 |
| Canvas | React Flow / @xyflow/react |
| State | Zustand |
| Styling | Tailwind CSS, CSS variables |
| Icons | lucide-react |
| Workflow core | IRGraph, parser, emitter, round-trip checks |
| Runtime adapters | Claude Code, Codex, Gemini, extensible provider routing |
IRGraph is the single source of truth. The canvas, parser, emitter, AI mutation path, and runtime all operate on the same model-agnostic graph:
Natural-language goal
|
v
AI blueprint generation -> IRGraph -> React Flow canvas
|
+----> emitter -> runnable Workflow script
|
+----> parser -> round-trip graph recovery
|
+----> runtime -> Claude Code / Codex / Gemini
Core files:
app/
src/
core/ IR, parser, emitter, fixtures, round-trip checks
canvas/ React Flow projection, node components, toolbar
panels/ Sidebar, prompt panel, AI dock, node inspector
runtime/ DAG execution, provider gateway, run state
store/ Zustand state and history
src-tauri/ Tauri commands, filesystem/history bridge, packaging config
doc/ Tutorials, localized READMEs, CLI docs, screenshots
docs/ Research notes, static docs, assets
pencil/ Pencil design files
- Usage tutorial - walkthrough from settings and AI input to blueprint generation, running, and appearance switching.
- Chinese usage tutorial
- OpenWorkflows CLI usage
- OpenWorkflows CLI skill spec
- Chinese README
- Workflow syntax reference
Useful commands from app/:
npm run dev # Vite dev server
npm run typecheck # TypeScript check without emitting files
npm run lint # ESLint for .ts and .tsx files
npm run test # Vitest suite
npm run desktop # Tauri development mode
npm run package # Production Tauri buildFor parser, emitter, or IR changes, run the app and use the browser console helpers exposed on window.OpenWorkflow, especially:
OpenWorkflow.roundtrip()
OpenWorkflow.roundtripAll()- Discord: https://discord.gg/2C9ptSEFG
- QQ Group:
149523963 - Issues: https://github.com/wellingfeng/OpenWorkflows/issues
- Repository: https://github.com/wellingfeng/OpenWorkflows
Pull requests should describe the behavior change, list verification commands, link related issues, and include screenshots or short recordings for UI changes.
No license has been specified yet.
