by LEO001020
A control loop that turns Codex subagents into a continuously refilled engineering team—with isolated workers, independent model review, headless scale, and a live dashboard.
# Add to your Claude Code skills
git clone https://github.com/LEO001020/codex-loop-orchestraGuides for using ai agents skills like codex-loop-orchestra.
See how codex-loop-orchestra compares with popular alternatives.
codex-loop-orchestra is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by LEO001020. A control loop that turns Codex subagents into a continuously refilled engineering team—with isolated workers, independent model review, headless scale, and a live dashboard. It has 63 GitHub stars.
codex-loop-orchestra's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/LEO001020/codex-loop-orchestra" and add it to your Claude Code skills directory (see the Installation section above).
codex-loop-orchestra is primarily written in Python. It is open-source under LEO001020 on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh codex-loop-orchestra against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
See comparison
The control loop that keeps an engineering team of 100+ Codex agents running.
Highlights · Control loop · Quickstart · Why LOOP · Architecture · 中文 · Docs
Codex can launch subagents in parallel. LOOP adds the scheduling, isolation, independent audit, and observability needed to turn a one-shot batch into a self-replenishing engineering system.
Give LOOP a goal and a concurrency target. It breaks the work into tasks, dispatches them, and fills each newly available slot until the backlog is empty. Small workloads can remain visible in Codex Desktop; larger waves can run through supervised WSL headless workers. The root, execution, and audit stages can use models from different providers, while one dashboard shows what every agent is doing. You no longer have to keep asking the system to continue, and you retain final control over every merge.
codex exec processes expand larger execution waves into the WSL headless runtime.run_view.py summarizes the live run; run_evidence.py builds a compact index over completed packets, decisions, reports, and terminal lifecycle evidence.
Many agent harnesses can start a batch of agents. LOOP solves the harder problem: keeping the requested concurrency level filled for as long as useful parallel work remains, while isolating writes, making acceptance reproducible, and reserving release authority for a human.
In plain language: Set the goal and concurrency once. LOOP handles decomposition, dispatch, refill, and verification. When one agent finishes, another takes the open slot. Scripts handle routine waiting and retries; only exceptions that require judgment are escalated to the root agent.
What that means for you: No more repeatedly typing “continue” or “start more agents.” Parallel execution reduces elapsed time, isolated worktrees prevent agents from overwriting one another, and an independent model audit helps catch shared blind spots.
The control loop enforces these rules:
Models make judgments. Code manages state. Independent models audit the work. Humans release it.
Give this repository to Codex or another coding agent and paste:
Install Codex LOOP Orchestra from https://github.com/LEO001020/codex-loop-orchestra.
Read AGENT_INSTALL.md first. Inspect my environment, show the dry-run and backups,
wait for my approval, then activate LOOP and verify the installation.
Never read, print, or change my API credentials.
Prefer to install manually? Jump to Installation details, or read the complete Windows/Linux/WSL guide.
LOOP is not simply a way to start more agents. Each part of the system addresses a failure mode that appears when a native agent harness is used for sustained, high-concurrency, multi-model engineering:
| Limitation in the native harness | What LOOP changes | Practical benefit |
|---|---|---|
| A batch shrinks as agents finish; prompting alone does not reliably refill it. | Measure the agents actually running across Desktop and headless runtimes, then refill open slots from a bounded backlog. | Sustain high concurrency without repeated user intervention. |
| Execution and self-review by the same model family can preserve the same blind spots. | Treat the root, execution, and audit stages as independent model-routing decisions. Third-party models can connect through a Codex-compatible gateway such as OpenCodex. | Cross-check work with different model families and reduce correlated failures. |
| In the maintainer's environment, the Codex Desktop conversation layer became unstable and sometimes crashed with roughly 10–20 busy native subagents. | Keep a smaller visible set of Desktop agents and send larger execution waves to supervised WSL headless workers. | Avoid the Desktop conversation-layer bottleneck while preserving native root-to-subagent messaging. |
| Ordinary tool calls repeatedly reload files, parse data, and rebuild intermediate results. | Give headless workers an optional IPybox-backed Python kernel that starts on demand and persists for the session. | Preserve computation across calls, including DataFrames, indexes, and counters. |
| A high-capability coordinator can waste expensive turns on search, tests, waiting, polling, and retries. | Let the root agent plan and adjudicate while scripts handle deterministic lifecycle operations. | Reserve the strongest model for decisions and reduce elapsed time. Dozens of execution agents can raise aggregate throughput, particularly with Flash or diffusion- and draft-accelerated worker models, while policy keeps the root model's production-token share at or below 25%. |
| Native random nicknames and separate headless processes provide no unified operational view. | Assign ordered numeric IDs and map them to task names, models, runtimes, health, and remaining capacity. | See every agent in real time and diagnose refill gaps from the Agent Monitoring Web UI. |
LOOP has been tested with more than 100 concurrent agents. The public package ships with a more conservative default of 20 active agents per parent task and 80 across the Desktop and headless runtimes on one machine; users can raise those values to match the workload, model-provider capacity, and local hardware.
The 10–20 range is a maintainer observation from one environment that motivated the dual-plane design, not a published benchmark or an official Codex limit.
LOOP separates planning, execution, audit, state management, and release authority.