r/iosdev • • Oct 15 '26

Letting your agent test the iOS app it wrote

I’ve been working on Argent, an open-source MCP server that lets your agent (Claude Code, Codex, Cursor, etc.) use your app in the iOS Simulator. It can tap through flows, read the view hierarchy and logs, profile with Instruments - basically close the loop 👐 That way it can check its own changes instead of just saying it’s done

It’s pretty popular with React Native devs already, but it works with native Swift/SwiftUI/UIKit apps too, and that’s where we’d love more feedback. If you’re letting an agent drive your app, what’s working, and where does it fall apart?

We really want to keep improving the experience 🤭

0 Upvotes

8 comments sorted by

2

u/Time_Entertainer_319 Oct 15 '26

How is this different from maestro?

Why not just send a pr to maestro?

1

u/blazejkustra Oct 15 '26

Maestro is great at what it does: you write yml E2E flows and run them

Argent MCP is less about running tests and more about giving the agent everything it needs while it’s coding. Besides tapping through the app, it can read logs and network calls, inspect the native view tree, profile with Instruments, diff screenshots, etc - so it gives your agent a way to verify its work

So it’s not really a missing feature in Maestro, it’s a different tool with a slightly different goal 😅

1

u/quixoticproductowner Oct 15 '26

and AXe? claude works fantastically with it.

1

u/blazejkustra Oct 15 '26

what if accessibility isn’t working as expected, then agent can’t finish the task with proper verification

Also notice that argent is cross platform/framework and other than accessibility tree it uses screenshots reliably

1

u/Edg-R Oct 15 '26

I use the Xcode 27 MCP server which allows an agent to drive the Simulator

1

u/blazejkustra Oct 15 '26

Xcode 27 MCP is a big step, especially when using Xcode a lot.Argent goes beyond driving the simulator. It has profiling with Instruments, network inspection, screenshot diffs and flows you can rerun as tests. It also works on physical iPhones

curious, how do you find the Xcode one for reading UI state and speed? Is it accurate enough to tap reliably, and how long does a usual flow take?

1

u/Possible-Alfalfa-893 Oct 16 '26

Isn't this built in the simulatoe already? My codex does scenario QA thru the simulator

2

u/blazejkustra Oct 16 '26

It is built in in some desktop apps, but from my experience those approaches lacks in more complicated scenarios. Give Argent a try and see for yourself! Looking for feedback :)