Rein: AI Workflow Orchestrator
Dmytro Klymentiev
Published
Open-source workflow orchestrator for AI agents. Define multi-step processes in YAML, assign each step to a specialist agent, and run with automatic crash recovery via SQLite.
Each block in a workflow can be an LLM call (Claude, GPT, Ollama, OpenRouter) or any executable script. The orchestrator handles dependencies, data flow between blocks, and error handling. Parallel execution, conditional branching, revision loops, and tag-based routing supported.
Three execution modes: sync (CLI, wait for result), async (daemon, poll for progress), step mode (run N blocks per invocation, save state, exit).
Built-in MCP server lets you trigger workflows directly from Claude Desktop, Cursor, or Claude Code. Optional daemon mode with WebSocket for live updates.
MIT licensed. Five working examples in the repo.
GitHub: https://github.com/dklymentiev/rein-orchestrator
Demo: