Argent
Lets your AI agent control, debug and profile iOS and Android apps, TVs and Electron apps from the terminal.
3.2k stars on GitHubby Software MansionLicense Apache-2.0Updated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add argent -- npx -y @swmansion/argent mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Open the app in the iOS simulator and tap the login button.
Record this checkout flow as an e2e test and replay it.
What it is
Argent gives your AI assistant direct control of iOS simulators, Android emulators and devices, TVs and Electron or Chromium apps. It can tap and swipe, record end-to-end tests, check visual regressions, profile performance and read logs and network calls. It also handles React Native builds.
What it can do
- Interact: tap, swipe, gestures, typing, hardware buttons, TV D-pad, mouse and keyboard
- E2E: record a path once and replay it as a test
- Visual regression: compare a baseline to a live capture
- Profiling with Hermes, React DevTools, Xcode Instruments and Perfetto
- Debugging: logs, network, JavaScript evaluation, native and React trees
- React Native: build and launch apps
When to use
- βΊWhen you want an agent to reproduce a bug in a mobile app.
- βΊWhen you need a repeatable smoke test of a user flow.
- βΊWhen you want to find why a screen is slow.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
mobile-automationLets your agent control an Android or iOS phone, emulator or simulator to open apps, tap, type, take screenshots and check what is on screen.appium-skillHelps your agent create automation scripts for Android and iOS mobile apps. Allows testing on real devices or emulators.control-cliBuilds a local test harness that drives an interactive command-line or terminal app, so you can reproduce bugs, check prompts and profile startup.Frequently asked questions
Is it free and open source?
The source code is under Apache 2.0. Some per-platform binaries are proprietary to Software Mansion and licensed only for use in this project.
Which platforms does it control?
iOS simulators, Android emulators and devices, Apple TV, Android TV, Fire TV and Electron or Chromium apps.
Does it collect data?
Telemetry is opt-out. Turn it off with argent telemetry disable.
How do I install it?
Run npx @swmansion/argent@latest init, or pnpm dlx with pnpm.
How do I see its tools?
Ask your assistant: What can Argent do?
Who makes it?
Software Mansion, a software agency and core React Native contributor.
If it does not work
- βΊCheck the Installation and Platforms pages in the Argent docs for your system.
- βΊMake sure a simulator, emulator or device is running before asking the agent to act.
- βΊRestart your editor or AI client after running init.
5 new skills a week. 1 minute to read.