One of the use cases that I haven't mentioned in the talk is using agent-device for agenting migrations. You start with a screenshot of a native app and you want to do an exact clone for the React Native app. We have Screenshot Defink, so we will take the screenshot, diff it, show you the differences between fonts, sizes, padding margins in a nice way, so your agent can have a little bit of feedback on what's changing and why.
Awesome. This next question, can agent-device replace traditional end-to-end testing tools, like Detox or Maestro? Yes, it can. It has a feature we call Replace. After each session completes, like all the videos I showed you in my talk, you can get the script. It's actually saving all its steps, and then next time, you don't have to do agent-device, I don't know, snapshot or do it with the agent. You can just do agent-device replay, put in your script, and boom, you have exact replay. The funny thing is, the good thing is that those replays are leaving some room for difference. It's not like tap this button and then go there. It gives some room for flexibility, that's why it often works across small changes. Yeah, that's amazing to hear, and basically at that point, you're not using tokens anymore, you basically have a spec. Yes, exactly. That's great.
Alright, this next question, for cross-app web project from a single codebase, can agent-device also validate the web part? Right now, it doesn't. Right now, you have to pull agent browser separately, however, we are receiving more and more requests to include agent browser or some kind of browser support anyway. So I think it will be done, and Michał is probably watching it, the maintainer and author of agent-device, so Michał, now the question is up, so we have to ship it. Amazing. Alright, next question. Are there any other cases besides using an agent-device for testing, such as creating bots? Yeah, I mean, one of our favorite use cases is for using agent-device to do some automations on device where you don't have API. There are a few interesting vision models and models made specifically for controlling device, I think a few of them are from ByteDance, so I think some people are using it this way, and you can definitely do it. Cool. Don't do anything malicious, though. Good reasons. Next question, does agent-device also support using real devices? Yes, I love all these questions because I'm all like, yes, yes, yes, affirmative. It does support real devices. Part of the reason is that we're using official Apple APIs for testing. They're not as quick as we would love them to be. However, they work across all the devices, so you can do it on a simulator, you can do it on a real device.
Comments