Tools we use
Argent: let your AI agent test the mobile app it just changed.
Argent gives a coding agent hands on the iOS simulator and the Android emulator, so it can tap through a change and show you a screenshot before you look.
In short
- Argent is a free toolkit from Software Mansion that lets an AI coding agent control, debug and profile iOS and Android apps.
- With Argent, a coding agent can tap, type, scroll and take screenshots in the iOS simulator and the Android emulator.
- Argent is set up with one command, npx @swmansion/argent@latest init, and connects to the editor through MCP.
- VMGM Software uses Argent on its own apps, Kidtime and Pouch Buddy, mostly to profile them: to make the app snappier and find re-renders that do not need to happen.
What is Argent?
Argent is a free toolkit from Software Mansion that lets an AI coding agent use a phone app the way a person would. The agent opens the app in the iOS simulator or the Android emulator, taps, types, scrolls and takes screenshots.
Without it, an agent writes mobile code and stops. Someone on the team has to open the app and check the change by hand. With Argent, the agent checks its own work before anyone looks.
What does Argent do?
- Drives the app. Tap, swipe, scroll, type and press hardware buttons on the iOS simulator, the Android emulator and real Android devices.
- Reads the screen. Screenshots, plus a list of what is on screen and where, so the agent taps the right thing and does not guess.
- Records and replays a flow. Walk through a flow once, then run the same steps again after every fix.
- Profiles the app. It finds slow screens, extra re-renders and memory leaks, and compares a fix against the run before it.
- Debugs React Native. It reads logs, inspects the component tree and reloads the app.
It also works on Apple TV, Android TV, Fire TV, and desktop apps built on Electron or Chromium.
Why use Argent?
An agent that cannot check its own change makes a person the checker. That person becomes the slow part of every mobile task.
With Argent the agent finishes the job: it makes the change, opens the app, walks through the screen and shows a screenshot of the result. You review something that has already been tried, not something that compiled.
How do you set up Argent?
Run this in your project. It installs Argent, finds your editor and connects the two:
npx @swmansion/argent@latest init
If you would rather add the MCP server by hand, install it once:
npm install -g @swmansion/argent
Then add it to your project's .mcp.json:
{
"mcpServers": {
"argent": {
"type": "stdio",
"command": "argent",
"args": ["mcp"]
}
}
}
You need Node.js 18 or later. The iOS simulator needs a Mac with Xcode. The
Android emulator needs adb.
How we use Argent
We use Argent on Kidtime and Pouch Buddy, two of our own mobile apps. Most of that use is profiling: making the app feel snappier and finding re-renders that do not need to happen.
- Profiling, to make the app snappier. The agent profiles a slow screen, finds what is taking the time, fixes the top one to three problems, then profiles it again. "Made it faster" with no measurement does not count.
- Finding re-renders that do not need to happen. The profiler shows which parts of a screen redraw and how often. The agent finds the ones that redraw when nothing they show has changed, and stops them.
- We record a flow once and replay it. The agent replays the same taps before and after a fix, so the two runs can be compared.
- Every screen change gets checked in the simulator. After the agent changes a screen, it opens the app, walks through the flow and takes a screenshot. Before and after shots use the same device and the same data, so the only difference is the change.
- The agent reads the screen before every tap. Our rule is that it never picks tap coordinates from a screenshot. It asks Argent what is on screen first, because a guessed tap lands in the wrong place.
Where to find Argent
Argent is made by Software Mansion, not by us. We are not paid to recommend it. Setup steps checked against Software Mansion’s docs on .
Frequently asked questions
- Is Argent free?
Yes. Expo’s documentation lists Argent as free to use. The source code is under the Apache 2.0 license, and a few of the binaries it ships with are owned by Software Mansion.
- Which AI coding tools does Argent work with?
Argent runs as an MCP server, and its setup command detects your editor. Expo’s documentation shows it with Claude Code and Codex. We use it with Claude Code.
- Does Argent only work with React Native?
No. It drives any app running in the simulator or emulator. React Native and Expo apps get extra tools, such as the profiler and the component tree.
- Does Argent work on Android?
Yes. It drives Android emulators and real Android devices. On iOS it drives the simulator, which needs a Mac with Xcode.
- Who should skip Argent?
A team with no mobile or desktop app. For a website, the browser tools built into Claude Code, Cursor and Codex already do this job.
We set up tools like Argent for engineering teams, along with the rules that make an agent use them well.
Talk to us about your team