Article list
AI writing

Loop engineering moves the person to the checkpoint

I attended MiniMax’s offline developer conference yesterday, and there’s one term that’s been stuck in my head ever since I got back: loop engineering.

At first, I thought it was just a matter of running the agent for a few more rounds. That understanding was too shallow. What really got me stuck is that AI writes code much faster than humans can review it. If human involvement remains stuck at “checking every step and making decisions at every step,” productivity will eventually be capped by the speed of human review.

On this page

This connects to my recent experience with Codex. When I was writing that goal article, I was more focused on the matter of “completion criteria”: what the goal is, where the boundaries lie, what to use for verification, and when something counts as done.

Looking back after the conference, “goal” is only a small but crucial part of loop engineering. It addresses how a single task can keep moving forward without constant human reminders. The bigger questions are: which tasks are worth handing over to a loop, which checkpoints must remain with humans, which judgments can be built into the system in advance, and which responsibilities cannot be pushed onto AI.

I now think there are two scenarios that fit best.

One is performance optimization. It naturally comes with metrics, and it’s best if it can also automatically retest. You tell the agent: the interface P95 needs to be reduced to a certain value, the first-screen rendering needs to be controlled within a certain number of milliseconds, the bundle size needs to be reduced to a certain number of KB, and regression tests must not fail. After each round of changes, it runs a benchmark, profile, or stress test; if the target isn’t met, it continues to look for bottlenecks. Here, the human’s value is not to check which line was changed each time, but to first provide verifiable acceptance metrics, and then judge at key checkpoints whether “this optimization has changed the business semantics.”

Another one is UI refactoring. The premise is having clear design specs, ideally achieving a 1:1 restoration. Without design specs, people keep getting pulled back into trivial judgments like “this margin is off,” “this color feels wrong,” “this interaction doesn’t feel right.” With design specs, AI’s loop can converge around screenshots, DOM, styles, and visual differences. People don’t need to chase every CSS adjustment, but they are responsible for the final interface.

The common ground between these two scenarios is that the deliverable is not just a vague “do it better.” Performance optimization has numbers, UI redesigns have design mockups. The loop works not because the AI is more obedient, but because the task itself has comparable goals.

Multica Is Like a Collaboration Board

At the conference venue, I also ran into people from the open-source community introducing their projects, among which Multica was quite interesting. When I looked it up afterward, I found that it isn’t a brand-new monolithic coding agent, but rather a layer that connects tools such as Claude Code, Codex, GitHub Copilot CLI, OpenCode, Gemini, Kimi, and Cursor Agent into a unified task collaboration layer.

In its README, agent is described as a teammate: it can be assigned issues, report blockers, update status, and also appear on the kanban board, in comments, and across the task lifecycle. More specifically in the docs: agent is a first-class member of the workspace, can be assigned issues, speak in comments, and be mentioned with @; when creating an agent, you can choose the underlying AI coding tool behind it, and configure instructions, model, environment variables, CLI arguments, visibility, and concurrency limits.

This turns “which model to use” from a temporary choice in a single prompt into a role configuration in team collaboration.

The most interesting aspect of it is not the phrase “multi-agent” itself, but rather the ability to assign different roles to different agents. For example, one agent can use a cheap model to handle repetitive fixes, another can use a more powerful model to make architectural judgments, and a third can focus solely on code review without making any changes; combined with mechanisms like Squad, a leader agent can route tasks to the appropriate members based on the content of the issue.

I haven’t run through Multica end to end, so it can only be treated here as a sample that can be cross-checked against publicly available material. But this design direction belongs to the same class of problem as loop engineering: rather than letting a single AI do everything, you put tasks, roles, models, review, and state transitions all into the same loop.

If a company is really going to implement AI to write code, this difference matters.

Now model prices vary, and so do their capability boundaries. Using the most expensive closed-source model for every task doesn’t necessarily keep costs under control; using cheap models for every task may push costs to the back end through rework and missed reviews. A more realistic approach is layering: low-risk, repetitive, clearly bounded work goes to cheap models first; critical changes, architectural trade-offs, and final review are reserved for stronger models or humans.

Using closed-source strong models for review is, I think, a good position. Review is not just “picking out grammatical errors” — it requires examining whether requirements have been corrupted, whether boundaries have been crossed, whether tests only cover the surface, and whether commit messages conceal risks. This type of task demands more judgment, but the call frequency may not be as high as during the implementation phase, making the cost accounting easier to accept.

Less Human Involvement Does Not Mean Less Human Accountability

There’s a point from the roundtable discussion that I really agree with: the code is written by AI, but the code is submitted by humans.

This sentence sounds like a reminder of responsibility, but it is also a principle of process design. AI can write code, modify code, run tests, generate PR descriptions, and even have another model review it first. But the person who ultimately merges the code into the main branch cannot say, “This was written by AI, it has nothing to do with me.”

What a company needs is not who is typing characters on a keyboard, but who takes responsibility for the result. Once you submit, it means you are willing to take responsibility for the business semantics, risk boundaries, test evidence, and rollback plan of this change. The deeper AI’s involvement, the less ambiguous this matter can be.

So loop engineering is not about completely removing people from the process. It’s more about rearranging where people fit in:

{{< relref “/post/2025-03-15-llm-app-engineering/” >}}

  • Before the task begins, humans clearly define the goals, boundaries, and acceptance criteria.
  • During the loop, the system and the agent handle repeated attempts, testing, fixing, and state synchronization on their own.
  • At critical checkpoints, humans review the evidence, the differences, and the risks, rather than chasing every line of the AI’s output.
  • When submitting code, humans take responsibility for the outcome and cannot use AI as an excuse to avoid accountability.

This is also why I connect seemingly scattered elements such as goals, performance metrics, design specs, and Multica together. They all advance, externalize, and structure human judgment. Humans participate a little less, but in more critical positions.

If this isn’t done well, it turns into another kind of inefficiency: AI produces a lot, humans can’t review it all, and the team ends up merging code based on “it feels about right.” When something goes wrong, the blame gets pushed onto AI. That’s not engineering—that’s just chaos with a different producer.

The loop that’s really worth pursuing is not about letting AI keep writing, but about making sure that every round of writing, modification, testing, and review can come back to the same acceptance checklist. Human work shifts from “watching it write” to “defining what counts as good, checking whether the evidence is sufficient, and taking responsibility for submissions.” That might be exactly where the term loop engineering has kept me thinking.

References

写作附记

Original Prompt

$blog-writer attended the Minimax offline developer conference yesterday. There’s something that has been on my mind—loop engineering. Recently I’ve been developing with codex and also enjoy using goals. I’ve written articles about goals before and discovered two scenarios where they fit best: performance optimization, where you directly provide the required performance metrics, and UI refactoring, where you provide design drafts and require 1:1 restoration. Going back to loop engineering mentioned at the beginning—programming in the AI era. Since AI productivity far exceeds that of humans, the speed of human review simply cannot keep up with the speed of AI output. However, with current vibe coding, many decisions still require human involvement. Once human participation increases, the entire process becomes difficult to fully automate. The concept of loop engineering is more about reducing the degree of human involvement.

I also met people from the open-source community who came to present their projects. One project was quite interesting—Multica. Check out the relevant materials and briefly introduce it. Apart from its design philosophy, the most interesting aspect is that different models are given different identities, which can effectively leverage various large models. After all, model prices vary nowadays, and using closed-source models for review is a good idea.

Regarding the implementation of AI code in companies, during the roundtable discussion, there was a consensus on one point: the code is written by AI, but the code is submitted by humans. You need to be responsible for the code you submit, which reflects your sense of responsibility and your attitude toward doing things. You can’t just say it was written by AI and has nothing to do with you.

Writing Approach Summary

  • Kept the in-person trigger of attending the MiniMax offline developer conference on 2026-06-13, without expanding it into a conference report.
  • Refocused the main thread on “how the role of human participation changes,” rather than explaining loop engineering, goals, Multica, and corporate responsibility item by item.
  • The Multica section only describes capabilities supported by public materials, and explicitly places “using closed-source models for review” within the author’s judgment.
  • Suppressed the elaboration of specific model pricing, company management systems, and code review processes, to prevent the article from drifting from workflow observations into management policy recommendations.

Comments will load when you scroll here.