ORCH — CLI runtime I built for orchestrating long-running coding agents with state machine + retries #4096
oxgeneral
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What I built
ORCH — a TypeScript CLI runtime for orchestrating teams of AI coding agents.
Context for PromptFlow users
PromptFlow excels at building and testing LLM application flows with DAGs. ORCH fills a different gap: runtime orchestration for coding agents that execute as long-running OS processes (Claude Code, Cursor IDE, OpenCode).
The core problem: coding agents are stateful, long-running, and fail unpredictably. PromptFlow's DAG model works well for prompt chains — ORCH handles the messier reality of external agent processes.
What ORCH adds
PID-based process tracking — knows when agents stall vs just running slowly
Auto-retry with state — crashed agent →
retrying, restarted automaticallyMandatory review gate —
in_progress → review → done, can't skipShared context — all agents read from the same typed key-value store
Details
Repo: https://github.com/oxgeneral/ORCH
Beta Was this translation helpful? Give feedback.
All reactions