> ## Documentation Index
> Fetch the complete documentation index at: https://docs.revyl.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Verify AI Agent code changes

> Let AI coding agents launch your mobile app with Revyl to verify their own changes

AI agents work in a verification loop: make a code change, start the app, and iterate on the feedback. Revyl lets agents launch your mobile app in the cloud and verify their changes.

## Prerequisites

* Revyl CLI installed and authenticated (`revyl auth login`)
* An AI Agent is installed (Cursor, Claude Code, Codex)

## Install Skills

Navigate to your project and initialize Revyl using the CLI:

```bash theme={null}
revyl init
```

Interactive `revyl init` asks which AI coding tool you use and installs the public skills for Cursor, Codex, or Claude Code automatically. See [Agent Skills](../integrations/skills) for more details.

Your AI Agent now has the skills necessary to use Revyl within the dev loop.

## Add an AGENTS.md file

By adding an AGENTS.md file, you can direct your AI Agent to use Revyl whenever a code change occurs to verify the changes.

Here is an example:

```markdown wrap theme={null}
# Agent Guidance
## Revyl Verification

When developing or changing a feature in this repo, use the Revyl dev loop to verify the behavior on a device before finishing.

- Read and follow the local `revyl-cli-dev-loop` skill guidance before running Revyl commands.
- Verify the user-visible outcome with device evidence, such as `revyl device screenshot`, `revyl device report --json`, or explicit interaction through `revyl device instruction`.
- Summarize Revyl verification in the final response: what path was exercised, what evidence was captured, and any issues or limitations. If Revyl cannot be run, state the concrete blocker and the fallback verification used.
```

## Add Pull Request Guidance

You can also add the Revyl session info to a Pull Request that gets opened so that you can review the recorded session, exact steps, network logs, and performance of the verification that was done.

Here is an example section to add to the AGENTS.md file:

````markdown wrap theme={null}
## Revyl Evidence in Pull Requests <a id="revyl-evidence-in-pull-requests" />

When opening or updating a PR for work where Revyl was run, include:

- A link to the Revyl report session, such as `https://app.revyl.ai/sessions/report?sessionId=<session-id>`.

There should be a body in the PR as such:

```markdown
## Revyl Verification

- Report session: https://app.revyl.ai/sessions/report?sessionId=<session-id>
```

````
