Hey, welcome. Welcome to Beyond Done. We're going to get started here with this workshop. We've got a lot to pack in and we want to make sure that we have time for questions and getting everyone situated. So we're going to go ahead and get started.
So what we mean by Beyond Done, just to jump straight into it, you probably saw a tweet about this incident that happened a while back where an agent just started deleting production databases. And in nine seconds, everything was gone. That is what we want to help you prevent here today while still trusting your agents and not having to look at every line, or even look at every PR. This is where we think things are going and how do we get there? How do we make this a reality where instead of having that broken piece, we can have you calm, have everything work and let you to some degree trust your agents, but build that trust over time.
I would say also that it's not just about preventing errors, right? But this is also what we're going to look at today, foundational to achieving true scale with agents as well. So I'm Nick Nisi. I'm an engineering manager at WorkOS. I live in Omaha, Nebraska, and I've been there for about two years and I do a lot with agents. I haven't written code since July 30th, 2025. I know because that's the day I got back from Laracon and I saw PHP and I was like, never again. And here I am. And with me is my best friend, Zach. Hey, I'm Zach Prozer. I'm an engineer on the applied AI team at WorkOS. Super excited to be here with you all today in New York.
Now, we had this up before. This repo is your workbench. All of the slides are in this repo. You can get it from here. You can also view it at workos.cloud slash beyond dash done. I know that's a mouthful, but the next PR or the next QR code, I believe, will take you there. Sorry, talks.workos.cloud slash beyond done. And I just wanted to call it out because on that, I'll switch to it real quick. All of the slides are out there. There's also a page for the workshops, like the exercises that we're going to go through. And so for each piece of it, you can go through it. You can go through it on your own time. You can go through it later. This is a step-by-step guide to go through that. There's also a glossary covering all of the terms, big and small, something that you're familiar with, hopefully most that you're familiar with. But if there's any that you're not, you can talk in here. Or sorry, you can look at the glossary for those terms. There's also an ask anything button, and you can talk to a RAG that's trained on this slide deck and hopefully get your answers there. But you can also just talk to a human, us.
Indeed. Yeah, we'll leave this up as well. We find that a lot of folks want to ask questions and for whatever reason can't. So be sure to check that out and use that. Cool. Give it just another second. I see some cameras pointed at QR codes. Security would be so mad at us.
All right. So when we're thinking about being done with work, agents being done, there's lots of things that go into us trusting that. And easily the first one is just, is the code right? Is the code what I would have written? Did it generate a good PR? And I go through that like a normal code reviewer. But that takes a long time. And these agents can write code a lot faster than us. So we don't want to rely on that too much because it's just, there's a signal to noise ratio that starts coming into play. And we just have too much code to review. We're not writing any code anymore. And we're less familiar with that code. So we become further abstracted away from it. So we need to find other ways to do that. And there's plenty of ways that you can do that as well. There's using tools like browser tools like Playwright, for example, to say like, hey, I have this website and I submitted a form. The submit worked. I checked that and it showed me a success message. That's a great test to write. Not even really anything agentic about it, but it is something that agents can use to verify their work. And they can self-report that. And you can trust that oftentimes, but not all the time. And so that's really what we want to drive is, how do we make it so that we can actually trust these reports?
Absolutely. So everything that we've got here for you today in this workshop, as Nick mentioned, is backed by a repo and it is interactive. So feel free to take an opportunity to actually run this, to experiment with it, to take something back that you might use at work or at least experience in a different way. Yep. In this, so like if you just go into the repo like I'm doing and you do PNPM snack, if I can type snack up, this is why I have shortcuts for everything. P is my PNPM. It will pop up the browser and we can look at it and we can see this midnight snack club app that we made. And you can play with it right now and I can test this myself. Let me just put in my email address. I'll put in Zach at spamhim.com. Thanks buddy. Yep. And look at that success. It saved the email. The email is here. I can see it. If I had a test that was looking to confirm that the email went on the page, it worked great. So that's what these examples look like. You can see it as you're going. But if you reload that page just like this, nothing's there. So even though, oops, what did I do? Oh, switch back. If you reload that, it shows that nobody's here. I can't drive Chrome apparently. And that's because it did update, but it didn't persist that anywhere. So we didn't have any kind of verification. We were just checking UI, seeing, oh, did that actually do anything? And yes, it did do something to the UI, but we didn't check the other half. And so it was never persisted and we lost that email. So sorry, Zach, you're not signed up. It's okay with me. Yeah, I think this is a really critical point. So just show of hands who in this room is building with agents, just to start with the first question. Awesome. More than half of the room. How many folks are running multiple terminal tabs or multiple chat sessions or multiple agents? Everybody that put their hands up the first time. Right. And so this is what we're all experiencing, at least what I'm experiencing, what Nick's experiencing. If this is the 18th lane of work that you're driving today and you have diffracted attention to actually spend on it, these are the subtle bugs that will creep in because the agent's like, yeah, I did what you said. The code looks good. It builds, it runs, the test pass, and it's still wrong. And so what we're going to ask and explore in this workshop together is how do we actually fix this problem so that the agents that we're now all managing as herds of insane token machines can actually figure out what they need to do themselves and when they've made a mistake.
Yep. And you'll notice that we aren't really looking at the code for this. We're not really going to look at the code too much for this because, as I said, I saw PHP and I'm scared. So we don't look at code anymore. But all of this builds up to this great quote by a famous potato on X, her name's Lauren Tan. And she has this quote: if an agent can verify its own work, nothing can't verify. If an agent can't verify its own work, nothing else matters.
Yeah. Another way to say it is, and I think this is true in my experience and others as well, is that we're kind of converging on the point that verification now, especially as model capabilities advance rapidly, is one of the key foundational things to focus on, right? It's like reliability, verification and evals, especially as we're starting to see more and more harnesses come online that have the concept of RSI or recursive self-improvement baked into them. It feels like we're shifting to a world where we may all be maintaining multiple self-evolving code bases eventually. Right. And in that world, how do we set the eval foundation so that the agent actually knows what good looks like and can do those hill climbs on its own. And how are we going to give the agent the feedback it needs to understand that.
work, nothing else matters. Yeah. Another way to say it is that I think this is true in my experience and others as well. We're converging on the point that verification now, especially as model capabilities advance rapidly, is one of the key foundational things to focus on, right? It's like reliability, verification and evals, especially as we're starting to see more harnesses come online that have the concept of RSI or recursive self-improvement baked into them. It feels like we're shifting to a world where we may all be maintaining multiple self-evolving code bases eventually. Right. And in that world, how do we set the eval foundation so that the agent actually knows what good looks like and can do those hill climbs on its own. And how are we going to give the agent the feedback it needs to understand that it's failed something. Yeah. Until we can solve that, we're not going to trust these agents to really accelerate our work to its fullest extent. And so we need to solve that in various degrees and it's not just going from zero to one, but it's a gradient and getting us closer to one, to where we can fully trust these agents is the goal. And I'll also just share that, again, anecdotally, this is what we're all experiencing at work OS. We've got an applied AI team that's building a ton of different stuff for other teams and for ourselves. And it is just a night and day experience when you are iterating on a code base that has the foundational eval in place, a baseline that can be run and trusted. We'll get into some of the tips and tricks, but the ability to actually see that it did or did not do something correctly in the same way that we would as human developers. Right. So we're the metaphor of us all becoming agent harness managers is well trod. This is how we ensure that each one of them is actually doing correct work and we're not burning money and time essentially. Yeah. This is the equivalent of saying make no mistakes, right? If you want to have some verification in there, you can't just guess at what it needs to be. You need to give it clear, defined goals to get to and give it a way to observe and check those goals. If not, the agent's going to do something and it's going to spend some tokens and it might get to the end that you expect it to. But there's no guarantee of that. For every detail that you don't fill in in terms of an outcome and what you actually want to get to, it's just going to infer that or make something up. And that assumption that it makes may not be the assumptions that you make, or that you were expecting because you're a rational, logical human. And you were just not aligned on that yet. And so you need to have these systems in place to allow for it to observe, understand what you want, observe that, repair that, and then recheck that. Yeah. And I think, again, anecdotally, we're all finding that the tired way to do it is to have a giant massive PR and have one agent session that's running for three or four days and say, fix this, fix this, fix this, make it better. And what is working essentially perfectly for folks is decomposing tasks really cleanly, giving each task and agent in the prompt exactly what it needs to do to know that it is actually done and to verify the state of done. And those will just rip. I mean, we have people on our team that are 900 PRs a month, and no instance in improving KPIs for the software. So anecdotally, it is something that we all have to take a step back and think about. I'm not approaching this code base anymore in a traditional way. I'm almost gardening multiple code bases and letting them self evolve. Yeah.
And this is something that we build and we hold our own tools too, as well. This is how Zach and I stay productive at WorkOS and how we get our own work done. And we've each built kind of our own examples of this and our own ways of approaching this. And we really think that that's a good thing right now. It's too early to really calcify on anything. So experimentation is key, finding what sticks and then running with that. And one thing that we're both running with is the verification piece or deriving everything from that verification loop. Because, as it says in this quote here for mine, status comes from records, not model prose. So it's show me the receipts, show me the actual tangible proof that it actually did it. What I expect don't just tell me yeah, it passes. It looks good. Because there's nothing to back that up. I need actual screenshots, videos, test results, smoke tests. Any and all of the above to prove to me without me having to look at the code that it's actually doing what I want.
Because at the end of the day, I don't care about the code as much. I care about the result and what it's doing and what value it's delivering. And it can have bad code, honestly, and deliver that result pretty well. Or it could have really good code that doesn't give me that result at all. And I need to find the right balance in there, which is giving me the result that I want, not the code.
Yeah, indeed. I've been doing this as well. I built a tool that I call context or CTX. It started out as a cross agent harness memory layer because I'm rapidly experimenting, as all of us are, with ChatGPT, Claude, Copilot, et cetera. And I wanted them to all be able to write and read from memories and that started working. And then the more that I was running more multiple agents and, you know, an average day is like 18 or 30 terminal tabs. The more that I realized it might be an interesting experiment to try to centralize authority for verification in a web service. So the CTX is a simple web app. It runs on Cloudflare and it was vibe coded initially. It works. It started as memory. It was able to hand out secrets to agents without them ever seeing it or getting the credential and that worked too. And then now as an additional experiment, I'm creating verifiers. And the way that that works is the agents are assigned work, as we're all doing with prompts. They go off and do that work. They come back through the MCP connection to CTX and say, this is what I've completed. Am I done? Please verify it. So let's say in the example of one of the workflows that needs to verify that a PR was created correctly. And so that is going to run an evaluator on a known verifier. That could just be a simple CLI to start with as it is in my repo. And then that becomes a hardened piece that you can reuse again and again. It's going to the GitHub API and verifying that that PR truly does exist and is healthy and all the merge checks pass. And only then will it mark that node satisfied in the workflow. Otherwise it will redirect the agent and say, these are the things that are still failing. Right? And so again, an experiment, but this is how we've been trying to play around with this and see which patterns are going to stick and what works and whatnot. But it's also just a fun time to do that vibe coding because I require weird pixel art across all of my apps. So you can see in this case, there was a simple workflow and one of the verification gates requires that all pull requests were merged. And so that work is done by the centralized authority. It goes out and uses its verifier, checks the API or whatever the artifact is, and then finally delivers the status over here on the right sidebar. If you go even down and references the actual repository checked and the PR, right? So a simple example, but you could imagine having standardized verifiers in a library or in skills or in tooling that you share amongst your org. And this could be one of the ways that you start to build toward accelerating, you know, PRs and less and less human oversight.
Mm-hmm. And then a similar tool that I built is called Riker. This is more like an engineering focused crock bot or muse that's trying to be extremely flexible in how
There was a simple workflow and one of the verification gates is that it requires that all pull requests were merged. And so that work is done by the centralized authority. It goes out and uses its verifier, checks the API or whatever the artifact is, and then finally delivers the status over here on the right sidebar. If you go even down and reference the actual repository checked and the PR, right? So the simple example, but you could imagine having standardized verifiers in library or in skills or in tooling that you share amongst your org. And this could be one of the ways that you start to build toward accelerating PRs and less and less human oversight.
And then a similar tool that I built is called Riker. This is more like an engineering focused cron bot or muse that's trying to be extremely flexible in how you hand work to it. But then once you hand work to it, its job is to babysit it. And so I don't want to have to babysit all of the PRs that I'm bringing to fruition. At some point, there's a level of diminishing returns for me and my focus on the work that I'm doing, because I end up just babysitting the PR, fixing the tests, fixing the reviews, the review comments and things like that. So I want to be able to get the idea done of what we should be doing and how we can verify that that work is done. And then I can hand it off to Riker. It can go do the work of making sure that the reviewers are done, that when it fixes code from PR reviews, that it's still matching our overall goal of working software in some way. And then it can just verify that and alert me back when it needs me instead of me having to babysit it.
And so with that, it just builds a check, it figures out what tools it needs to run. It will run them, verify that they all pass. It'll keep that evidence and show it to me in different ways, and then decide when to stop. So if it can verify yes, it was working, we've now fixed this bug, for example, we put them together and it works. So it's really just keeping me out of having to be in the minutia of shipping the final 10%, and just focusing on where I'm valuable as a human, which is why we're doing the work and how we're, and to an extent how we're doing it.
Okay. So maybe just as a mental experiment or a thought experiment, if you will, let's just have a show of hands, or feel free to shout out, how would we start to think as a human developer of verifying a web app, maybe in the before times before an LLM. Yeah. What are things that you would do to verify? And we'll throw some easy ones up here to get it started. So refresh the page. Is the application still visible? Right. What's that? Absolutely. Yep. Network tab. See if it's healthy, right. What are the response codes I'm getting back from the API that I expected based on what I sent it? Yep. Absolutely. Local host or local storage, checking persistence in some way, console logs, things like that network, as you said, and reading what's actually on the page, the contents of the page actually. Interacting with it. Right. And the reason we're saying this is, this is really to set up the transition from we were the human developers doing this all the time. This was part of our core responsibility when we're hand chiseling code, if you will. And then what is the delta between doing this and then in the early stages of LLM time saying, here's three paragraphs of text, go execute these instructions. The delta between those two things is the agent's ability to verify that it actually did what you asked it to do in a real application. And that is changes did not break anything. Right. Otherwise you're just getting the confabulations that LLMs are designed to give you because they're trying to process the text. They're trying to make you happy. Your agent can't do any of this just in a terminal alone. It needs tools to do that. Fortunately tools are very easy to add to agents now. And we just have to tell them how to use it or tell them specifically what we're trying to prove. When you do that, you don't want it to be just a paragraph of like, hey, do this very always verify the change in a browser, whatever that means. That's pretty vague. Remember to reload and check. That's a little bit more specific. Check that the data persists, look at the console for errors, getting a little more specific, but that's a lot to put in there and you can certainly do that. That's what a lot of skills do. That's what a lot of just saved prompts do. But if you forget anything or things change, that can leave it up to a lot of interpretation.
One thing that might be better is to have a script that can prove it out in different ways. So that you can just run that over and over, and it's doing more of a deterministic check across a number of things. And then it can feed that output back into the agent and it knows exactly what was wrong and how to fix it quickly. And it just closes that loop so that it's a much faster, and the agent can just spin that, run it again, check, verify, run again, and just do that over and over until there's no more errors.
It's also uniform if you think about it, right? We know that LLMs are not deterministic. So even giving 30 agents the exact same prompt, you have a potential for variance in your outcomes. And pinning it down to a single command that is backed by actual bash commands and bash calls, right? That's significantly more deterministic. And anecdotally, the folks like Lauren Tan and others that are achieving thousands of PRs ostensibly a month and building ambitious products that were not possible to build in that time before have mentioned that this is the first thing that they concentrated on that actually unlocked the velocity, right? So if your specific web app, for example, does not already have a bespoke CLI that allows any agent to fully flex the functionality that you care about verifying, then you're going to have a much rougher time and an unpaved path if you're using prompts alone, compared to actually giving each agent the ability to say, yes, I actually built that feature. It is actually performant. It didn't cause any errors and the application looks correct.
So for this workshop, we made a little tool, we've been running it a couple of times, but it's called snack. And you can just run it with PNPM snack in that repo. It's not meant to be a reusable tool, but just a template for how you could set up this specific for the applications that you're working on. And then use that as a way to tie into the LLMs that are actually working on that application with you. And so snack can do a couple of things. It can manage the health of the application. It can bring it up. It can take it down. It can run a doctor command to see, is it actually healthy, is the database running, does it have network connection, et cetera? That quick check that it can do. Then it has drives. So you can tell it to join. Remember this is our midnight snack waitlist. So it can join the waitlist. It can reload the page. It can reset all of the data. So it can find it. You can have it look up things. So take a snapshot, look at the network storage, look at console logs, look at local storage, screenshot it, run evals, all of the above. And then finally, it can prove it in two ways. It can actually run an approve command where it's checking for deterministic output of that and a judge, which is using a system one model to get an idea of whether we're going in the right direction without it necessarily matching one-to-one, just to fully develop this idea. When you do something like this in a repo that you haven't already had something like this before, the velocity gains that you unlock are not solely for you, right? It's for everyone else on your team that then comes along and is also able to issue significantly
Look up things. So take a snapshot, look at the network storage, look at console logs. Look at local storage, screenshot it, run evals, all of the above. And then finally, it can prove it in two ways. It can actually run approve command where it's checking for deterministic output of that and a judge, which is using a system one model to get an idea of whether we're going in the right direction without it necessarily matching one-to-one just to fully develop this idea. When you do something like this in a repo that you haven't already had something like this before, the velocity gains that you unlock are not solely for you, right? It's for everyone else on your team that then comes along and is also able to issue significantly more PRs significantly faster and significantly safer, right? More safely so that, you know, everybody on the team actually benefits. And again, that's why we keep harping on this being a foundational concept now. Yeah. And if you think about it, that's a really big piece of. It might even be more important than your software, than the actual application is the way that you verify it, the way that you test it, the way that you prove that it works, because that is what you could use potentially like a lot of people are doing and converting to rust. You could take your app, like the bun team did converted to rust, go typescript converted to go, not necessarily with the same level of LLM help, but they did use LLMs to help with that. And then I think Theo just last week converted it to rust again. So when you want that, if you have all of those verifiers in place, then your source code doesn't matter as much. You can write it again and prove that it works. Keep going. Absolutely. And so these tools give your agents their eyes, or if you think about it, the tools that your agent use give it the body. The LLM is the brain. And then the way that it reaches out and interacts physically, virtually on your computer is through these tools. And so things like join is actually having it run and do things. And then it can check and see, did I, did that actually succeed in some way? Check storage, run, reload, snapshot, et cetera. And so let's just run a couple of these and see P snack up that brought up our browser. And then I'll open up another browser or another terminal too many terminals and run P snack snapshot. And that gives us a snapshot of the page in as Jason that we can see if I put Zach at Zach dot Zach, and add that to the page. Hopefully we'll see some Zach's in there. There we go. So that's a way that we can verify. We can also do screenshot to make it a little easier. That should pop up a screenshot.
And yeah, so that gave us the ability to, for example, not just pass this to the LLM and have it do interpretation on it, but proving back to us, that's the end goal, right? Is proving back to the human being able to take screenshots, record videos, put those on the pull request. You can do that with the GH CLI now, from debugging tools, where's the actual bottleneck don't guess and you know, spin your wheels for three hours, actually figure out which part was causing the render to be slow. Yeah. So the real key here is that there's no, it's not just code that you can look at to interpret whether this application is running correctly, but you can build tools that will help you prove to you that it's working correctly without you having to read the code at all. Because this is all we care about. Is this what a user sees? Is it correctly rendering in this browser at this width with dark mode, with light mode, et cetera. And you can run infinite tests on that and run them over and over in a loop, which as Zach said, unlocks your whole team to move faster because you've given the agent the ability to run those checks itself as well.
So if we run this, if we ran it just like this, where we ran the doctor, and then we add Ada at example dot test, and then we check the storage, it's there. We run, if we check the storage, it's not there. We would see local storage is empty. And if we run reload and then snapshot, we would verify that it is in fact empty. So this is a way that the tool itself could run in a loop could check all of these things and yes, confirm with it before it even gets back to us. Oh, I see that we're not actually persisting this. I forgot to do that part. And the agent can just move on from there. Real quick, we wanted to stop and take a few questions if there are any.
Yes, sir. Yeah. So the question is, are we using models to write JSON to then help us to make our code deterministic, to bring that back? The answer for me is yes. I'm using that, I'm running it and then I use unit tests around that to verify in different ways, catch edge cases, and then verify that the code is a real interpretation or real representation of what I'm expecting to get back from a system one model, and use that to prove that I'm on the right track, but then have, keep those as well to kind of have another check to make sure that it doesn't drift over time or things change.
The general process that we're talking about. Yeah. So when what I'm talking about, at least on our team, we build a ton of applications that are internal tooling. We have some customer facing applications as well. They tend to be TypeScript and they tend to be deployed to Cloudflare. So they're full stack applications. It works perfectly. You could even have evals that are focused on the backend or database operations, right? You could get as granular as you want with it. But it's absolutely, yeah, it works full stack. And I expect that the way that we're all going to continue interfacing with software in the future is just going to be kind of the gardeners making sure that they're evolving correctly.
Yeah. That's why we're not giving out a tool because we couldn't give you a tool at this time that works generically for every single application that everyone in this room is working on. You kind of have to build up the tools that fit the app that you're working on and then give that to the models and just make sure that they know how to run them well. I would also say your evals, what you actually need or care about as a team or company or business are going to wildly differ from, you know, if you're in the interior design space versus some other place where speed is the only thing that matters. I think you're going to have wildly different evals and there's a value to building those up with your team.
Yeah. And there's lots of different ways to get the data to the model in different ways for, so that it can interpret it and it can keep up. And that's a huge piece of keeping the model in the loop as to what's going on. The amp team has a really great post on it. I think it's called, I can't remember the post, but I'll get it out there. I think it's called loop driven develop. No, I can't remember. But what they, in the example, they show a canvas with a circle and a ball bouncing inside of this circle. And then there's a little slit where the ball, if it hits just right, it can fall out of the circle. And then the game, the game is over. And the whole idea of that is making things feedback loopable. That's what it is. Where, you know, the model can't actually see the running canvas and where things are going. But if you, as a very contrived example, if you just print out the coordinates of that ball at every point and you see a bug where, you know, once it gets to this specific point, it jumps to the other side of the screen. Well, if it's moving more than one pixel at a time, per loop, something is wrong potentially. And so there's a bug in there. If you can surface
they show a canvas with a circle and a ball bouncing inside of this circle. And then there's a little slit where the ball, if it hits just right, it can fall out of the circle. And then the game is over. The whole idea of that is making things feedback loopable. That's what it is. Where the model can't actually see the running canvas and where things are going. But if you, as a very contrived example, if you just print out the coordinates of that ball at every point and you see a bug where once it gets to this specific point, it jumps to the other side of the screen. Well, if it's moving more than one pixel at a time per loop, something is wrong potentially. And so there's a bug in there. If you can surface that to the model, then it can help you debug it where it doesn't actually have eyes to see the canvas and see the ball not behaving well with physics. So, and also once you do that, you're also then free to spin up 30 different variants of software that are speaking to that evil and then pick the one that you want.
So that's the other thing that unlocks, right. It's really foundational for just going. And especially if we expect agents to improve or models to improve, tokens to get cheaper potentially, then you could imagine that we're all going to be coming in on Monday and saying I would like to see 35 versions of this new feature or application here and pick one. And so how do we actually run or create that? Well, in this case, we can't really prove it for everything universally. It really has to be something that's unique to your application. And so for our midnight snack page, this is what the proof command might look like, where it's basically using a tool like Playwright to check that an email was actually saved when it gets on the wait list. So we can check that it doesn't have any emails on the wait list. Then we can fill in an email on the next line and then we can get the button and click it, the join wait list button. And then we can expect that the status element on the page has wait listed in there. And then check the inner text of that to see if our email address is in there. So that's one simple way to do it. Very easy. If you've ever written an end-to-end test with Playwright or React testing library, any of those, you've definitely used tools like this. You can just give them back to the model and to your agent and they can run them, give it to them as a tool and they can prove it out themselves. And you've made this reproducible bit of evidence that then you can use in this. Next time you use it, next time that page changes, it can run it again and verify that nothing broke. It acts as a regression and keeps everyone on the team moving forward.
One caution though: a successful screenshot isn't proof. Make sure that it's actually showing the state that you expect it to be in, that it actually ran the commands to get to that state, to actually be in there because otherwise it might just be another lie. You're seeing a screenshot on the PR and thinking, oh yeah, this is correct, but it might be causing different side effects. It might have taken a different path. That's not actually possible within the UI. So you want to make sure that it actually runs start to finish to check that.
And so once you build these loops that are durable, reliable, repeatable, uniform, the value of what you get or the benefit, the main benefit is that a failure starts to drive future work. Right? So if in one loop the agent fails, you're busy talking to somebody at work or you're starting at another task, that agent can determine on its own: this is not quite correct. Let me go take another stab at it. Let me now run the command verify again. Okay, now we're good. If you think about what that means at scale, that a single PR or a single lane of work, if you will, and an agent self-heals, self-corrects, figures it out on its own, you're not coming back to that particular PR at the end of the day and being like, oh, I still have to get this all the way through. And if you just multiply that out, that's really where we just say this is foundational for speed and velocity.
And how many of you write good error messages? Show of hands. Yeah, nobody knows. We already know. Sir, what's your message? I got a hand. There you go. Yeah, solid. Well, you should. I think they're more important than ever because when your code throws an error, guess what can interpret and run with that error really well? An agent. So if you make it so that your failure is explicit about why it failed and give as much detail as possible about how it got into that state, then your agent can just self-heal from that. So it's very easy, very worthwhile to do that.
And so this is a concept that Nick and I talk about, right? And it sounds like we're being, in some ways, we're trying to wrap determinism around LLMs. But we actually don't want to do that. And that's also something to the spirit of what the AMP team is talking about. The agents are intelligent. They're capable. We want them to be creative actually, because oftentimes if they have the right constraints and then oftentimes constraints can equal freedom, right? In a way, then they will come up with creative solutions and actually solve what you said. That's why you give them the outcome. That's why Nick's project that he's experimenting with is outcome-driven development. So it's not about being overly prescriptive in how the agent achieves things, that can actually lead to lower performance in some cases. It's more about giving it the map and saying, you must get here. You'll know you're here when this command returns this. You don't necessarily have to prescribe how it gets there though.
And this is true, more and more true every single day with the frontier models: Fable, Astra, Sol 6.1, Opus 5.5. They're all really good at being creative. The way I describe that is if you give them "this is where I want to get to" and don't necessarily tell them the path that they need to take, they might wander and make sure that they catch more edge cases, they might figure something out or ask you a question that unlocks something. But if you're just like, you have to get here and then here and then here, they may not sway from that. And you want them to sway a little bit, but get to the right end goal. And like I said, this is something that we've only come around to really appreciating in the latest batch of frontier models, where it's really becoming possible. So going forward, it's going to just get better.
So when it's going, you want to get into the typical TDD, red-green-refactor loop with your agent. You've heard about loops at every one of these AIE events and it's no different here, but you can use that within the verification piece itself. Verify this, reproduce it, show me, fix it, and then show me the proof of that. And how are you going to show me the proof? That's just as important as the fix that's going to go in, because that's what's going to leave you alone and allow you to trust the model to actually do the work. And then when it says, hey, I'm done, you know that it's done because it's proved it to you in some way. Absolutely.
So in this example, you can run snack doctor. Let's just go ahead and run that real quick. P snack doctor. Okay. And so this ran and it's showing us a bunch of checks that it did. So it's checking that we have Node, that Chromium's installed, that our session exists, that it's actually running and that it's successfully built. So that's what we're running as a... going to show me the proof? That's just as important as the fix that's going to go in, because that's what's going to leave you alone and allow you to trust the model to actually do the work. And then when it says, "Hey, I'm done," you know that it's done because it's proved it to you in some way. Absolutely.
So in this example, you can run snack doctor. Let's just go ahead and run that real quick. P snack doctor. Okay. And so this ran and it's showing us a bunch of checks that it did. So it's checking that we have node, that chromium's installed, that our session exists, that it's actually running and that it's successfully built. So that's what we're running as a quick doctor check, just a bunch of different things. So then we run the next command snack join ADA at example.test. Sorry, we don't type anymore. Okay. Give us the result back snack storage. Storage is empty. It didn't actually put ADA in there.
So this is the point at which in the real world, your agent has gotten the value out of this entire system because at this moment your agent realizes I am not done and I'm not going to drop this work on the floor. Yep. And if you reload it, do the same thing one more time. Boom. We have now given our app eyes. It can see this, it can run these, it can make sense and change the world of the application, the midnight snack application and see the results of that and then be able to interpret what happened from there. So you can try that. If we apply the persistence fix to it and add honest copy to it, then we can run the proof. Let's run that.
And that kicked off a browser and it failed. I didn't actually run the test, but if we had run the fix, it would show that.
Okay. One of the things that we're thinking about a lot lately and talking about and starting to roll out into more applications is this concept of receipts. You can take a ticket, like a health ticket system, where there's a certain performance, the way that a human would answer a ticket and consider it done well as an excellent customer response or service. And then what does the, preserving that in some way, for example, right? Why do we want to do that? There's a ton of reasons and we'll get into some of them, but again, if you think about if it seems that in some way many folks are heading towards running RSI harnesses and self evolving code bases, everything that we do today, everything that your agent does today, every run all day long, that is very valuable data.
It's very valuable data right now because you can feed it into LMs and get fixes that you need. It's incredibly valuable data in the future as tooling improves and it gets easier and easier to set up RSI loops because then you've got a data set of exactly how your system performed that you can create very comprehensive evals for and have agents hill climb on, which means loop and see their performance and then continue going until they get better and better and better. Right. Yep. And at that point, they're able to pass on their own using that evidence from the previous runs.
So now, if we fix that code, it now persists, but it can also lie. So after we reload the page, it could say wait listed. But what the screenshot might actually say is you're in, your seat is confirmed. Those don't exactly match up. And so that might be a failure right there because they don't exactly match. So this is getting away from the static testing piece of it. How do we prove that it worked without having to be very tightly coupled to the actual text on the screen, for a very contrived example.
So if we just run, you know, P snack judge should run that and it failed. Because even though it worked and it says that we're in, Jev did not, or the model did not see that. And it's because the confirmation text breaks the contract. It's not exactly one-to-one. So how do we fix that without adding a lot of tight coupling to everything that we're doing? The answer is the system one models, which we'll get into here.
Yeah, absolutely. So just to introduce it for anyone that hasn't heard of it before, the concept of system one, system two comes from psychology actually. It's a useful model to think about how the human brain works and how we think. So system one is super fast decisions. It's autonomous, someone swerved at me while I'm driving and I just corrected without even thinking about it, right? So I'm about to lose my balance and I corrected it. And then system two is I need to figure out what I'm going to do with my life. So I'm going to go book an Airbnb and think about it for three days. So applied to the world of LMs now, we've got Jev and then immediately after we've got Clef from Cloudflare, two days later, that's even faster. And so there's a really exciting time to think about all the ways that we can combine these tools together to make the new primitives that we're going to continue to see in evolving AI architectures.
Yeah. To put it another way, that light right over there. If I said, what color is that projecting? Quickly, you would say yellow. That's system one thinking, right? You just know the color. If I said, why is it projecting yellow? Well, now we're thinking. We could go down a physics of why the light emits yellow. Why are we here? And that's how we got to really what we want to talk to you about today.
So in this, we've got another game that we can play within the snack. We have saboteur and a detective. So in this, the saboteur will pick a snack, it'll put a secret bug in there, randomly putting a bug in there. We don't know which, it'll just be random. And then you, the detective, find it with snack alone and then prove what that is, name the bug and give proof that you found it. So this is something that you can do if you've pulled down the website or pulled down the repo. You can just run PNPM snack up dash dash bug random and let it run and see if you can find it. So let's try that. We'll just give it some time to go. What was it?
Dash dash bug. Oh, it's already running. Let me kill that. Kill the right one. Okay. So in this, it ran, it's got the app URL it's running. It's not headless. So we can see it. The bug says hidden until you stop up. Yeah. Right. Leave this running in another terminal run PNPM snack doctor. So let's run that. All right. So that ran the whole thing and we can see nodes there, Chrome's there. It's got a session. The proof here, the last receipt says fail, but the source is now, that proof is for code that no longer exists. So it wasn't able to prove that that was a previous run. Let's run it again. Same thing. Can anyone tell me what the bug is? Any ideas? Wrong email.
Yep. Exactly. What's wrong? I think it was running at six, two, one, seven, four. No, that was right. Let me try it one more time. We got less than a minute. For that one. Yeah, you do. The tools make it optional though. So you can run through all the exercises if you don't have it and it'll just go. But it's also a good opportunity to experiment with one if you do. Yeah. They're pretty cheap calls. They give you $5 for free when you sign up and I think that'll last you like three years. Yeah. All right. So, yeah, go ahead. Go ahead. Yeah. Same thing. Can anyone tell me what the bug is? Any ideas? Wrong email. Yep. Exactly. What's wrong?
I think it was running at six, two, one, seven, four. No, that was right. Let me try it one more time. We got less than a minute. For that one. Yeah, you do. The tools make it optional though. So you can run through all the exercises if you don't have it and it'll just go. It's also a good opportunity to experiment with one if you do. Yeah. They're pretty cheap calls. They give you $5 for free when you sign up and I think that'll last you three years. Yeah. All right. So yeah, go ahead. Go ahead. Yeah. So yeah, we ran it a couple of times. I think there was some problem with my output. I'll debug that.
It's funny. I need some verification tests around my verification, my contrived verification examples. But the outcomes that could come up are that it named the bug with output, said it works but it didn't, said it works but it did, blamed a bug that wasn't there, and then had no, it was the right bug or no evidence. Right. And this is just getting back to that point of a contrived example, of course, but your team might score differently or have different criteria that you're looking at. This is super flexible. The most important thing to do is to start and to create one, create an eval baseline and to use it consistently and to evolve it together as a team.
And then get to the point where your changes and your PRs automatically flex that eval so that you can get to the point where if changes are safe to land or if they're improving things or if they're making things worse or if they're not changing things at all. Yep. And every time it runs and it misses, that's a new line that can go in the map. So it can give us ideas of the steps that we're getting there, why we're getting there and every time it fails, it's getting us one step closer because we can fix that. So the first time is memory only. It's not storing anywhere but in memory. We're putting in a wrong email address. We've lost our confirmation.
Every time we can prove that we've caught that and then we don't run into that again. But then the overpromised one, the screenshot or the judge running, can tell us that it actually did pass when it didn't. Same thing with console error. There might not be anything in the console, but it's in the receipt or it might not be, it might be getting caught before it gets to the console. Yeah. Anything like that. Or it could just be none. There's nothing to find. Everything works. And that's a real answer as well.
Yeah, if you run the doctor kind of like what we were doing, it was showing this where it was showing the previous examples. It's showing proof that no longer exists. That's because your code might've changed quite a bit between yesterday and today. It might be different circumstances, a famous date bug, for example, it might be a number of different things. So we want to build the tools in such a way that they're flexible enough to not get caught by issues like this. This is all going back to basic unit testing examples. But bringing that deterministic check to the models in a way that they can self heal and self improve from there. Absolutely.
Okay. Okay. So this again, to tie it back to what we used to do as human developers, right? What we used to be able to see, how we would flex the application, how we would check everything. That's really what we've been talking about and moving it into code. So by moving it into code and making it available in a deterministic CLI, then we can get to the same path and the same experience that we would flex as developers in Chrome trying to fix something late at night. And that's really what unlocks the speed and the evolution and the ability to scale up the amount of code that you were delivering and to do that in a more safe way.
Again, if you have a web app and you're not already, you don't already have a custom verifier CLI, that's one of the highest leverage things you could start with for your code base, the foundational eval as well, that shows what good looks like in your application. And then also giving your agents the ability to see all aspects of performance and networking and traffic and rendering, et cetera. And so giving it Chrome DevTools, if you're in the web app land, if you're shipping native clients or shipping iOS or OSX apps, then there's an alternative, projects and more coming out every day that you're then going to attach to there.
But the common foundation here across all of them is that you need to give your agent the ability to see absolutely everything that you would normally see as a developer. Yeah. The more that you can give it, the more arms or eyes that you can give it, the more it's going to be able to take over from you. And then you just have to give it the intuition about when to use those, how to use those. Think about the way that you decide, okay, if this bug came in, how would I reproduce this?
Think about that. And if you can break it down and this is dependent on your application and the type of code that you're writing, you can do that in a way where it can think, oh, for us, it's a lot of sign on things. Is it properly setting a cookie? Is it setting an expiration in that? All of that. Yeah. In the job, right? You can go again, this is applicable to every field industry that you've got software for. But it's really just all about, hey, that world where it made sense for us all to hand chisel code all the time is at least evolving or at least changing rapidly.
What are the foundational, what are the same system fundamentals that we bring to this now so that we can accelerate software development? Yep. So yeah, doing expensive call stacks. But the important thing is that getting that output, making sure that it's giving you detailed output about what happened, the state of it, all of that so that it can be audited by the application, by the model. And then you can run it again. You can fix it, run it again and verify that those changes actually took hold and that there's no longer an issue. Yeah. And again, can't over-emphasize.
You can exercise the value of keeping receipts. So if you have runs, it can be the entire user journey. Let's say it's an e-commerce app. It's when they log in, they hit the page. What happened? What was their flow? Did they see an error at all? Did they see seven seconds of time to see your catalog come into view? Were they able to put something in their cart? Was their cart abandonment? And so save that all now because every single one of those runs and receipts can be fed to LLMs or you can even set up a system that's running all night long and is looking for the latest receipts being produced and is aggregating them and saying, well, today we saw eight failures in the caching module. So I'm obviously going to issue a PR tonight to fix that properly. And then, oh, I have the tools I need to prove in this PR that the issue I was trying to solve has been fixed. And then the recommendations that we're seeing from folks too that are achieving super high scale PR shipping without errors. They're also able to add the stuff that is for us as humans in our oversight.
Latest receipts being produced and is aggregating them and saying, well, today we saw eight failures in the caching module. So I'm obviously going to issue a PR tonight to fix that properly. And then, I have the tools I need to prove in this PR that the issue I was trying to solve has been fixed. And then the recommendations that we're seeing from folks that are achieving super high scale PR shipping without errors. They're able to add the stuff that is for us as humans in our oversight. Still. So not just screenshots of the feature, but a recording of, I walked through the app this way, this was my flow. This is what I experienced. These were the states and I got to the goal so that if I'm waking up and trying to rip through 15 important PRs in the first thing in the morning, I can first start watching that and make sure that, okay, it actually got to the end and worked. Then I can start looking at code if it's something that I'm actually going to have human review. And again, all of that I think is going to be immensely valuable as we continue to see evolve self evolving tooling really. And think about what that means though, because when we get to the point where self evolving tooling is just the default and people are using it, there will be a specific advantage for folks that have preserved clean data sets of things that they can say, this is what we are trying to get to in this application. And we want you to get all the way there and rapidly improve it. Right. If you're not sitting on a mountain of that and your competitors are, and they have similar apps, they're going to be able to go significantly faster in their development cycle.
Yep. And this is just building up that trust so that we can continue to improve upon our app as we go. But we have these checks for everything that came before it. So we've got unit tests, we've got evals, we've got smoke tests, we've got whatever our application needs. And we've got a way for the model to be able to interpret and run those and improve them in such a way that if we add new features in, we can run all of the previous ones and make sure that we didn't actually break anything. No regressions and we can just mount and climb that evidence ladder, building evidence as we go, and ensure that our app is working exactly as expected. And that really becomes the spec that shows what our app does.
Okay, cool. So we've got just over five minutes. Want to pause and see if there's additional questions. Yes, sir. I would personally, I'm curious to see what you think about it. I would personally almost lean away from skills. Cause in my experience, it's up to the model whether or not it's going to actually follow that path and use it. Versus having the CI actually enforce that these commands get run as well. Yeah. Yeah. Yeah. Yeah. Yeah. Yeah. The answer or the question is how do you run these checks normally? Right. Effectively. Yeah.
Yeah. It can, you can run these regularly. You can have them be part of CI, for example, you can have them be various hooks. That could be a git hook. Although that's probably the last one I would reach for. But you could have it be a cloud code hook. It depends on what your team is using and how they're doing it. I might build a full Python extension to keep things running in the background and just feed in information as it's going.
There's a number of different ways that you can do that. But the easiest way by far to get everyone across the board and I can say this now, just put an agents.md, not a cloud.md, in your app and then have it say, on change, verify things by running this or every time you change significant things or before you open a PR, do this, whatever wording that you want to put in there. And then that's an easy way to get everyone across the board and they really have to go out of their way to ignore that or avoid it. Yeah. Hooks are also relevant too, if you're doing the local development, right. For the whole team. Cause you can share hooks across the board.
Yeah, absolutely. Yeah. Well, CI is a feature of it, but it's not the actual tool. The actual tool is the rapid development that you get locally. So I give my agent a task to do, and I can just quickly run, let the agent go. I basically tell it, this is where I want to end up. I want the waitlist to be, I want to be able to add an email to the waitlist and then it gets persisted and saved and I can verify that. So this is how you verify it. It goes into this table, blah, blah, blah, whatever it might be. Um, yeah, sure. Yeah. Yeah. What's the benefit of running it in CI versus locally?
Sure. The benefits are definitely a faster feedback loop, which allows us to run faster and allows me to parallelize myself because I'm no longer working on a lot of things. I'm working on at least right now I have three agents running. That's a very low day for me, but I'm at a conference. Normally it's ten to fifteen. He's really taking it easy today.
And the whole idea is I'm going to set it off and I don't want it to be waiting on me and saying, yep, I did it. And then I go run and it's, no, that's not actually correct. And then I have to set it off again and I go get distracted by another agent again. And I just continue that loop. I'm constantly moving between projects. So I want to give it the tools where it can prove to itself that it did it. And then prove to me that, show me the evidence in a way that I can trust. So that when I come back to it, it might be in five minutes. It might be in an hour or a couple of hours. I want to know that it has done the best possible job that it can get to a state of done so that I'm not just re-prompting it and starting that whole loop again, because I don't want to be, that's not the fun part of my job.
Yeah. I would say another way to put it is that, and we haven't every day achieved this perfectly, but I want to have all of the different lanes that I started that day for stuff that I felt was important to ship that day. I want to come back to them at the end and see them basically correctly done. Yeah. What I don't want to do is have a long day and have them running in the background and be doing other stuff and go to meetings and then come back and then actually have to turn by turn nudge any of them. Yeah. Because that is a significant slowdown and it prevents me from going faster.
And another way to put this is I rely on CI and the tests that are running in CI and the code reviews. How many people do automated code reviews with greptile? Yeah. Yeah. I rely on those. We use greptile. Greptile gives me an X out of five score. And if it gives me a five out of five and all of my CI is passing, I feel extremely confident that I'm not going to break production when this gets shipped. We've gotten to that level of trust with greptile. Yeah. The more important thing for this is that I get to that state faster and that, um, with less turns.
With less turns. Yes. And that, I might add a whole, I could add ten thousand lines of absolutely nothing and it does nothing and great. It passed. Greptile gave it a five out of five for some terrible reason. And then it goes into production and it doesn't do anything. It doesn't break anything. Now it's just an extra ten thousand lines of nothing. Yeah. Yeah. I rely on those. We use Greptile. Greptile gives me an X out of five score. And if it gives me a five out of five and all of my CI is passing, I feel extremely confident that I'm not going to break production when this gets shipped. We've gotten to that level of trust with Greptile. Yeah.
The more important thing for this is that I get to that state faster and that with less turns. With less turns. Yes. And that I might add a whole, like I could add 10,000 lines of absolutely nothing and it does nothing and great. It passed. Greptile gave it a five out of five for some terrible reason. And then it goes into production and it doesn't do anything. It doesn't break anything. Now it's just an extra 10,000 lines of nothing.
And so this is also to help me make sure that I'm telling the agent exactly what I want and it gets there without going through a bunch of additional code or additional turns. It stays on track. But it also knows how to fix itself to keep itself on track while I'm off doing something else. Okay. I might have time for one more quick question, but I think we're yes, yes sir. Yes. Yes. Yes. You could also do, depending on where your stack is, there's various providers that you can use. You could easily also go to preview first and make it and then verify it there in a different way. So we'll then go to prod and then also immediately monitor.
So another pattern we're starting to see emerges that when folks have a deployment that was mostly agentically implemented, there's also at least one agent specifically concerned with that production rollout, looking for watching all the metrics, watching Datadog, watching feature flags, right? Being able to say this is actually bad and we're reverting it. So I truly understand and get the queasiness around it.
We all are dealing with that, but I do see a path for that. Because it just seems inevitable. Yeah. Yeah. And that's all the time we have, but if you have more questions, we'd be happy to chat. We'll be in the expo hall booth six, right, to the right when you come in. Come find us. We'd be happy to chat, show you what we're working on, and talk to you about anything you'd like. Yeah. Thank you so much for coming and your attention and everything. Appreciate it. get the idea done of like what we should be doing and how we can verify that that work is done. Uh, and then I can hand it off to Riker. It can go do the work of, you know, making sure that the,
the reviewers are done, uh, that when it fixes code, uh, from PR reviews, that it's still matching our overall goal of working software, uh, in some way. And then, uh, can just verify that and, and alert me back when it needs me instead of me having to babysit it. Um, and so with that, it's just, uh, you know, it builds a check, it figures out what tools it needs to run. It will run them, uh, verify that they all pass. It'll keep that evidence and show it to me in different ways, uh, and then decide when to stop. So if it can verify, yes, it was working, we've now fixed this bug,
for example, um, we put them together and it works. Uh, so it's really just keeping me out of having to be in the minutia of shipping the, the like final 10%, uh, and just focusing on where I'm valuable as a human, which is why we're doing the work and how we're, and, uh, to an extent how we're doing it.
Okay. So maybe just as a mental experiment or a thought experiment, if you will, let's just kind of have a show of hands, like, or feel free to shout out, like how would we start to think as a human developer of verifying a web app, like maybe in the before times before an LLM. Yeah. What are things that you would do to verify? And we'll, we'll throw some easy ones up here to get it started. So, like refresh the page. Is the application still visible? Right. What's that? Absolutely. Yep. Yeah. Network tab. Uh, see if it's healthy, right. What are the response codes I'm getting back from
the API that they expected based on what I sent it? Yep. Absolutely. Local host, uh, or local storage, checking persistence in some way, console logs, um, things like that network, uh, like you said, and, um, like reading what's actually on the page, the contents of the page actually. Interacting with it. Right. Yeah. And the reason we're saying this is like, this is really to set up the, uh, the transition from, we were the human developers doing this all the time. This was part of our core responsibility when we're hand chiseling code, if you will. And then what is the delta between doing this? And then in the early stages of LLM time saying,
here's three paragraphs of texts, go execute these instructions. The delta between those two things is the agent's ability to verify that it actually did what you asked it to do in a real application. And that is changes did not break anything. Right. Otherwise you're just getting the confabulations that LLMs are designed to give you because they're, they're trying to process the text. They're trying to make you happy. Uh, your agent can't do any of this just in a terminal alone. Uh, it needs tools to do that. Uh, fortunately tools are very easy to add to agents now. Um, and we just have to tell them how to use it or tell them specifically what we're trying to,
to prove. Um, when you do that, you don't want it to be just a paragraph of like, Hey, do this very always verify the change in a browser, whatever that means. That's pretty vague. Uh, remember to reload and check. That's a little bit more specific. Uh, check that the data persists, look at the console for errors, uh, getting a little more specific, but like, that's a lot, um, to put in there and you can certainly do that. That's what a lot of skills do. That's a lot, what a lot of just like saved prompts do. Um, but if you forget anything or things change, that can leave it up to a lot of interpretation. Um, one thing that might be better is to have a
script that can prove it out in different ways. Um, so that you can just run that over and over, and it's doing more of a deterministic check across a number of things. And then it can feed that output back into the agent and it knows exactly what was wrong, uh, and how to fix it quickly. And it just closes that loop so that it's a much faster, uh, and the agent can just spin that, run it again, check, verify, run again, and just do that over and over until there's no more errors. It's also uniform if you think about it, right? Um, we know that LLMs are not deterministic. So even giving 30 agents the exact same prompt, you have a potential for variance in your outcomes.
And pinning it down to a single command that is backed by actual bash commands and bash calls, right? Like that's, that's significantly more deterministic. And anecdotally, the folks, uh, like Lauren Tan and others that are achieving thousands of PRs ostensibly a month and, uh, building ambitious products that were not possible to build in that time before have mentioned that this is the first thing that they concentrated on that actually unlocked the velocity, right? So if your specific web app, for example, does not already have a bespoke CLI that allows any agent to fully flex the functionality that you care about verifying, then you're going to
have a much rougher time and an unpaved path if you're using prompts, you know, alone, uh, compared to actually, again, giving each agent the ability to say, yes, I actually built that feature. It is actually performant. It didn't cause any errors and the application looks correct.
So for this workshop, uh, we made a little tool, uh, we've been running it a couple of times, but it's called snack. Uh, and you can just run it with PNPM snack in that repo. Uh, it's not meant to be like a reusable tool, but just kind of like a template for how you could set up this, uh, specific for the applications that you're working on. And then use that as a way to tie into the LLMs that are actually working on that application with you. And so snack can do a couple of things. It can, uh, manage the health of the application. It can bring it up. It can take it down. It can run a doctor
command to see, is it actually, you know, is the database running? Does it have network connection, et cetera? Um, that quick dry or that quick check that it can do. Uh, then it has, uh, drives. So you can tell it to join. Remember this is our, our, uh, midnight snack waitlist. Uh, so it can join the waitlist. It can reload the page. It can reset all of the data. So it can't find it. You can have it look up things. So take a snapshot, uh, look at the network storage, look at console logs. Um, look at local storage, uh, screenshot it, run evals, all, all of the above. Uh, and then finally,
it can prove it in two ways. It can actually run approve command where it's checking for deterministic output of that and a judge, which is using a system one model to, uh, uh, and like get an idea of whether we're going in the right direction without it necessarily matching one-to-one just to like fully develop this idea. When you do something like this in a repo that you haven't already had something like this before, the velocity gains that you unlock are not solely for you, right? It's for everyone else on your team that then comes along and is also able to issue significantly
more PRs significantly faster and significantly safer, right? More safely so that, um, you know, everybody on the team actually benefits. And again, that's like why we keep harping on this being like a foundational concept now. Yeah. Uh, and if you think about it, like that's a really big piece of, it might even be more important than your software, uh, than the actual application is the way that you verify it, the way that you test it, uh, the way that you prove that it works, because that is what you could use potentially like a lot of people are doing and converting to rust. Um, you could take
your app, uh, like the bun team did converted to rust, uh, go typescript converted to go, uh, not necessarily with the same level of LLM help, but, um, they did use LLMs to help with that. Um, and then I think Theo just last week converted it to rust again. So, uh, when you want that, if you have all of those verifiers in place, then your source code doesn't matter as much. You can write it again and prove that it works. Keep going. Absolutely. And so, um, these tools give your agents their eyes, or if you think about it, like the tools that your agent use, that gives it the body. The LLM is the
brain. And then the way that it reaches out and interacts physically, uh, virtually on your computer is through these tools. And so things like, uh, join is like actually having it run and do things. And then it can check and see, you know, did I, did that actually succeed in some way? Uh, check storage, run, reload, uh, snapshot, et cetera. And so let's just run a couple of these, uh, and see P snack up that brought up our, um, browser. And then I'll open up another browser or another terminal too many terminals and run, um, P snack snapshot. And that gives us a snapshot of the page in as Jason
that we can see if I put, um, Zach at Zach dot Zach, uh, and add that to the page. Hopefully we'll see some Zach's in there. There we go. So that's a way that we can verify. Uh, we can also do screenshot to make it a little easier. That should pop up a screenshot.
And yeah, so that gave us the ability to, for example, not just like pass this to the LLM and have it do interpretation on it, but like proving back to us, that's the end goal, right? Is proving back to the human being able to take screenshots, record videos, put those on the pull request. You can do that with the, the GH CLI now, um, from debug, debugging tools, from debugging tools, where's the actual bottleneck don't guess and you know, spin your wheels for three hours, like actually figure out which part was causing the render to be slow. Yeah. So the real key here is that there's no, um, it's, it's not just code that you can look at to interpret whether
this, this application is running correctly, but you can build tools that will help you prove to you that it's working correctly without you having to read the code at all. Uh, because this is all we care about. Is this what a user sees? Is it correctly rendering in this browser at this width with dark mode, with light mode, et cetera. And you can run infinite tests on that and run them over and over and over in a loop, uh, which as Zach said, unlocks your whole team to move faster because you've given the agent the ability to run those checks itself as well.
So if we run this, uh, if we ran it just like this, where we ran the doctor, uh, and then we add, uh, Ada at example dot test, and then we check the storage, it's there. We run, uh, if we check the storage, it's not there. Um, we would see local storage is empty. And if we run reload and then snapshot, we would verify that it is in fact empty. So this is a way that the tool itself could run in a loop could check all of these things and yes, confirm with it before it even gets back to us. Oh, I see that we're not actually persisting this. I forgot to do that part. And the agent can just
move on from there. Um, real quick, we wanted to stop and take a few questions if there are any. Yes, sir. Yeah. Uh, so the question is, uh, are we, uh, using models to write JSON, uh, to, to then like help us to make our code deterministic, to bring that back? Um, the answer for me is yes. Uh, I'm, I'm using that, I'm running it and then I use, uh, like I'll use unit tests around that to verify in different ways, catch edge cases, uh, and then verify that the code, that that is like a real interpretation or real representation of what I'm expecting to get back from like a system one model,
uh, and use that to prove that, that I'm on the right track, but then have, keep those as well to kind of like have a, another check, uh, to make sure that it doesn't drift over time or things change. The, the general process that we're talking about. Yeah. So when, what I'm talking about, uh, at least on our team, we, we build a ton of applications that are internal tooling. We have some customer facing applications as well. They tend to be, uh, TypeScript and they tend to be deployed to Cloudflare. So they're, you know, they're full stack applications. It works perfectly. You could
even have evals that are focused on the backend or database operations, right? You could get as granular as you want with it. Um, but it's absolutely, yeah, it works full stack. And I expect that the way that we're all going to continue interfacing with software in the future is just going to be kind of like the gardeners making sure that they're evolving correctly. Yeah. Yeah. That's why, uh, we're not like giving out a tool because we couldn't give you a, a tool at this time that works generically for every single application that everyone in this room is working on. You kind of have to build up the tools that fit the app that you're working on
and then give that to the models and just make sure that they know how to run them well. Um, as a, I was, I was, I would also say like your evals, what you actually need or care about as a team or company or business are going to wildly differ from, you know, if you're in like the interior design space versus some other place where like speed is the only thing that matters. Um, I think you're going to have like wildly different evals and there's a value to building those up with your team. Yeah. And there's, there's lots of different ways to get the data to the, like to the model in different ways for, so that it can interpret it and it can keep up. And that's like a,
a huge piece of like keeping the model in the loop as to what's going on. Uh, the amp team has a really great post on it. I think it's called, I can't remember the post, but I'll get it out there. I think it's called loop driven develop. No, I can't remember. But, uh, what they, in, in the example, they show like a canvas with a circle and a ball bouncing inside of this circle. Uh, and then like there's a little slit where the ball, if it hits just right, it can fall out of the circle. And then the game, the game is over. And, uh, the whole idea of that is making things feedback loopable.
That's what it is. Um, where, you know, the model can't actually see the running canvas and where things are going. But if you, as a very contrived example, if you just print out the coordinates of that ball at every point and you see a bug where, you know, once it gets to this specific point, it jumps to the other side of the screen. Well, if it's moving more than one pixel at a time, like per loop, something is wrong potentially. And so there's a bug in there. If you can surface that to the model, then it can help you debug it where it doesn't actually have eyes to see the
canvas and see the ball not behaving well, like with physics. So, and also once you do that, you can, you're also then free to spin up 30 different variants of software that are, you know, speaking to that evil and then pick the one that you want. Yeah. Um, so that's the other thing that unlocks, right. It's really like foundational for just going. And especially if we expect agents to improve or models to improve, you know, tokens to get cheaper potentially, um, then, you know, you could imagine that we're all going to be like coming in on Monday and saying like, I would like to see 35 versions of this new feature or application here and pick one.
And so how do we actually run or create that? Well, in this case, like we said, we can't really prove it, uh, for everything like universally. It really has to be something that's unique to your application. And so for our midnight snack page, this is what the proof, uh, the proof command might look like, where it's basically using a tool like playwright, uh, to check that a, uh, an email was actually saved when it gets on the wait list. So, uh, we can check that it doesn't have any on the wait list, any emails. Then we can fill in an email on the next line and then we can get the button and click
it, uh, the join wait list button. And then we can expect that the status, uh, element on the page has a wait listed in there. Uh, and then check the inner text of that to see if our email address is in there. Um, and so that's one simple way to do it. Very easy. If you've ever written, uh, an end end to end test with like playwright or, um, react, uh, testing library, any of those, um, you've, you've definitely used tools like this. You can just give them back to the model, uh, and to your agent and they can run them, give it to them as a tool and they can, uh, prove it out themselves. And you've made this reproducible bit of evidence that then you can use in this one.
Next time you use it, next time that page changes, it can run it again and verify that nothing broke. It acts as a regression, um, and keeps everyone on the team moving forward.
One caution, word of caution though, uh, like a successful screenshot isn't proof. Um, make sure that it's actually showing, you know, the state that you expect it to be in, that it actually like ran the commands to get to that state, uh, to actually be in there because otherwise it might just be like another lie. Uh, but you're seeing a screenshot on the PR and thinking, Oh yeah, this is, this is correct, but it might be causing different side effects. It might've taken a different path. That's not actually possible within the UI. Um, so you want to make sure that it actually like runs start to finish, um, to check that.
Uh, yeah. And so once you build these loops that are, you know, durable, reliable, repeatable, uniform, the value of what you get or the benefit, the main benefit is that a failure starts to drive future work. Right? So if in one loop the agent fails, uh, you're busy talking to somebody at work or you're starting at another task that agent can determine on its own. This is not quite correct. Let me go take another stab at it. Let me now run the command verify again. Okay. Now we're good. If you think about what that means at scale, that a single PR or an age, a single lane of work, if you will, and an agent, you know, self heals, self corrects, figures it out on its own.
You're not coming back to that particular PR at the end of the day. And then being like, oh, I still have to get this all the way through. And if you just multiply that out, right, that's, that's really where, um, again, we just say this is foundational for speed and velocity. Yeah. And, uh, how many of you write good error messages? Show of hands. Yeah, nobody knows. We already know. Sir, what's your message? I got saw a hand. There you go. Yeah. Solid. Well, you should. I think they're more important than ever because, uh, when your, your, uh, throws an error, guess what can interpret and run with that error really well? An agent. So,
um, if you make it so that your failure is explicit about why it failed and give as much detail as possible about how it got into that state, then, uh, your agent can just like self heal from that. So, it's, um, very easy, very worthwhile to, to do that. Uh, yeah. And so this is a concept that, you know, Nick and I talk about, right? And it sounds like we're being, uh, in some ways, we're trying to wrap determinism around LLMs. Uh, but we actually don't want to do that. And that's also something to the spirit of what the AMP team is talking about. Uh, the agents are intelligent.
They're, they're capable. We want them to be creative actually, because oftentimes if they have the right constraints and then oftentimes constraints can be, can equal freedom, right? In a way, uh, then they will come up with creative solutions and actually solve what you said. That's why you give them the outcome. That's why, you know, Nick's project that he's experimenting with is outcome driven development. Um, and so it's not about over being overly prescriptive in how the agent achieves things, that can actually lead to lower performance in some cases. It's more about giving it the map and saying,
you must get here. You'll know you're here when this command returns this. Yeah. You don't necessarily have to prescribe how it gets there though. And this is true, more and more true every single day with like the frontier models, Fable, Astra, Sol 6.1, uh, Opus 5.5. They're all really good at being like you being creative is like the way I, I describe that. But if you give them, this is where I want to get to and don't necessarily tell them the path that they need to take, they might wander and make sure that they catch more edge cases, they might figure something out or ask you a question that unlocks
something. But if you're just like, you have to get here and then here and then here, they may not sway from that. And you want them to sway a little bit, but get to the right, right end goal. And like I said, this is something that we we've only come around to really appreciating in the latest batch of frontier models, uh, where it's really becoming possible. So going forward, it's going to just get better. Yep.
So when it's going, um, you want to get into like, you know, the typical TDD, like red green refactor loop with your agent. Um, we've talked, you've heard about loops, you know, at every one of these AIE events and, um, it's no different here, but you can use that within the verification piece itself. Verify this, reproduce it, show me, uh, fix it, and then show me the proof of that. And how are you going to show me the proof? That's just as important as the fix that's going to go in, because that's, what's going to leave, leave you alone and allow you to trust the model to actually do the work. And, and then when it says, Hey, I'm done,
you know that it's done because it's proved it to you in some way. Absolutely. So in this example, uh, you can run snack doctor. Let's just go ahead and run that real quick.
P snack doctor. Okay. And so this, this ran and it's showing us, um, you know, a bunch of checks that it did. So it's checking that we have node that chromium's installed, uh, that our session exists, uh, that it's actually running and that it's successfully built. So that's like what we're running as a quick doctor check, just a bunch of different things. So then we run the next command snack, join ADA at example.test. Sorry, we don't type anymore.
Okay. Give us the result back snack storage.
Storage is empty. It didn't actually put ADA in there. So this is the point at which in the real world, your agent, you've just gotten the value out of this entire system because at this moment your agent realizes I am not done and I'm not going to drop this work on the floor. Yep. And if you reload it, do the same thing one more time. Boom. We have now given our, uh, app eyes. It can see this, it can run these, it can, uh, make, it can make sense and change the world of the application, the midnight snack application and see the results of that and then be able to interpret what happened from there.
So you can try that. You can, if we like apply the persistence fix to it, uh, and add honest copy to it, then we can, um, run the proof. Let's run that.
And that kicked off a browser and it failed. I didn't actually run the test, but if we had, or run the fix, if we had run the fix, uh, it would show that.
Okay. One of the things that we're, we're thinking about a lot lately and talking about and starting to roll out into more applications is this like concept of receipts. Um, you know, you can, you can take like a ticket, like a health ticket system, where it's, there's a certain performance, the way that a human would answer a ticket and consider it done well as an excellent, you know, customer response or service. And then what does the, um, like preserving that in some way, for example, right? Uh, why do we want to do that? There's a ton of reasons and we'll get into some of them, but, uh, again, if you think about if it, if we all,
uh, or if it seems that in some way, many, many folks are heading towards, you know, running RSI, harnesses and self evolving code bases, uh, everything that we do today, everything that your agent does today, every run all day long, that is very valuable data. It's very valuable data right now because you can feed it into LMS and get fixes that you need. It's incredibly valuable data in the future as tooling improves and it gets easier and easier to set up RSI loops because then you've got a data set of exactly how your system performed that you can create, uh, you know, very comprehensive evals for and have agents hill climb on, which means loop
and see their performance and then continue going until they get better and better and better. Right. Yep. And at that point, they're able to pass on their own using that evidence from the previous runs.
So now, uh, if we fix that code, uh, it now persists, uh, but it can also lie. So after we reload the page, it could say wait listed. Um, but what the screenshot might actually say is you're in, uh, your seat is confirmed. Those don't exactly match up. And so that might be like a failure right there because they don't exactly match. So this is kind of getting away from the static testing piece of it. Like how do we prove that, um, it worked without having to be like very tightly coupled to the actual text on the screen, uh, for a very contrived example. Um, and so if we just run like, you know, P snack judge
should run that and it failed. Um, because even though it worked, uh, and it says that we're in, um, Jev did not, or the, the model did not see that. Um, and it's because the, the confirmation text breaks the contract. It's not exactly one-to-one. So how do we fix that without adding a lot of tight coupling to everything that we're doing? The answer is the system one models, um, which we'll get into here. Yeah, absolutely. So, uh, just to introduce it for anyone that hasn't heard of it before, the, you know, concept of system one, system two comes from psychology actually. It's like a useful model
to think about how the human brain works and how we think. So system one is super fast decisions. It's, it's, you know, autonomous, like, uh, someone swerved at me while I'm driving and I, and I just corrected without even thinking about it kind of thing, right? So I'm about to lose my balance and I, I corrected it. Um, and then system two is like, I need to figure out what I'm going to do with my life. So I'm going to go book an Airbnb and like, think about it for three days. Um, and so, you know, applied to the world of LLMs now, we've got Jev and then immediately after we've got Clef from Cloudflare,
you know, two days later, um, that's even faster. And so there's, it's, it's a really exciting time to think about all the ways that we can combine these tools together to make the new primitives that we're going to continue to see in evolving AI architectures. Yeah. To get, put it another way, that light right over there. If I said, what color is that projecting? Quickly, you would say yellow. That's like system one thinking, right? You just, you know, the color. If I said, why is it projecting yellow? Well, now we're thinking, now we're thinking, you know, we could go down like a physics of why the light emits yellow. Why are we here?
Uh, and that's how we got to really what we want to talk to you about today.
Um, so in this, uh, we've got another game, uh, that we can play within, um, within this. It's a quick game with, um, the snack. We have saboteur and a detective. Uh, and so, um, in this, the, the saboteur will pick a snack. Uh, it'll put a secret bug in there, uh, randomly putting a bug in there. Um, we don't know which it'll just be random. And then you, the detective, uh, find it with, uh, with snack alone and then prove, uh, what that is name the bug and give, give proof that you found it. Uh, so this is something that you can do if you've pulled down the website or pulled down the
repo. Um, you can just run PNPM snack up dash dash bug random and, uh, give it, uh, let it run and see if you can find it. So let's try that. We'll just give it some time to go. Uh, what was it? Uh, dash dash bug. Oh, it's already running. Let me kill that. Kill the right one.
Okay. So in this, uh, it ran, uh, it's got the app URL it's running. It's not headless. So we can see it. The bug, uh, says hidden until you stop up. Yeah. Right. Um, leave this running in another terminal run PNPM snack doctor. So let's run that.
All right. So that ran the whole thing and we can see nodes there, Chrome's there. It's got a session. The proof here, uh, the last receipt says fail, but the source is now, uh, that proof is for code that no longer exists. So it wasn't able to prove that that was a previous run. Let's run it again. Same thing. Uh, can anyone tell me what the bug is? Any ideas?
Wrong email.
Yep. Exactly. What's wrong?
Uh, I think it was running at six, two, one, seven, four. No, that was right. Let me try it one more time. We got less than a minute.
Uh, for that one. Yeah, you do. The tools make it optional though. So you can run through all the exercises if you don't have it and it'll just go. But, um, it's also a good opportunity to experiment. experiment with one if you do. Yeah. They're pretty cheap calls. Uh, they give you $5 for free when you sign up and I think that'll last you like three years. Yeah.
All right.
So, um, yeah, go ahead. Go ahead. Yeah. Um, so yeah, we ran it a couple of times. I think there was some problem with my output. I'll debug that. Uh, it's funny. I need some verification tests around my verification, my contrived verification examples. Um, but the, you know, the, the outcomes that could come up are, uh, that it named the bug, uh, with output, uh, said it works, but it didn't, uh, said it works, but it did, uh, blamed a bug that wasn't there, um, and then had no, it was the right bug or no evidence.
Right. And this is just getting back to that point of, uh, a contrived example, of course, but your team might score differently or have different criteria that you're looking at. This is super flexible. The most important thing to do is to start and to create one, create an eval baseline and to use it consistently and to evolve it together as a team. Um, and then get to the point where your changes and your PRs automatically flex that eval so that you can get to the point where, you know, if changes are safe to land or if they're improving things or if they're making things worse or if they're not changing things at all.
Yep. Uh, and every time it runs and it misses, um, that's a new line that can go in the map. So it can give us ideas of like the steps that we're getting there, why we're getting there and kind of like, you know, every time it fails, it's getting us one step closer cause we can fix that. So the first time, uh, is memory only. Um, like it's not storing anywhere, but in memory, uh, we're putting in a wrong email address. Uh, we've lost our confirmation.
Every time we can prove that we've caught that and then we don't run into that again. Um, but then the overpromised one, uh, the screenshot or the judge running, uh, can tell us that it, um, it actually did pass when it didn't.
Same thing with console error. Uh, there might not be anything in the console, um, but it's in the receipt or it might not be, it might be getting caught, um, before it gets to the console. Um, yeah. Anything like that. Or it could just be none. There's nothing to find. Everything works. Um, and that's a real answer as well.
Um, yeah, if you run the doctor kind of like what we were doing, it was showing this where it was showing the previous, uh, examples. Um, it's showing proof that no longer exists. Uh, that's because your code might've changed quite a bit between yesterday and today. Um, it might be different circumstances, like, uh, a famous,
date bug, um, for example, it might be a number of different things. So, uh, we want to build the tools in such a way that they're flexible enough to, uh, not get caught by, uh, issues like this. Uh, this is all kind of like going back to, you know, basic unit testing examples. Uh, but bringing that kind of like deterministic check to the models in a way that they can self heal and self improve from there. Absolutely.
Okay. Okay. So this again, to tie it back to what we used to do as human developers, right? What we used to be able to see, how we would flex the application, how we would check everything. Uh, that's really what we've been talking about and moving it into code. So by moving it into code and making it available in a deterministic CLI, then we can get to the same path and the same experience that we would flex as, you know, developers in Chrome trying to fix something late at night. And that's really what unlocks the speed and the evolution and the ability to scale up the amount of code that you were delivering and to do that in a more safe way.
Uh, again, you know, if you, uh, the recommendation is if you have a web app, uh, and you're not already, you don't already have a custom verifier CLI, that's one of the highest leverage things you could start with for your code base, the foundational eval as well, that shows what good looks like in your application. And then also giving your agents the ability to see all aspects of performance and, uh, networking and traffic and, and rendering, et cetera.
And so giving it Chrome DevTools, if you're in, um, if you're in the web app land, if you're shipping native clients or shipping iOS, you know, or OSX apps, then there's an alternative, uh, projects and more coming out every day that you're then going to attach to there. But the, the, the common, you know, foundation here across all of them is that you need to give your agent the ability to see absolutely everything that you would normally see as a developer.
Yeah. The more that you can give it, the more arms or eyes that you can give it, the more it's going to be able to take over from you. Uh, and then you just have to give it the intuition about when to use those, how to use those. Think about the way that you decide, okay, if I, this bug came in, how would I reproduce this? Think about that. And if you can break it down and this is dependent on your application and the type of, of code that you're writing, um, you can, you might be able to do that in a way where it can like think, oh, you know, for us, it's a lot of sign on things.
Like, is it properly setting a cookie? Is it setting an expiration in that? Like all of that. Yeah. In the, in the job, right? You can go again, like the, this is applicable to every, you know, field industry that you've got software for. Um, but it's, it's really just all about like, Hey, that world where it made sense for us all to hand chisel code all the time is at least evolving or at least changing rapidly. What are the foundational, like what's the, what are the same system fundamentals that we bring to this now so that we can accelerate software development? Yep.
Uh, so yeah, doing expensive call stacks. Uh, but the, the important thing is that, uh, getting that output, making sure that it's giving you detailed output about what happened, uh, the state of it, uh, all of that so that it can be audited by the application, uh, by the model. And then you can run it again. You can fix it, run it again and verify that those changes actually took hold and that there's no longer an issue. Uh, yeah. And again, uh, can't over-emphasize.
Um, you can exercise the value of keeping receipts. So if you have runs, uh, you know, it can be the entire user journey. Let's say it's an e-commerce app. It's like when they log in, they hit the page. What happened? What was their flow? Did they see an error at all? Did they see seven seconds of time to see your catalog, you know, come into view? Uh, were they able to put something in their cart? Was their cart abandonment? Um, and so save that all now because every single one of those runs and receipts can be fed to LLMs or you can even set up a system that's running all night long and is looking for, uh, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the
latest receipts being produced and is aggregating them and saying, well, today we saw eight failures in the caching module. So I'm obviously going to, you know, issue a PR tonight to fix that properly. And then, oh, I have the tools I need to prove in this PR that the issue I was trying to solve has been fixed. Uh, and then the recommendations that we're seeing from, from folks too, that are achieving like super high scale PR, uh, shipping without errors. They're, they're also able to, you know, add, uh, the stuff that is for us as humans in our oversight.
Still. So not just screenshots of the feature, but like a recording of, I walked through the app this way, this was my flow. This is what I experienced. These were the states and I got to the goal so that if I'm waking up and trying to rip through, you know, 15 important PRs and the, the first thing in the morning, I can first start watching that and make sure that, okay, it actually got to the end and worked. Then I can, you know, start looking at code. Uh, if it's something that I'm actually going to like human review. And, uh, again, all of that I think is going to be immensely valuable as we continue to see, uh, evolve,
self evolving tooling really. And, you know, think about what that means though, because when we get to the point where there's a self evolving tooling is just like the default and people are using it, uh, there will be a specific advantage for folks that have preserved, uh, clean data sets of things that they can say, this is what we are trying to get to in this application. And we want you to get all the way there and rapidly improve it. Right. If you're not sitting on a mountain of that and your competitors are, and they have similar apps, they're going to be able to go significantly faster in their development cycle.
Yep. And this is just building up that trust so that we can continue to improve upon our app as we go. Uh, but we've have these checks for everything that came before it. So we've got unit tests, we've got evals, we've got smoke tests, we've got whatever our application needs. And we've got a way for the model to be able to interpret and run those and improve them, uh,
uh, in such a way that if we add new features in, we can run all of the previous ones and make sure that we didn't actually break anything. Uh, no regressions and we can just mount and climb that evidence ladder, building evidence as we go, um, and ensure that our app is working, uh, exactly as expected. And that really becomes the, the spec that shows what our app does.
Okay, cool. So we've got, uh, just over five minutes. Want to pause and see if there's additional questions. Yes, sir.
I, I would personally, um, I'm curious to see what you think about it. I would, I would personally almost lean away from skills. Cause in my experience it's, it's, you know, uh, up to the model whether or not it's going to actually follow that path and use it. Um, versus like having the CI actually enforce, uh, that these, these commands get run as well. Yeah.
Yeah. Yeah. Yeah. Yeah. Yeah. Uh, like the answer or the question is how do you run these, these checks normally? Right. Effectively.
Yeah.
Yeah. It can, it can, you can run those, you can run these regularly. You can have them be like part of CI, for example, you can have them be, um, various hooks. That could be like a, a get hook. Although that's probably the last one I would reach for. But you could have it be like a cloud code hook. It depends on what your team is using and how they're, they're doing it. I might build like a full, uh, pie extension to keep things running in the background and just kind of like feed in information as it's going.
Um, there, there's a number of different ways that you can do that. Uh, but the easiest way by far to get everyone across the board and I can say this now, just put an agents.md, not a cloud.md, uh, in your, in your app and then have it say like, you know, on change, verify things by running this or like every time you change significant things or before you open a PR, do this, like whatever wording that you want to put in there. And then, uh, that's an easy way to get everyone across the board and they really kind of have to go out of their way to, uh, ignore that or avoid it.
Yeah. Hooks are also relevant too, if you're doing the local development, right. For the whole team. Cause you can share hooks across the board.
Yeah, absolutely. Yeah. Well, CI is a, is a, I think a feature of it, but it's not like the, the actual tool is like the rapid development. That you get locally. So I give my agent a task to do, and I can just quickly run, uh, like let the agent go. You know, I basically tell it, this is where I want to end up. I want the waitlist to be, I want to be able to add an email to the waitlist and then it gets persisted, uh, and saved and I can verify that. Uh, so this is how you verify it. It goes into this table, blah, blah, blah, like whatever it might be. Um, yeah, sure.
Yeah.
Yeah. What's the benefit of running it in CI versus like a local. Sure. Uh, the benefits are definitely like a faster feedback loop, which allows us to run faster and allows me to, uh, parallelize myself because I'm no longer working on a lot of things. I'm working on just one thing at a time. I'm working on at least right now I have three agents running. Uh, that's a very low day for me, but I'm at a conference. Um, normally it's like 10 to 15. He's really taking it easy today.
Um, and, and the, the whole idea is like, I'm going to set it off and I want, I don't want it to be waiting on me and saying, yep, I did it. And then I go run and it's like, no, that's not actually correct. And then I have to like set it off again and I go get distracted by another agent again. And I just continue that loop. I'm just like constantly moving between projects. So I want to give it the tools to where it can prove to itself that it did it. And then prove to me that like show me the evidence in a way that I can trust. Uh, so that when I come back to it, it might be in five minutes. It might be in an hour or a couple of hours.
Uh, I want to know that it has done the best possible job that it can to get done to a state of done so that I'm not just like re-prompting it and starting that whole loop again, because I don't want to be, that's, that's not the fun part of my job. Yeah. I would, I would say another way to put it is that, and we haven't every day achieved this perfectly, but I want to have all of the different lanes that I started. That day for stuff that I felt was important to ship that day. I want to come back to them at the end and see them basically correctly done.
Yeah. What I don't want to do is have a long day and have them running in the background and be doing other stuff and go to meetings and then come back and then actually have to turn by turn nudge any of them. Yeah. Because that is like a significant slowdown and it prevents me from going faster. And another way to put this is I'm like, I rely on CI and the tests that are running in CI and the code reviews. Like we, how many people do automated code reviews with like greptile? Yeah. Yeah.
I rely on those. We use greptile. Greptile gives me a X out of five score. And if it gives me a five out of five and all of my CI is passing, I feel extremely confident that I'm not going to break production when this gets shipped. Uh, we've gotten to that level of trust with greptile. Yeah. The more important thing for this is that I get to that state faster and that, um, With less turns. With less turns. Yes. And that, you know, I, I might add a whole, like I could add 10,000 lines of absolutely nothing and it does nothing and great. It passed.
Greptile gave it a five out of five for some terrible reason. And then it goes into production and it doesn't do anything. It doesn't break anything. Now it's just an extra 10,000 lines of nothing. Um, and so this is also to help me make sure that like I'm, I'm telling the agent like exactly what I want and it gets there without going through a bunch of, um, additional code to, or additional like, like it stays on track. Uh, but it also knows how to fix itself to keep itself on track while I'm off doing something else. Okay. I might have time for one more quick question, but I think we're, yes, yes sir.
Yes. Yes.
Yes.
You could also, you could also do, depending on where your stack, like there's, it's also, you know, there's various providers that you can use. You could easily also go to preview first and make it and then verify it there in a different way. So we'll then go to prod and then also immediately monitor. So another pattern we're starting to see emerges that when folks have a deployment that was mostly agentically implemented, there's also at least one agent specifically concerned with that production rollout, looking for watching all the metrics, watching data dog, watching feature flags, right? Being able to say this is, this is actually bad and we're, we're reverting it.
Um, so I, I think that like, I, I truly understand and get the like queasiness around it. Like we all have, are dealing with that, but I, I, I do see a path for that. Um, because it just seems like it seems inevitable. Yeah. Yeah. And that's all the time we have, but if you have more questions, uh, we'd be happy to chat. We'll be in the, uh, expo hall booth six, right, uh, to the right. When you come in, uh, come find us. We'd be happy to chalk, uh, to chat, show you what we're working on, uh, and talk to you about, uh, anything you'd like. Yeah. Thank you so much for coming and your attention and everything. Appreciate it. .
. . . . . . . .