█

AI/TLDR

Buy me a coffee
Buy me a coffee

Argent

An MCP toolkit that lets a coding agent run, tap, debug and profile the app it just changed

Computer & Browser UseOpen source
Language
TypeScript
License
Apache-2.0 (source); proprietary bundled binaries
$npx @swmansion/argent@latest init
IN SHORT

What is Argent?

Argent is an open-source toolkit from Software Mansion, a software agency whose engineers are core React Native contributors, that gives an AI coding assistant direct control of a running app. It sits in the Computer & Browser Use category of the Agents & Automation tools and is open-source, written in TypeScript and licensed Apache-2.0 (source); proprietary bundled binaries.

Overview

Argent is an open-source toolkit from Software Mansion, a software agency whose engineers are core React Native contributors, that gives an AI coding assistant direct control of a running app. The agent can tap a button, swipe, type and press hardware keys, read logs and network traffic, inspect the React and native component trees, and record profiles — so instead of writing a change and hoping it works, it launches the app, checks the result and fixes what broke. Software Mansion introduced it on May 8, 2026, starting with the iOS Simulator.

An iOS simulator showing a photo detail screen beside a Cursor agent session in which the agent calls Argent's describe, gesture-tap and gesture-pinch tools to test the feature.
A coding agent testing a new photo-zoom feature on the iOS simulator through Argent's tap and pinch tools.Argent README ↗

Coverage has since widened to Android emulators and devices over adb, physical iPhones over USB, Apple TV, Android TV and Amazon Fire TV (driven with a D-pad rather than touch), Electron and Chromium apps over the Chrome DevTools Protocol, native Mac apps on macOS 14.4 or later, and experimental HarmonyOS support. Argent talks to the simulator directly rather than through an XCUITest runner, and each action returns an optimised screenshot so the agent sees what happened.

It plugs into the agent as an MCP server. `argent init` detects the editors you use — Claude Code, Cursor, VS Code, Zed, Gemini CLI, Codex CLI, opencode, Kiro, Devin Desktop and Hermes — registers the server for each and copies Argent's skills and rules into the workspace. Beyond one-off interaction it can record a path through the app as an end-to-end test and replay it deterministically, diff screens against a baseline for visual regressions, and profile with Hermes, React DevTools, Xcode Instruments and Perfetto. The source is Apache-2.0; a few bundled platform binaries are proprietary to Software Mansion and licensed only for use within the project.

What it does

  • Interaction across iOS simulators and iPhones, Android emulators and devices, Apple TV / Android TV / Fire TV, Electron and Chromium apps, and native Mac apps — touch, gestures, typing, hardware buttons, D-pad or mouse and keyboard
  • Debugging tools for the agent: device logs, network traffic (XMLHttpRequest, fetch and native requests), JavaScript evaluation, and the native and React component trees
  • Profiling with Hermes, React DevTools, Xcode Instruments and Perfetto to find slow renders, CPU hotspots and hangs, with React and native profiles cross-correlated
  • Record a path once as an end-to-end test and replay it deterministically as a bug repro or smoke test; OCR- and font-aware visual regression against a baseline
  • React Native projects build, launch and iterate with no extra setup
  • One-command setup that registers the MCP server in ten editors and agents, globally or pinned as a project dev dependency for the whole team

Getting started

Argent needs Node.js 22.18 or later (not 23.0–23.7). iOS and tvOS targets need macOS with Xcode; Android targets need the Android SDK platform tools (`adb`) and the emulator package. Everything below is from Argent's installation and CLI docs.

Run the setup wizard in your project

The wizard installs `@swmansion/argent` globally, detects your editor and registers the MCP server, and copies Argent's skills and rules into the workspace. In a pnpm project use `pnpm dlx` instead of `npx`.

bashbash
npx @swmansion/argent@latest init

Or pin it to the repository for your team

Local mode adds `@swmansion/argent` to `devDependencies`. Commit `package.json`, the lockfile, the generated MCP config (such as `.mcp.json` or `.cursor/mcp.json`), `.argent/install.json` and the skills and rules files; teammates then just run `npm install`. Add `--no-telemetry` to commit a telemetry opt-out as well.

bashbash
npx @swmansion/argent@latest init --local

Ask your agent to use it

With a simulator or emulator available, ask the assistant in plain language — for example to open the app, try a new feature and report what it sees. Asking "What can Argent do?" lists every tool it exposes.

Inspect and run tools from the CLI

The same tools are available from the terminal: `argent tools` lists them, `argent run` invokes one by name and exits with status 1 on failure, and `argent e2e` replays a recorded end-to-end flow by name or YAML path. Experimental platforms are switched on with feature flags.

bashbash
argent tools
argent enable harmonyos
argent telemetry disable
argent update

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Letting Claude Code or Cursor implement a React Native screen, then open it on the iOS simulator and Android emulator to confirm it works before you review
  • Reproducing a reported bug by having the agent drive the app, read the logs and network calls, and save the path as a replayable end-to-end test
A before-and-after table of React render metrics — hot commits, worst commit time, fiber renders and per-component render cost — with reductions between 25% and 88%.
Render metrics before and after fixes found with Argent's profiler, from Software Mansion's launch post.Software Mansion blog ↗
  • Hunting re-renders and slow commits with the React and native profilers, then verifying the fix with a second profile
  • Checking a TV app's focus navigation on Apple TV, Android TV or Fire TV with D-pad presses instead of touch

How Argent compares

Argent alongside other open-source computer & browser use tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
Browser Use★ 122kA Python library that lets agents control a real browser to read pages and complete tasks online from natural-language instructions.
Open Interpreter★ 69kA lightweight coding agent that runs code on your own computer to carry out tasks from natural-language requests.
Chrome DevTools MCP★ 59.9kThe Chrome team's MCP server that lets a coding agent control and inspect a live Chrome browser — performance traces, network requests, console messages and Puppeteer-backed automation.
agent-browser★ 54.8kVercel Labs' native Rust browser automation CLI for AI agents: accessibility-tree snapshots with element refs, a per-session CDP daemon, an MCP server and built-in agent skills.
UI-TARS Desktop★ 39.6kByteDance's multimodal agent stack and desktop app that controls a computer's graphical interface using vision-language models.
CloakBrowser★ 34.8kStealth Chromium build with source-level fingerprint patches that drops into Playwright or Puppeteer code, so agents and scrapers browse without tripping bot detection.
Cua★ 33.4kInfrastructure for computer-use agents, providing sandboxes and SDKs that let agents control full desktops on macOS, Linux, and Windows.
Argent★ 3.3kAn MCP toolkit that lets a coding agent run, tap, debug and profile the app it just changed