# Argent

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

- Category: Agents & Automation / Computer & Browser Use
- Language: TypeScript
- Licence: Apache-2.0 (source); proprietary bundled binaries
- Repository: https://github.com/software-mansion/argent
- Website: https://argent.swmansion.com
- Canonical page: https://ai-tldr.dev/tools/argent/

## In short

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.

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.

1. 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`.

```bash
npx @swmansion/argent@latest init
```

2. 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.

```bash
npx @swmansion/argent@latest init --local
```

3. 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.

4. 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.

```bash
argent tools
argent enable harmonyos
argent telemetry disable
argent update
```

## 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
- 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
