跪拜 Guibai
← All articles
Backend · Artificial Intelligence · Agent

LoopForge Turns Team Delivery Experience into Executable Engineering Assets

By Cosolar ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

Team AI delivery stops scaling when humans become the bottleneck for context, quality, and scheduling. LoopForge externalizes those dependencies into executable SOPs that learn from past runs, which is the same wall any Western team will hit once per-developer agent tools go multi-seat.

Summary

Single-agent coding tools got fast, but teams didn't. LoopForge, Tencent's open-source delivery platform, targets that gap. It runs in a cloud workspace so laptops can close mid-run, keeps one shared session with a Main Bot so context stops being copy-pasted between PM, design, and engineering windows, and puts hard gates on quality: builds and lint judge by exit code, not by what the agent claims. The system supports ten CLIs as plugin executors, including Claude Code, Codex, and CodeBuddy, so swapping a model doesn't change the process.

Delivery runs two ways: chat with the Main Bot for small changes, or run a SOP for repeatable, sign-off-bound work. A five-layer architecture separates roles, process topology, execution engine, runtime environment, and deliverable contracts. An independent review model with no tools or credentials approves risky operations, and tasks release compute the moment they wait for human confirmation. Beyond that, an engineering-level RSI loop scores each run 0-100, has agents write structured "improvement prescriptions" for SOPs and roles, and applies them as new versions after human review. In the demo, a run scored 55 with two reworks, then after three prescriptions the next run passed once at 96.

The project is self-hosted Docker, targets trusted teams rather than multi-tenant isolation, and carries real caveats: the health score is heuristic, the "self-evolution" changes process assets not model weights, and the human approval step itself becomes the next bottleneck at scale. For teams that already have delivery discipline, LoopForge turns that discipline into executable, versionable assets. For teams without it, there's nothing to improve.

Takeaways
— LoopForge serves 20+ internal Tencent business lines and completes 200+ features and routine tickets per month.
— The system addresses five bottlenecks: laptop closure killing long runs, manual context handoff, no hard quality gates, ticket triage fragmenting focus, and recurring environment issues.
— SOP script nodes (build, unit test, lint) are judged by exit code, not by the agent's own claim of completion.
— An independent review model with no tools or credentials evaluates operation risk and initiator intent before write actions are auto-approved.
— Tasks release backend compute immediately when they enter the "waiting for confirmation" queue, keeping the pipeline from blocking.
— The architecture separates five layers (roles, SOP topology, execution engine, runtime, deliverable contracts) and supports ten CLIs as replaceable executors.
— RSI scores each run 0-100, has agents write structured improvement prescriptions, and applies them as new SOP versions after human click-apply; demo improved from 55 with two reworks to 96 on the next run.
— ./start.sh pulls a fixed GHCR image, requires Docker/Compose/Python 3/curl, and listens on 0.0.0.0:8090 by default; a mirror flag exists for China.
Conclusions

Vibe coding and engineering delivery split at the exit-code gate: a probabilistic model cannot certify its own output.

LoopForge applies least privilege literally by giving its independent reviewer no tools and no credentials, so the reviewer can only judge, never act, and prompt injection loses its blast radius in shared sessions.

Engineering-level RSI is honest about its limits: it rewrites process assets, not model weights, and always requires human approval, which keeps it safe but makes review attention the next bottleneck as pipeline count grows.

Positioning as an orchestration plane for existing CLIs, rather than a replacement agent or a generic workflow builder, is what makes LoopForge practical for teams already standardized on Codex, Cursor, or Claude Code.

Concepts & terms
Main Bot
The central chat interface in a shared team workspace; small changes go direct, large requirements dispatch to a SOP pipeline.
SOP (Standard Operating Procedure)
A graph of node types (Agent, Script, human gate, sub-SOP, preview build) that defines a repeatable delivery pipeline with declared dependencies and artifacts.
Exit-code gate
A deterministic check where builds, unit tests, and lint rules decide pass/fail by process exit code rather than by the agent's description of completion.
Engineering-level RSI (Recursive Self-Improvement)
LoopForge's variant of RSI: execution traces are replayed to score a run 0-100 and generate structured prescriptions that update SOPs, roles, and gates, applied as new versions after human approval; it never modifies model weights.
From the discussion
Featured comments
组合搭配函数

Individual agents piece together models; team platforms accumulate experience. That's put quite clearly. Turning tacit knowledge into assets that can run, be tested, and be regressed—that's where the value of team-level stuff lies.

See top comments, translated →
Source: juejin.cn ↗ Google Translate ↗ Backup ↗