Define task & run prompts
Start with a task prompt at the Start node and declare interactive run variables with {{ask:Title}} or reusable {{ask[name]:Title}}.
Orc is a local desktop and headless runner for developers using Claude Code, Codex, Pi, OMP, Hermes, and custom CLIs. Wire agent nodes, bounded review loops, and deterministic checks into a graph—then run it inside your project folder and inspect every prompt, token, and Markdown artifact.
Running a single prompt to plan, write, review, and verify non-trivial changes mixes concerns in one context window. Copying outputs between terminal tabs loses provenance and makes retries manual.
{{start}}, {{input}}, {{nodes.<id>.output}}, and named port wires {{in.<port>}}.critical / major issues block) and route bounded loops back to a fixer.Workflows are stored as plain JSON files. Build visually on the React Flow canvas or execute the same workflow file headlessly in CI or a terminal.
Start with a task prompt at the Start node and declare interactive run variables with {{ask:Title}} or reusable {{ask[name]:Title}}.
Connect agent nodes, Script/Code nodes, Review gates, Approval forms, and deterministic non-agent checks with orthogonal edges and port labels.
Orc invokes each CLI as a non-interactive subprocess in your project working directory—passing arguments as an argv array without shell interpretation.
Read every node's resolved prompt, stdout/stderr, token usage, and Markdown artifact. Fix a failed node's config and retry from that node while reusing upstream outputs.
Orc does not wrap a proprietary hosted model. It orchestrates the local agent binaries you already authenticate and configure on your machine.
Configure providers once in providers.json or Preferences, then override model, reasoning effort, permission mode, or session reuse per node. Orc disables auto-discovered CLI skills by default so node prompts stay deterministic.
--resume / --session-id) with a configurable round cap.| Provider | Non-Interactive Invocation Contract |
|---|---|
| Claude Code | claude -p <prompt> --output-format stream-json --disable-slash-commands |
| Codex | codex exec --json --skip-git-repo-check -c skills.include_instructions=false |
| Pi | pi -p -a --mode json --no-session --no-skills [--model] |
| OMP | omp -p --auto-approve --mode json --no-session --no-skills [--model] |
| Hermes | hermes chat -q <prompt> --format stream-json --yolo [--ignore-rules] |
| Custom CLI | <executable> + arg array with {{prompt}}, {{model}}, {{effort}} |
Combine agent nodes with structured Review gates, human Approval forms, and six deterministic non-agent steps that spend zero tokens and evaluate real evidence on disk.
critical and major issues trigger the bad loop exit.{{nodes.<id>.outputs.form}}).NAME=value lines to {{in.NAME}} ports
Attach reusable SKILL.md instructions to any node without adding clutter to your graph topology. Use named output ports to route specific artifacts to downstream reviewers without merging everything into one blob.
skill-name.md files.## Mode: revise) let one planner or reviewer node adapt its instructions on loop iterations.1. Node prompt (charter, task, {{start}} / {{in.plan}})
2. Placement prompt hints
3. Attached skills (--- SKILL: test-driven-development ---)
4. Mode directive + loop feedback ({{loop.feedback}})
5. Routing / JSON verdict contract
Every desktop run writes a manifest, per-node Markdown outputs, token totals, and logs beside the saved run JSON. If a later step fails, edit its settings and click Retry node—completed upstream nodes reuse their saved outputs.
Orc is a local orchestrator, not a cloud middleman. It does not require an account, host your code, or collect usage telemetry.
Orc is not a sandbox. Agents and scripts execute in your chosen project folder with your OS user permissions. Choose per-node permission modes (such as read-only or workspace-write) and review execution settings in the run dialog before launching.
Commands are spawned directly as argument arrays with no shell interpretation. Each node runs in its own process group so cancelling or timing out sends SIGTERM (and SIGKILL after 3s) cleanly to the entire subprocess tree.
Projects, workflows, run logs, and skills live locally in plain JSON and Markdown files. Export workflows with embedded skill definitions to share them or run them headlessly via node src/cli.ts.
Explore the core engine (src/core/), inspect the 394-test suite (npm test), browse starter workflow templates, or open an issue or pull request on GitHub.
Orc includes built-in adapters and output parsers for Claude Code, Codex, Pi, OMP, and Hermes, plus a Custom CLI provider type that invokes any executable using an argument template ({{prompt}}, {{model}}, {{effort}}, {{permissionMode}}, or stdin). You install and authenticate those CLIs yourself.
No. Orc runs locally on your machine against your local filesystem. External model APIs are only contacted by the underlying agent CLIs you choose to run.
Yes. The workflow engine in src/core/ has zero UI dependencies. You can run any workflow JSON headlessly from a terminal with node src/cli.ts <workflow.json> (and --providers file.json if needed).
Each run saves every node's resolved input, output, logs, and loop state. After fixing a failed node's prompt or provider settings, choose Retry node to start a new linked run from that step—completed upstream nodes reuse their saved outputs (labelled Saved output reused) without re-running.
Running from source or packaging standalone builds requires Node.js ≥ 24 and npm (npm install, npm run dev, or npm run build:app). Standalone Electron builds bundle their runtime so end users only need their agent CLIs installed.
The source code is hosted publicly at github.com/synapse/orc. As noted in the repository README, a formal LICENSE file has not yet been selected and committed by the maintainer.
Inspect the README, run npm run dev or node src/cli.ts, and compose your local CLI agents into repeatable workflows.