Ansight captures what happens inside your iOS or Android development build while it is connected to a running host, whether an AI coding agent such as Codex, Claude Code or Cursor is driving it or a person is using it. You can then replay the session and check the evidence. The session replay shows the mobile app’s behaviour: touches, screens, logs, network requests, crashes, memory and frame rate. You review what the app did instead of repeating the test by hand.
Scope. Ansight is a development-time tool, not production user-session replay. Full runtime evidence exists only for a development build with the Ansight SDK installed and connected to a running host. The SDK is meant to be absent from production builds. (Without the SDK, external capture of a simulator or emulator gives a lighter session: screenshots, native logs and process telemetry. See capture modes.)
When is a session captured? Automatically, whenever the app is connected. Start the host with ansight host run --open, launch a development or QA build that has the SDK installed, and Ansight captures the session from the moment the app connects. It does not matter whether an agent or a person is using the app: the capture follows the connection, not the driver. There is no separate record switch for SDK sessions. When the app disconnects, the session stays available as a recorded capture (docs).
What does a real replay show?
The replay at the top of this page is a real Ansight capture from Red-Point, our 3D climbing guide app: a 42 minute 34 second iOS session recorded on 4 September 2026, with 90,699 log lines, 390 network requests and 547 UI tree snapshots. Scrub it and every panel moves to the same moment.
Try this in the player above:
- Open the Logs tab and look around 03:25. The map layer logs
Failed to create source / layer in PointAnnotationManager. - Read the next two and a half seconds. The app’s own client logs
Unable to download the gps_pathsandUnable to download the amenities, each with a 404 Not Found. - Open the Network tab. The amenities request is listed as a GET that returned 404 in 46 ms. Two earlier amenities requests, at 03:06:25 and 03:06:27, returned 404 as well.
- Click a log row. The timeline jumps to that line, and the phone shows the screenshot nearest to it.
- Toggle the telemetry channels. Memory and frame rate sit on the same timeline as the touches and screenshots.
Nothing in this capture records who was tapping. The player shows the same evidence whether an agent or a person produced the touches, and it is the view you open when an agent says a change is done. A screen recording of the same minute would show the screen but carry neither the log lines nor the 404s. The capture shows what the app did; whether those 404s are expected, and why the map layer failed, is for the reviewer to judge.
| You want to know | Where to look in the replay |
|---|---|
| Did the agent do what I asked? | Touches and the screenshot at each step |
| Did anything fail silently? | The Logs and Network tabs |
| Did the change make the app slower? | Memory and frame-rate channels |
| What state did the app end in? | The Artifacts tab and captured app state |
| How do I hand the run back to the agent? | Give it the session ID. It reads the same session through ansight session commands |
What does a replayed session contain?
A replayed session is a timeline of what happened in the app. The term for that record is mobile runtime evidence, and a session holds: touches, swipes and text input, the screens shown, a screenshot at each step, UI tree snapshots, logs, network requests, crashes, memory and frame rate, and custom app state. Which of these appear depends on your framework, the SDK packages you install and your configuration.
- Input: touches, swipes and inferred gestures
- Screens: screen views and a screenshot per step
- Structure: searchable UI tree snapshots with node properties
- Behaviour: logs, exceptions, lifecycle events and network requests
- Performance: memory, frame rate and other telemetry
- State: custom app state and artifacts you choose to capture
The player lines these up on one timeline. Scrub to a moment and compare what the screen showed with what the app logged and requested (Replay & Review).
What it does not contain. A session does not include your coding agent’s prompts, reasoning or code diff. Ansight captures the app, not the agent, so the same evidence is recorded whether the taps came from an agent, from you or from a teammate. If you delegate a run to Ansight’s own test agent (step 4 below covers how), the player can show that run’s trace as a separate item. That is Ansight’s agent, not your coding agent.
Screen recording vs full runtime evidence
| Screen recording | Full runtime evidence | |
|---|---|---|
| What is captured | Pixels | Screenshots, UI trees, touches, logs, network requests, crashes, memory, frame rate and app state on one timeline |
| What was tapped | Not captured | Touch locations and gestures |
| What the app was doing | Not captured | Logs, requests and lifecycle events |
| Performance | You can see jank | You can measure it: memory and frame-rate samples |
| Can you tell why it failed | Rarely. You see the symptom | Often. Compare the screen with the log, request and metrics at the same moment |
For some runs, such as workspace tests and ansight app execute (both described in step 4 below), Ansight also keeps an MP4 by default (opt out with --no-video), so you get the video as well as the evidence behind it.
How this differs from production user-session replay. Production user-session replay tools observe real users on released builds. Ansight observes development builds while you or your agent test them. It does not collect anything from your users.
How does AI agent session replay work?
- The agent drives the running app. Your coding agent runs Ansight CLI commands (such as
ansight ui tap,ansight ui swipeoransight app interact) against the app in a simulator, emulator or physical device. Any agent that can run a shell command works, and no MCP server is needed. The SDK inside the development build reports back to the CLI’s host. A person tapping through the same connected build is captured in the same way. - The session is captured. The SDK streams screenshots, UI trees, touches, logs, network activity and metrics to the host on your machine.
- You review it in the local player. Run
ansight session list, thenansight session serve <session-id> --open. Captures are stored on your machine by default, as ordinary files. - Optionally, the agent builds on past work. Two separate features do this:
- App Graph (beta) lets an agent follow routes through the app that were already mapped, instead of finding its way screen by screen. Opt in with
--app-graphonansight app execute; leave the flag off and App Graphs are never used. It needs you to sign in, and it only helps once a graph of your app’s routes has been mapped and published for it. The docs cover how an app is registered and a graph published. - Workspace tests turn a run into a repeatable test. A test is a plain-language scenario in your repository’s
ansight/folder that an agent runs and verifies through evidence, and you can extract a draft from a captured session in the player (workspace tests). Writing tests locally is free. Delegating runs to Ansight’s own test agent, including from CI, needs an Ansight Cloud account.
- App Graph (beta) lets an agent follow routes through the app that were already mapped, instead of finding its way screen by screen. Opt in with
Three ways teams use it
Review an agent’s change without re-testing by hand
Your agent says the checkout change is done. Don’t launch the app and tap through it yourself. Open the captured session, scrub to the last tap, and see whether the screen is right. Then read the logs for exceptions, the network panel for failed requests, and memory and frame rate for anything that crept up. If something looks off, annotate that moment and hand your agent the session ID so it inspects the same evidence (annotations).
Prove a bug fix, starting from a Sentry or PostHog session recording
Start from a Sentry or PostHog session recording of the failure. Re-drive it against your app with ansight replay sentry or ansight replay posthog (run ansight replay --help for the arguments). The agent replays the flow in a simulator, emulator or device, and the run is captured, so you can see whether the failure reproduces and what the app logged when it did. Fix it, run the same flow again, and keep the new session as the proof. Replay runs are AI-assisted and use your Ansight sign-in (release notes). The original recording stays in Sentry or PostHog. Ansight captures your development build.
A manager reviewing what was tested
A manager who is not on the developer’s machine has no way into its local captures. What they can open is a session someone chose to share: the developer signs in and runs ansight session share <session-id> to a team audience, or sends an exported archive. Until then, the capture stays on that machine.
Which platforms does it cover?
Ansight supports iOS, Android, React Native, Flutter, Capacitor, and .NET (.NET MAUI and .NET mobile), on simulators, emulators and physical devices. Physical devices connect with a one-time pairing QR code.
| Platform | What is covered | Setup |
|---|---|---|
| iOS | SwiftUI and UIKit | iOS SDK |
| Android | Jetpack Compose and Views | Android SDK |
| React Native | iOS and Android, including Expo development builds | React Native SDK |
| Flutter | iOS and Android | Flutter SDK |
| Capacitor | The Cordova-family bridge, currently targeting Capacitor 8 | Capacitor SDK |
| .NET | .NET MAUI (iOS, Android, Mac Catalyst) and .NET mobile | .NET SDK |
Last verified against the Ansight docs: 26 November 2026.
Local vs Ansight Cloud: where do captured sessions live?
Captures are stored on your machine and replayed in the local player by default. Ansight Cloud holds only sessions someone explicitly shares. Sharing uploads the raw capture unless sanitization is selected (--sanitize), and shared data is stored in Singapore.
- Local: capturing, reviewing in the player and annotating need no account. Captures are ordinary files, not an encrypted vault, so your operating system permissions and disk encryption protect them.
- Cloud: you choose the audience: team, any signed-in user, or public. Signed-in does not mean team-only, so pick the audience deliberately.
- Sanitizing: built-in PII matching and screenshot OCR can miss sensitive values, so review a sanitized copy before sharing.
- Region: a storage region does not necessarily limit AI processing, support access, relays, logs or backups to that region (privacy policy).
Details: Security, Data, Privacy and Analysis and pricing. Local tools are free.
FAQ
What mobile testing tools show a full session replay of what an AI agent did?
Ansight shows a replay of what the app did while it was connected, including when an AI coding agent drove it. You open the captured session in the local player and see touches, screens, UI trees, logs, network requests, crashes, memory and frame rate on one timeline. It does not show the agent’s prompts, reasoning or code diff, and it covers development builds, not production. Screen-recording-based test tools show pixels only.
What’s the difference between screen recording and full runtime evidence capture?
A screen recording shows pixels, so you see that something went wrong but not why. Full runtime evidence captures what the app was doing underneath: UI tree, touches, logs, network requests, crashes, memory, frame rate and app state, aligned to the same moments. That lets you, or your agent, trace a symptom to its cause in a development build.
How do I know if my AI coding agent actually broke something?
Open the captured session from the agent’s run and check the app, not the agent’s summary. Scrub through each step, compare the screen with logs, network requests, crashes, memory and frame rate, and look for what changed. Ansight shows what the app did while connected. It cannot tell you what the agent intended, and it covers development builds only.
Can I see a real example of an agent session replay?
Yes. The replay at the top of this page is a real Ansight capture from Red-Point, our 3D climbing guide app: 42 minutes 34 seconds on iOS, with 90,699 log lines, 390 network requests and 547 UI tree snapshots. You can scrub it, open the Logs and Network tabs, and see touches and screenshots on one timeline. An agent run is reviewed in the same view.
Capture your first agent session
Install the CLI, add the SDK to a development build, and let your agent drive the app. The quickstart takes you from install to a replayable session.
curl -fsSL https://www.ansight.ai/install.sh | bash
ansight host run --open
On Windows, use the installation guide.
Related: what mobile runtime evidence is, how to verify an AI coding agent’s changes in a mobile app, scripted flows vs runtime evidence, CLI and SDK docs, Ansight Cloud pricing and sharing, and bug reproduction and handoff.