And we have one more question about comparison. So how does the agent's autonomous exploration compare to a curated regression suite in terms of the types of bugs it finds? Does it really catch things that a human-written test would miss? Anything from your experience, Michal?
Yeah, so I think this is actually a question about dogfooding. When we talk about agents autonomously exploring our codebase, we want to give them some instructions and some freedom, but not too much. So, for example, in an agent device, we have a dogfooding skill, which you can essentially ask your agent to run dogfooding session with agent device and it will start to explore your application some random ways.
You can tell it to act like a certain kind of user, for example, like a Gen Z or millennial or whatever. And in my experience, these kinds of explorations are finding things that humans are not catching, like inconsistent text, especially in internationalized apps where some strings are not correctly translated or something that I found in one application was like a local promotion in some local store for some commerce shop.
So when accessing this one store, I was actually navigated to something different. An agent told me that this link was incorrect. It should point me to a store location, but I ended up in some totally different place. And it was like a time-specific promotion in that store, so it would only show for a week or something. And the way I like to run these is to write a good prompt with some extensive instructions on what to look for or what to break, basically, or try to break and run it every week or so as a bug hunting session.
And you can reward your agent with certain things for certain behavior or bug spawned, for example, so it can be more persisting. Or you can give it a goal if you're using a code code or codex harnesses, and you can use those easily even with your custom agent. So, for example, now AISDK7 supports using Cloud Code, Codex and some other harnesses so that you don't need to create your own with your own tool calls, etc. So it's pretty cool. I really recommend to just play with it.
So, as with anything with AI, it's very easy to start and then it takes a long time to just fiddle with little wording changes. Great thing is that you can offload this to AI if you're good at setting goals and guardrails around it. Thank you so much for such a detailed answer. I mean, I'm just thinking, how can we reward agents? What kind of reward do they prefer? Like more tokens, tastier tokens, something like that. Thank you so much, Michal. It was a great pleasure to watch your session and have this short conversation. Let's stay connected and let's stay connected everyone. Bye, Michal. Thank you. Have a good day.
Comments