BUILD · Research → story
The model looked twice. The page can still be wrong.

GLM-5.4 can repeat part of its internal computation, and ZCode can reopen the browser. Neither loop proves that the repaired page passed its acceptance tests.
The coding agent studied the screenshot, changed the page and opened the browser again.
On the laptop view, everything looked repaired. The headline fit. The buttons had separated. The image sat neatly inside its frame. The agent declared the job complete.
Then the page opened on a phone.
One control still crossed the right edge. The keyboard focus indicator had disappeared. A link reached the wrong section. The repair had produced a better screenshot and an unfinished page.
That scene is hypothetical. No GLM-5.4-versus-Codex repair comparison has been run here. But it exposes a practical distinction that product language can easily blur.
A model can repeat part of its reasoning. An agent can repeat its use of tools. A repair is complete only when the result passes checks that do not depend on the agent’s own confidence.
Those are three different loops.
The first loop lives inside the model
Z.ai describes GLM-5.4 as its first flagship model built on a Loop Transformer architecture. According to the official model documentation, 28 layers carried over from GLM-5 run for two iterations.
In simplified terms, a shared block processes the model’s working representation, then processes the updated representation again. Z.ai says this allows deeper reasoning without increasing the parameter count, while also noting a tendency toward overly long “marathon thinking” loops.
That is an architectural claim about how the model computes a response.
It may improve the response. It does not inspect the final phone layout, follow the link or establish that required text survived an edit. The internal loop ends at the model boundary.
The second loop lives in the workshop
ZCode adds the workshop around the model.
Its November 23 release notes say version 4.0.0 added GLM-5.4 with vision capabilities and stronger general coding abilities. ZCode’s documentation describes a built-in browser that can show local or live pages at device sizes such as Phone, let an agent drive the browser and turn selected page elements into context when the Design plugin is enabled.
Now the agent can move through a visible cycle:
- inspect the page;
- edit the code;
- rebuild or refresh;
- inspect the page again.
This loop matters. A model that cannot see the consequence of its edit is working with one hand behind its back.
But activity is not acceptance. Reopening the browser proves that another view was taken. It does not prove that the right view was taken, that every requirement was checked or that a new defect was not introduced elsewhere.
Even ZCode’s release language needs precise scope. Version 4.0.0 says its Documents, Spreadsheets and Presentations plugins no longer perform an additional visual acceptance step. That sentence names three document plugins. It does not establish how reliably a website repair reaches independent acceptance.

The third loop belongs to the result
The final loop begins with requirements written before the agent works.
For a small website repair, they can be plain:
- no horizontal overflow at the agreed phone width;
- no overlapping controls;
- visible keyboard focus;
- the internal link reaches the intended section;
- required wording remains byte-for-byte intact;
- the image stays within its defined bounds.
The agent makes a change. An independent test suite and a blinded visual review examine the result. Any failure returns to the work queue. A passing build, clean browser run and final visual check create the receipt.
The important word is independent. The same agent may run the tests, but it does not get to redefine them after seeing the result. “I am finished” is an event to record, not a verdict to trust.
Six defects make the denominator visible
A useful pilot could freeze one disposable static page with six planted defects. Two coding-agent configurations would receive the same starting files, the same desktop and phone screenshots, the same short instruction, the same time limit and zero follow-up prompts. Model versions, browser tools, plugins and permissions would be recorded.
The private answer key would remain with the evaluator.
The headline score would be:
independently verified original defects repaired ÷ all six planted defects
Every original defect stays in the denominator. A hard problem cannot disappear because an agent did not mention it. New regressions are counted separately. So are edit-and-test cycles, elapsed time, human intervention and declarations of completion while checks are still failing.
A blinded reviewer would then compare the final desktop and phone views without knowing which system produced them.
This design does not guarantee a universal answer. One page is a pilot, not a benchmark for all software work. It does, however, turn a broad claim about visual coding into a small falsifiable question.
The demonstrations are the invitation, not the receipt
Z.ai’s launch materials present ambitious code-generated examples spanning video, games, three-dimensional scenes and mechanical design. They show what the company chose to demonstrate. The official documentation also establishes image, video, text and file inputs, plus tool-calling support.
Those are meaningful capability signals.
Reliability needs a different record: attempted tasks, final outcomes, retries, assistance and failures. Without that denominator, a beautiful result can show possibility while saying little about completion rate.
The same discipline applies to any coding agent. More reasoning may help. Better vision may help. Browser tools may help. None of them can issue their own acceptance badge.
The internal loop can look twice. The tool loop can reopen the page.
The result loop still has to measure it.
Sources: Z.ai’s official GLM-5.4 model documentation, ZCode release notes, plugin documentation and ADE tools documentation, plus the hash-bound source Special. Documentation checked 28 November 2026. The six-defect comparison is a proposed evaluation design. No paid model call, production edit, deployment, account change or comparative experiment was performed for this story.