
Claude Code Uses Omni
We're playing around with workflows to automate anything you can imagine in app with AI. Here we have Claude Code change the AI icon by navigating the core UI. Lots to do here, but would…
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
All righty. I have two demos today. Um the first one uh hopefully works. Um what I want to show off is more of a developer tool that I've been working on where Cloud Code can drive the app and then val verify its changes through screenshots. So what I've done is I've created this demo issue here. Then I want cloud code to fix and I want it to change blobby to be something else.
And I'm going to get some general instructions on how to do that. So let's ask Blobby to um fix this GitHub issue for me. And if everything goes correct, it's going to go and run this new pod agent really quick once it reviews the issue and learns what it has to do. Um, and that cloud code agent in just a second should open up a new browser.
So, yeah, it's saying this is a UI configuration task. I'm going to go launch the UI navigator. Um, which is actually, let me close this. Let me let it start it up. It's going to open up a new um Chrome dev tab tab and then it's actually going to log in to a specified user. Um, let's see what's going on here.
Okay, so it just just restarted it. It's going to go to the login page. It's going to log into a test user, but you could log in as any user you want to your local developer instance. Um, so you could, you know, change the permissions around on the test user or create new users and have uh cloud code login and verify behavior as different users with different permissions.
Um, it's going to take a second because it's going to have to go out to Firebase and get an authentication token to be able to log in. Uh, one of the downsides of this is it's not super fast. Um, but it does run in these uh like Chrome test tabs. So, it shouldn't interfere too much with what you're doing.
You can just let it run in the background in its test tab and then when it's done, it'll take screenshots and show you that it completed the work. So, it took a second, but it did successfully log in. And um the issue, if you recall, is to go and change the AI uh change blobby to be a koala.
Um and so now it's is able to look at the code and know that there's an AI settings page. It's going to then go to the settings, go to the AI settings. Um and as it's going, it'll take screenshots so it knows it's in the right spot. Um, and if hopefully if all goes right, it's going to end up getting to the branding tab in just a second.
Yep. So, it got to the branding tab. And in that GitHub issue from before, I had a a specific Koala GIF that I wanted to drop in. Um, and so hopefully it it also will grab the context from the GitHub issue and throw that in to the right spot in the branding. Looks like it's selected the box.
There it goes. as it drops it in. U I didn't I don't think I told it that it has to click save. So, we'll see if it's smart enough to figure out that for this to apply it needs to actually hit save. Looks like it got it. So, it saved it. And now we have our little koala friend here um doing a little bit of a roll.
And um and let's see if it decides that this is enough to verify that um it completed the task. I I think ideally I'd like to see it go. Yeah. So it decided to go to the chat page and just confirm that it it does actually um yeah apply in in the actual app and not just on the settings page.
So let's see. It looks like in the box here it said it just took a screenshot called it chat page with Koala. Um, and then hopefully in a second here it'll just drop out and say I've completed the task. I have the koala. Um, and uh, and I'm done. And if not, then I'll just cut it off.
Um, so we can move on. While this is happening, is there a world where we just give it full API access and can let it stage changes? Like, how do we do that in a way though that's not risky? like where it can sort of prepare to do things but not actually do things because you just hear these horror stories about like you know deleting the database or whatever.
Yeah. I mean I think that that comes down I mean I don't think we can ever guarantee that. Um I think the best way to do it would have the AI be able to um like come up with some sort of plan and then show that to the user and ask for very explicit confirmation and then rigidly follow that plan.
But even that's not necessarily guaranteed. Um, I know that Claude Code, their newer releases are starting to allow you to like provide specific um, instructions of things that definitely definitely should not do and it's doing a much better job of following that compared to other models. Um, but it's not a super satisfying answer there. Yeah, I think it's probably worth some thought is as to how it can hit APIs or provide cookbooks to hit APIs without actually giving it permission to hit APIs because like I I think that we do want a hard barrier there, but there are so many things that are reasonably valuable that we could ask it to go do like clean up content or model or manage users.
And I do think we want it doing all of those things. I just don't think that we want to give it unfettered API access either and and some customer I mean some customers will and and are actually that explicitly already too where and they there's you know like you know cognition's Devon for example too that has effectively like sort of browser very similar to this customers are using that today to do sort of broader administration we definitely need to think through how do we effectively AIify the app so that you know something like this could happen and do it in a relatively riskless way.
So like you know maybe it's staging changes that get approved or maybe it's you know sort of you know claud code style like access you know asking for you know destructive action permissions for it where you can review it or or stuff stuff along those lines but this is yeah this is definitely the to that end do we want like a staged API action or I I have no idea what I'm even saying let's say we wanted it to tag every single document in the system.
Yeah, like do you want essentially a two-level API that's like propose tag and then do tag or something like that? I don't know what is like normal for these sorts of things, but there's just so many of these use cases that are valuable. You you could definitely build it. I think sort of part of the value of having UI is you could have workflow associated with it.
I think the way that a lot of the AI tools do it is basically you can see a history of the actions they've taken. And so you could always reverse it, you know, so not not not as uh you know, secure, but uh there's there's at least some portions, you know, you you you'd see what it's doing at the very least.
Yeah. One one additional thought here is so this is an agent that I created in cloud code and I gave it some general instructions of like how to use certain features, but we could also give it certain skills. So you make a UI navigator agent and you give it skills and those skills are effectively those playbooks, those really strict playbooks.
like if you need to create a user, do X, Y, and Z. Like call these APIs. Um, and so what I ended up doing for the login flow is I didn't want it to use the UI to login. I ended up creating a little um script in here, like a TypeScript script, which does a bunch of different steps to login that's deterministic.
So it's like I know login is going to behave exactly the same every time. So you could theoretically create a skill to add users and that might call some APIs that are deterministic and and not going to mess things up too much. Um, so there's there's some configuration that we could explore. I have one more demo.