
On this page
- What does agent verification check?
- How do you verify AI-generated code?
- Can an agent verify its own work?
- Do published agent harnesses check the running application?
- What is a verification loop?
- Why does verification belong inside the agent’s development loop?
- How did we verify this page?
- How do you verify an AI agent’s pull request?
- Where do coding agents develop and run the software they change?
- How do Claude Code and Codex verify changes?
- What else do people ask about agent verification?
- Does agent verification replace code review?
- What else does Revyl do?
- Beyond agent verification, what else does Revyl run?
Agent verification is the step where a coding agent proves its change works on the running application, in a web browser, an iOS simulator, an Android emulator or a macOS computer, and leaves evidence a reviewer can check. It runs while the agent is still working on the change, and again on the pull request where the team has set that up, alongside the tests and the CI run. The step is finished when the agent has exercised the changed behavior the way a user would and kept a record of what it saw. The phrase “agent verification” also names checking an AI agent’s identity and authority, often called Know Your Agent; this page is about the software development meaning, which our agent verification glossary entry defines in brief.
Revyl is verification infrastructure for cloud agents. It gives agents web browsers, iOS simulators and Android emulators to run and drive their changes on while they develop, and macOS computers where they build and run any software, from a desktop app to a command-line tool. Atlas keeps the behavior those sessions observe in web, iOS and Android apps. Agents reach Revyl through its CLI, its MCP server and agent skills, and with Proof of changes enabled, by default each pull request with a build also gets a proof status from Revyl.
What does agent verification check?
It checks what the change does to the running application. Type checks, lint and code review read the code, and tests exercise the paths someone wrote tests for. Verification opens the software on the runtime it ships to, takes the path the change touches and compares what happens with what the task asked for.
A reviewer can’t get the last row from the diff. Revyl’s docs describe the same loop: AI agents “work in a verification loop: make a code change, start the app, and iterate on the feedback” (docs.revyl.com/agents).
How do you verify AI-generated code?
Review the diff for intent and run the project’s tests. To verify the changed behavior on the running application, follow these five steps, whichever agent wrote the code:
- Start the software where it runs: the preview URL for a web app, a simulator build for iOS, an APK for Android, or a macOS computer for a desktop app or a command-line tool.
- Take the path the change touches, from a known starting state.
- Write the expected result as a sentence and check it against what the application shows or returns.
- Keep the evidence: screenshots, the step log and a link to the session report.
- Put that evidence on the pull request, so the reviewer reads the result before the diff.
Revyl’s docs suggest adding a section to AGENTS.md or CLAUDE.md that tells the agent to use Revyl whenever it changes code, so verification becomes part of its normal workflow (Verify agent changes).
Can an agent verify its own work?
It can, when the check comes from outside the model. Addy Osmani names the failure in Long-running Agents: “Models reliably skew positive when they grade their own work.” Asked whether they are done, they say yes more often than they should.
Anthropic saw the same pattern in Effective harnesses for long-running agents. A later agent session “would look around, see that progress had been made, and declare the job done.” Unit tests and curl commands weren’t enough to show that a feature worked end to end. Claude “mostly did well at verifying features end-to-end once explicitly prompted to use browser automation tools and do all testing as a human user would.”
Self-verification holds up when the agent observes the running application, checks what it sees against a stated result and saves evidence another person can open. A model can still make the call on what it observed. That call then rests on what the software did, and a reviewer can check it against the evidence.
Do published agent harnesses check the running application?
Some do. On December 1, 2026 we read 21 pieces on harness engineering, context engineering and software factories, the original sample behind the 24 entries in our reading list. Seven of the 21 describe browser, computer-use or visual verification in their text. We found those passages with a keyword scan, read each hit in context and did not count labels inside diagrams.
The OpenAI and Anthropic harnesses described on this page drive a browser. Warp’s software factory pairs a review agent that reads the diff with a verification agent that “proves the change works — often through computer use on a real build.” In Harness engineering for coding agent users, Birgitta Böckeler calls the behavior harness “the elephant in the room”: it is the part meant to guide and sense whether the application functionally behaves the way the team needs.
We found no verification passage in the 21 that names an iOS simulator, an Android emulator or a physical device. The definition above names all four runtimes because many apps ship to phones and Macs as well as the browser.
What is a verification loop?
A verification loop is the cycle an agent repeats: change the code, run the application, read what happened, change the code again. It ends when the check passes, or when the agent can’t complete the check and reports what stopped it, with the evidence it has so far. Osmani’s Agent Harness Engineering names the tools that close it: “Browsers, logs, screenshots, and test runners are what let the agent observe its own work and close the self-verification loop.”
People also call it the agent feedback loop. Böckeler’s article calls the parts that report back “sensors”. The engineering work of building that loop has a name too. Hayden White’s Pattern Engineering defines verification engineering as “building the tools, systems, and processes that can reliably establish whether a change meets its intended requirements, and produce actionable evidence and signals when it doesn’t.”
Why does verification belong inside the agent’s development loop?
Inside the loop, the agent can still act on what it sees. A check that waits until a person reviews the pull request turns each miss into a round trip: the reviewer finds it, writes it up and the agent starts over. When the agent opens the running application while it works, it sees the result and changes the code in the same session.
Moving the check into the loop is shift left applied to verification. The agent no longer waits for CI or a reviewer to find out whether its change works. It gets a live runtime while it is still writing the change, such as a cloud simulator or emulator through revyl dev, a browser or device session, or a Revyl computer, and it checks each step as it goes. CI and review still run afterwards, on a change the agent has already watched work.
The published accounts point the same way. In Anthropic’s Effective harnesses for long-running agents, Claude tested with unit tests or curl commands and could miss that a feature did not work end to end. Once prompted to use browser automation and test as a human user would, it mostly verified features end to end, though some kinds of bug stayed hard to see. OpenAI’s Harness engineering made the app bootable per git worktree and wired the Chrome DevTools Protocol into the agent runtime, so Codex could reproduce bugs and validate fixes on its own instance. Stripe’s Minions part 2 calls for “automated feedback that they can iterate against” and works by “shifting feedback left”: its agents loop on linters locally before a branch is pushed, so the branch has a fair shot at passing CI the first time.
Revyl puts that check inside the loop, from the first build to the pull request:
- Build. For iOS and Android, the agent keeps editing in its own workspace while
revyl devinstalls the development build on a cloud simulator or emulator and reloads it. Most JavaScript and TypeScript changes in Expo and React Native apps hot reload through Metro, and Revyl rebuilds and reinstalls other stacks when a change needs a new binary (Dev loop). A Web app opens in a Chrome session from a preview the team hosts or a bundle Revyl builds from its recipe (Web). - Run and drive. The agent takes screenshots, taps, types and opens URLs with
revyl devicecommands, and checks a stated result withrevyl device validation. - Session report. The steps and validations of an app session go into its report, which
revyl device reportreturns by session ID. - Atlas. Each web, iOS or Android session adds the behavior it observed to Atlas, described below.
- Pull-request status. Once Proof of changes is enabled, each pull request with a build gets a proof status on the pull request by default. The section on pull requests below shows what a proof that exercised the change reports.
Agents act on the code, and Atlas is the system of record for that system of action. It keeps what the product was observed to do as screens, states and the transitions between them, for web, iOS and Android apps, and ties each one to the screenshots and report it came from. Product teams open a flow there to see what the product was observed to do before they change it. Agents query it with revyl atlas before they touch a flow (Atlas).
How did we verify this page?
This page is an agent’s change, and the agent checked it inside its development loop. A writing agent drafted it in the revyl.com repository, built the site and served the build folder through a temporary public tunnel. It opened the page in one Revyl web browser session and confirmed the old subtitle. With the session still open, it edited the subtitle, rebuilt the site, reloaded the same URL and confirmed the new subtitle. Then it saved the session report and stopped the session, all before a person reviewed the pull request.
The script below does the same thing. It needs the Revyl CLI signed in, jq, Node.js 22.12 or later with npx, GNU sed and a Web app ID. It also needs the starting state of our run: a checkout of the site with its dependencies installed, the subtitle still reading “The step where a coding agent proves its change on the running app, inside its development loop”, that version built, and the build folder served at a preview URL Revyl can reach. Run it with bash from the site’s folder. It stops if the start returns no session ID. As soon as it has the ID it installs a cleanup that stops that session and saves its report only after the stop confirms the session was released; if the stop is still pending, the cleanup prints the session ID and the retry command and exits non-zero. The script stops before the edit if the first check fails, and it exits non-zero if any step fails, keeping the exit status of the first failure. To run it on your own change, replace the sed and build lines with your edit and whatever updates your preview, and rewrite the two validation sentences.
set -euo pipefail
APP_ID="your-web-app-id"
PREVIEW_URL="https://your-preview-host/blog/what-is-agent-verification/"
OLD="The step where a coding agent proves its change on the running app, inside its development loop"
NEW="The step where a coding agent proves its change on the running application, inside its development loop"
stop_session() {
local rc=$?
if revyl device stop --session-id "$SESSION_ID" --json | jq -e '.stopped == true' >/dev/null; then
revyl device report --session-id "$SESSION_ID" --json > report.json || { [ "$rc" -ne 0 ] || rc=1; }
else
echo "Session $SESSION_ID has not confirmed it stopped. Retry: revyl device stop --session-id $SESSION_ID --json" >&2
[ "$rc" -ne 0 ] || rc=1
fi
exit "$rc"
}
check() {
revyl device validation --session-id "$SESSION_ID" "$1" --json \
| jq -e '.success == true and .step_output.validation_result == true' >/dev/null
}
START_JSON="$(revyl device start --platform web --app "$APP_ID" \
--url "$PREVIEW_URL" --no-open --timeout 300 --json)"
SESSION_ID="$(jq -er '.session_id | select(type == "string" and length > 0)' <<<"$START_JSON")"
trap stop_session EXIT
revyl device screenshot --session-id "$SESSION_ID" --out before.png
check "The subtitle under the page title reads exactly: $OLD. In that subtitle the word after running is app, not application."
sed -i "s/^subtitle: \"$OLD\"\$/subtitle: \"$NEW\"/" src/content/blog/what-is-agent-verification.mdx
npx -y pnpm@8.15.0 build
revyl device navigate --session-id "$SESSION_ID" --url "$PREVIEW_URL"
sleep 3
check "The subtitle under the page title reads: $NEW"
revyl device screenshot --session-id "$SESSION_ID" --out after.pngAs of December 1, 2026, Revyl’s Free plan includes up to 1,200 free device minutes a month on iOS, Android and web, with no card, so a team can run this loop and start building its software factory on Revyl for free. Revyl computers, macOS workspaces where agents build and test apps, come with Pro: add a card to unlock them, and the 1,200 free device minutes a month still cover their sessions.
We ran this script on December 2, 2026, from a Linux cloud machine with the revyl CLI v0.2.128, against a local build of this site. It exited 0 after 2 minutes 50 seconds. The session ran in a 1280×800 Chromium viewport. The first validation passed, and its reasoning ended: “The word after ‘running’ is indeed ‘app’.” The rebuild took 1 minute 39 seconds by the build log (“381 page(s) built in 1m 39s”), and the session waited through the edit and the rebuild. After the reload, the second validation passed, and its reasoning read: “Directly beneath it, the subtitle reads: ‘The step where a coding agent proves its change on the running application, inside its development loop’. This matches the validation criteria perfectly.”
Earlier that day, a run of the same script hit a failing site build after the edit. It stopped the session, confirmed the stop, saved the report and exited 1. We also ran the script against a stand-in for the CLI that fails each step in turn: every failure made it exit non-zero, a failed first check left the file unedited, and every started session was stopped.
The session report lists three steps, all passed: the two validations and one manual-control step for the reload. The edit and the build ran on the agent’s machine, outside the report. Together with the two screenshots, they show the subtitle on the running page changing the way the edit intended. They don’t cover the rest of the page.


This ran from 02:15 to 02:18 UTC, and the report records a 147-second session. The page was a local build of this site, served from the machine’s preview address. The stop returned "stopped": true before the script saved report.json. Both screenshots are the session’s own captures, cropped to the page title and subtitle. Web builds shows how to create a Web app.
How do you verify an AI agent’s pull request?
Put the verification on the pull request itself, so the reviewer sees the result first. Revyl’s Proof of changes works this way: once it is enabled, each pull request with a build gets a proof status on the pull request by default, in a comment that updates as new commits land or, if the team configures it, in the description. When a proof runs, it attempts the configured target, for example the installed mobile build, the web preview or a command on a Mac, and works through the flows the change touches. Each build target gets a verdict, such as Ready, Ready with issues or Inconclusive. As of December 2, 2026, the docs list what a proof that exercised the change adds to its verdict: a verification confidence score from 1/5 to 5/5 with a list of what the proof covered, screenshots and, for web, iOS and Android, a link to the full session recording that opens without a login. A Mac proof needs no app build: when the change is a desktop app, a command-line tool or a local web stack, it runs it in a Revyl computer and reports with screenshots and command transcripts. A team can also start the same proof from its own CI with revyl agent proof. With the default wait, the command exits 0 when the proof passed and 2 when it was inconclusive. Exit 1 means the run didn’t pass, the request failed or the CLI lost contact; if --json shows the run still queued or running, read it again with revyl agent status <run-id>. It exits 124 when its wait times out and 130 when it is interrupted; the run keeps going in both cases, so the pipeline reads it again with revyl agent status. With --no-wait it exits 0 as soon as the run is queued, which is not a pass. These are the exit codes revyl agent proof --help lists in CLI v0.2.128 (Proof of changes).
A proof that exercised the change serves both readers of the pull request. The reviewer gets visual evidence and a record of real checks on the running software before opening the diff. The agent that opened the pull request gets a verdict and a list of what was not covered, which it can act on in its next commit. Revyl captures and stores a session’s screenshots, its report and, when the session was recorded, its recording on Revyl’s side, outside the repository and machine the agent is changing, so the change under review can’t alter the evidence about itself.
Stripe’s Minions part 2 (February 19, 2026) reports more than 1,300 merged pull requests a week that are minion-produced and human-reviewed. Every one of those pull requests still waits for a reviewer. OpenAI’s harness engineering post calls human time and attention its own team’s “one truly scarce resource”. As agents open more pull requests, reviewer attention can become the code review bottleneck. A verdict with screenshots tells the reviewer where to look first.
For the options that post verdicts on pull requests, see PR verification for coding agents, compared.
Where do coding agents develop and run the software they change?
Agents use these environments while they build, not only when the work is done.
- Web browsers. A Web app runs in a Chrome session at a desktop or mobile-sized viewport. Web is available to every Revyl organization on every plan (Web builds). Other browser options are in cloud browsers for AI agents, compared.
- iOS simulators and Android emulators.
revyl devruns the local app on a cloud simulator or emulator while the agent keeps editing in its own workspace, and the agent drives the device from a second terminal with commands such asrevyl device screenshotandrevyl device tap(Dev loop). See iOS simulators and Android emulators for coding agents and mobile MCP servers, compared. - macOS computers. An agent builds and runs software in a Revyl computer, a macOS workspace, during its session. It runs commands and works with files from the CLI, and runs Web and iOS apps inside the workspace as app sessions (Revyl computers). That makes a Revyl computer the place to verify any software that runs on a Mac: a command-line tool, a desktop or Electron app, a web app’s local dev stack in Safari, an iOS Simulator build, or a build or test command run through
revyl computer exec(Proof on macOS). For the wider field, see macOS computers for AI agents, compared.
If you are still choosing where the agent itself runs, agent sandboxes explained and computer-use agents cover that layer.
How do Claude Code and Codex verify changes?
Both can call Revyl from the same session that wrote the code. revyl skill install takes a flag per agent (--claude, --codex and others) and installs skills that teach the agent the dev loop (Agent skills). Revyl’s MCP server connects to Claude Code, Codex and other MCP clients (MCP setup). Either way, the agent starts the runtime its app ships to, runs its validations and attaches the report to its pull request.
What else do people ask about agent verification?
Does agent verification replace code review?
No. Agent verification gives the reviewer the result of trying the change in the running application. The reviewer still judges whether the change is sound, readable and in scope.
What else does Revyl do?
Revyl is verification infrastructure for cloud agents. Agents and teams use its web browsers, iOS simulators, Android emulators and macOS computers while they write a change, through the CLI, the MCP server, agent skills and the Revyl plugin for Claude Code and Codex (MCP setup). Once Proof of changes is enabled, each pull request with a build gets a proof status by default, and on web, iOS and Android a proof that exercised the change links a session recording that opens without a login. Atlas keeps the behavior observed in web, iOS and Android sessions. The Free plan needs no card and runs 2 devices at once, with unlimited developers and agents and no seat fees, and Pro is pay as you go with no monthly fee (pricing).
Beyond agent verification, what else does Revyl run?
The runtime an agent verifies on is one part of Revyl. The rest is what keeps that check on record:
- Runtimes: web browsers, iOS simulators, Android emulators and macOS computers, each started from the CLI or MCP (Revyl CLI reference).
- Atlas: the record of observed product behavior that product teams and agents both read (Atlas). Our post on verified product behavior as the unit of agent work explains why that record matters.
- CLI and MCP: agents and scripts call the CLI from a terminal or CI, MCP clients reach the same sessions through Revyl’s MCP server, and
revyl skill installteaches an agent the loop (Agent skills). - Session reports and pull-request verdicts: each app session leaves a report of its steps and validations, and once Proof of changes is enabled, by default each pull request with a build gets a proof status, with a verdict and that evidence from every proof that exercised the change.
Teams whose agents work for their own customers can use Revyl’s partner integration, which sets up a Revyl workspace per customer for the agent to work in. Capy, a cloud agent platform, gives its agents phones through Revyl this way.
To choose where that check runs, see our post on agent runtimes, and to teach an agent the loop, see our post on agent skills. For hosted agents, what each cloud coding agent can verify compares what each one can run.
A team can start building its software factory on Revyl for free. As of December 1, 2026, Revyl’s Free plan includes up to 1,200 free device minutes a month on iOS, Android and web, with no card. Revyl computers, macOS workspaces where agents build and test apps, come with Pro: add a card to unlock them, and the 1,200 free device minutes a month still cover their sessions. See pricing.