Skip to content
Codixio
Menu

Own product, AI agents, orchestration

Auto-Loop: orchestrator, coding agents and tiered escalation

Period:
since 05/2026
Role:
AI architect and developer
  • Node.js
  • Claude Code
  • MCP
  • Docker
  • GitHub Actions
  • Coolify
Coding agents that never end in idle time. Flow: Task from the hub; Worker delivers; Format, lint, build, tests; Pull request or escalation; Resolution and re-entry

The Auto-Loop is the executing part of the autonomous development system. It takes tasks from the Codixio Hub, has coding agents deliver them and makes sure that crashes, blocks and open questions do not end in idle time.

Starting point

A single AI agent in a chat session constantly needs a human: to start, to continue, for every question. That does not scale to hundreds of tasks across many repositories. At the same time, an autonomous agent must not do anything that cannot be undone.

Solution

  • Orchestrator. In every cycle it evaluates the queue and decides whether to proceed. It always takes the lowest open position, and a block is not skipped, so dependent tasks do not fail one after another. While a task is running, no second one starts.
  • Worker. A headless coding agent delivers exactly one task. A pre-flight provides the repository’s toolchain in the CI version and picks the branch base: the first task of a chain branches from main, every further one from the tip of its predecessor. Format, lint, build and tests must be green before it pushes. The result is a pull request, never a push to main.
  • Self-block. If the worker hits a stop condition or an open question, it blocks the task itself, with exactly one concrete question and the context for it.
  • Tiered escalation. Tiers 1 and 2: a digital self checks the question against the specification, conventions, ADRs and precedent and answers clear cases itself. Tier 3a: pure code questions are decided by a panel with eleven fixed roles, every decision is recorded as a protocol note. Tier 3b: destructive or irreversible steps, secrets, spending and anything with external legal effect go to Matthias Jakisch by email with a prior analysis.
  • Resolution and re-entry. The answer is stored on the task, the task returns to the queue, and the next worker continues from the existing state instead of starting over.
  • Watchdog. If a worker crashes, there is exactly one automatic retry; on the second crash the task is blocked and escalated. A run ends only after 20 minutes without real tool activity or after four hours at the latest. After a restart, orphaned tasks are picked up again as re-entry.
  • Auto-restack. Once a stacked pull request is merged, the loop rebases the next one onto main automatically. A conflict blocks the task instead of being guessed.
  • Route report. When the queue runs empty, exactly one report is created with all tasks completed since the last one and their usage. It is the handover point for testing and merging by the human.

Local Cloud

Tasks marked for the Local Cloud do not run in the server container but in cloud sessions on our own runners on our own hardware. A dispatcher fetches them from the hub, starts one session per task and reports it back, with no more running at once than there are runners. Before every start it checks that the repository and base branch are reachable. If something is missing, the task is blocked right away with a concrete question instead of sending a session into the void. This page was built that way, too.

Technology

  • Node.js service as an MCP client of the hub, reconnecting when the hub issues new sessions after a deploy
  • Coding agents with Claude Code in headless mode, one isolated container or one cloud session per task
  • Tool permissions per worker type, no access to tools the task does not need
  • CI on our own runner, stacked pull requests without squash, so the audit trail is kept
  • Runs in Docker on Coolify

Result and status

  • Baseline of 27 Jul 2026 over 372 completed tasks: median lead time 14 minutes, 90 percent under 26 minutes, escalation rate 11.8 percent, failure rate 0.3 percent.
  • As of 12/2026: 1,047 completed tasks in total, 162 of them through the Local Cloud, which has been running since 14 Nov 2026.
  • Hardening from continuous operation, such as the watchdog, re-entry after restart and the rule to stop at a block, came from real incidents under load. Since then the rule is that tests for the loop cover crash, restart, race, block and dependency chain, not just the happy path.

All projects

Book a free, no-obligation initial call

In a free initial call we analyse your processes and agree on the framework for your project.

Email: support@codixio.com