You and what army? https://www.youtube.com/watch?v=07fTqHQ3EGw English · YouTube auto-generated captions 0:00 · A Monday morning run by agents [0:06] Hey everyone, I'm Tyler. Welcome to Builder's Day. I'm really excited to be presenting here on our very first Builder's Day hosted by Prisma. So, let's get right into it. So, bear with me a moment. Let's go a little bit hypothetical and use our imagination. It's Monday at 7:00 a.m. [0:24] and you're a founder with a small team, just a few people, and you're punching well above your weight class. You've got hundreds of customers paying you money to use your product. They're very satisfied, but yet you get to enjoy your weekends, enjoy your evenings with your family and friends. You don't need to be stressed about work all the time, even with a small team, because you've got a team of agents that are helping you handle the operations. [0:47] At 7:00 a.m. on a Monday morning, you're having your coffee, you're sitting down, and you get a notification from one of your agents to kick off your day. So, your operations agent, Huey, has a weekend recap ready for you. It did a few things over the weekend, all on your behalf. First, it answered a support request that was pretty simple and could come straight out of docs. [1:05] But, the customer also had a feature request that it went and upvoted because it already existed. Then, it had an SEO update for you. You're up 18% on organic clicks. And it found that there's an opportunity to write a new blog post to address some common support questions you've been having. [1:20] And finally, it found that there was a spike in PDF exports at a particular time over the weekend. And it dispatched a coding agent to go fix it. They had a few rounds with a review agent, and it shipped it all the way to production. No issues now. Now, all of that happened without your involvement. You got to enjoy your weekend, spend time with your family and friends, and then wake up Monday morning with actually no big work sitting on your desk. You get to just kick off your week right. [1:44] That's the kind of future that we can have with agents helping us do a lot of the operations tasks of our business. Now, this all seems really hypothetical. You might be embracing some pieces of this today, and you might also be a bit skeptical about this much off to agents. That's okay. [1:59] You might be watching this a couple years from now and say this is all obvious and trivial. Of course we were going to get there. But what I want to focus on that is that this capability is already here today. We can do a lot of these actions. It's just a matter of how much trust and access and context we can get these agents and it's only going to get better from here. 2:17 · Why small teams can do more than ever [2:17] Now if that prospective future isn't quite enough to convince you, let's take a look at some numbers instead. 6.5 million projected new businesses in the US for 2026 alone. That is 4.8 every second being formed. In 2019, the US birth more babies than we had new businesses. But in 2026, we will have nearly two new businesses for every baby born. That is mind-blowing. The rate of new businesses being formed is just astronomical. [2:49] And according to Stripe Atlas, two out of every three businesses founded there have a solo founder. Now this is a bit of a biased source because it is focused more on these small uh teams and these solo founder use cases. But I still find this really interesting. We've got so many people able to start a business with such a small team now because of the help of all of the tools that we have to handle a lot of the tedious operations of running and maintaining that business. [3:18] So with that, I want to challenge you. You and what army? What and how can you have an outsized impact with the help of agents? I'm Tyler Benfield. I'm a platform architect here at Prisma. You can find me on some of these socials here. I've been thinking about this problem so much lately. How much of my work can be given to agents? How much do I feel comfortable giving to agents? Where is this headed? I've been talking with a lot of my friends, uh colleagues, uh people even outside of tech about where they think this is going and starting to formulate what we can do today and where this is all headed. 3:52 · Access, autonomy, action: the loop [3:52] So let's take a look at that as we set up Builder's Day. Let's rebuild that Monday morning scenario. We needed a few things to get that done. One was access. The agent needed to have access to all of the data sources from the support request to the code base to the telemetry to identify all of those scenarios that it could take action. It needed the autonomy to go discover that. It needed to be able to explore some of that data and find the root cause, find the issues, and then distill that into and synthesize that into some action that it can take and some input for you. [4:24] And then take action on that. It needed the ability to go create that PR to fix the issue, to reply to the customer support request. And then that creates a loop. It comes back. It needs more access to do more things. And with this, we can start automating so much of our business where we can build trust. 4:31 · Access: giving agents safe access to your data [4:40] So, let's start with access. First, what is telemetry? Well, telemetry is what your app records about itself. It's logs time-stamped about what your app did. Errors that capture what failed, where, and why with a credible amount of detail. Metrics that track the number of events over time like response time or sign-ups. [5:00] And then traces, which are the most detailed and give you a analysis of a single path through the whole system. Agents can take all of this information and turn it into really actionable data. And each one gives it a different perspective of what the system was undergoing at the time so they can make better decisions. [5:19] Now, giving your agent access can be a bit scary. But, there's a few different ways to do that. One is connectors. Those are built-in integrations that you can switch on directly from your agent's app like ChatGPT, Claude Desktop, Grok Bot, they all have these this concept of built-in connectors. [5:35] Then there's also plugins that are like packages that include things like the tools that you need to run, but also instructions and prompts that your agent can use to get off the ground successfully. And then MCP servers, which are the standard way that agents can connect to other services and are actually the backbone of connectors and plugins, too. [5:52] Then there's CLIs, command line tools that your agent can run in its sandbox, often from the same vendor as a service, and APIs, direct requests to the service that the agent can use with an access token to write scripts and other processes that it can automate. Now, the method here really doesn't matter as much as how much safe access you can give it. [6:12] So, I suggest that you use agent permissions as much as you can. Always allow reads is my my preferred way to go, but then require approval for certain types of rights where I want the agent to be able to take some action, but only with my input right now. I can limit that or or that is limited to connectors and MCP servers, typically. [6:30] For CLIs and API calls, you have a lot less fine-grained control within the agent itself, but you can create read-only or scoped credentials, isolating that credential only to the particular task you want the agent to be able to do. But that's also limited by the provider's ability to provision those fine-grained tokens. [6:47] So, not every provider is going to support that, and you should definitely look at this when you're evaluating new providers. Do they support the types of access control that you would want so that your agents can take more of that responsibility on? 7:00 · Discovery: goals, not instructions [7:00] Then we need to move on to discovery, giving the agent goals to go solve a problem, not prescriptive instructions, and letting it explore from there. Every time your agent needs to ask you a question, you become the bottleneck. Imagine that weekend scenario where in the middle of the night, you're paged by the agent to ask if it should fix and ship this fix for the PDF export bug. Or if it pages you in the middle of a family event and says, "Hey, you got a support request from this customer that I can go ahead and answer, but I need your approval." These are all things that interrupt your life and slow down the feedback cycle with your agent. So, you need to build this trust. It's going to take time. The agents are going to [7:39] keep getting better, but every time that you had to be in this loop, you were slowing the process down. So, ask yourself how much you can get out of the way. 7:48 · Synthesis: turning data into reports and tasks [7:48] And then there's synthesizing, turning that data into insights, and that insight into an action. So, agents love to consume tons of data. They can take user feedback, telemetry metrics, all these different data sources, they can start correlating them for you, and they can do this incredibly fast to produce something that is actionable. That can become a simple report for you showing you what's going on, highlighting the most important details, and it can also become tickets for your coding agents to pick up and take action on. [8:17] Now, I've started doing this uh several months ago. And a few months ago I set up a Claude scheduled task, just a routine to generate a daily report of failed traces for one of our services, and give me a prompt for each scenario that it could capture that I can just feed over to a coding agent and get fixed immediately. [8:35] And it identified that the vast majority of what we had captured as errors were actually just bad user input. There were user errors that were being classified as system errors and skewing our results. So, I fed each of those every day into another Claude thread and said, "Go fix this problem that this report had identified." And because I had given me all of the information, it was a simple copy-paste. [8:56] Now, I reduced in just a few days our total error spans by a hundred times. Now, this was not really reducing errors, these were user errors, they were just false positive uh signal, but this eliminated so much noise in just a few days with almost no effort by me, just copying and pasting some some task over to an agent and letting it ship. [9:16] This eliminated a ton of noise, and now we have a very clear perspective of real errors when they come up, and we can take action to fix them without all this getting in the way. I also have daily reports that are generated for several of our services, one of which is our telemetry database, ClickHouse. But rather than have a static dashboard that I'm going in to look at every day, I want the agent to investigate anomalies and come back to me and show me the highlights, what I need to know, and what I need to take action on. [9:43] So, it generates a human-friendly report with some very high-level stats that it's found, and a uh a chart that shows me a visualization week over week that I can really quickly, in just a second, get an idea of whether things are on trend and healthy, but it also surfaces here anything that I need to be aware of immediately. So, I don't need to spend a lot of time looking at a dashboard and deciphering the metrics to see if they're actionable. It tells me that already. [10:07] But, it also follows up with actionable tasks that I can do. What are the improvements and opportunities that it has found in detail that I can simply copy and give to another agent to take action on. And eventually, this can become an automated pipeline where this agent dispatches another agent to go fix these opportunities that it finds once we've achieved better alignment. 10:18 · Acting: agents dispatching agents [10:29] And that brings me to acting, agents telling agents to do the work itself. Often, that takes the form of a software development loop. A task comes in, gets picked up by a coding agent, that coding agent implements the fix, and also runs self-verification, whether that's test or navigating the app or what have you to until it reaches a point where it feels like it's confident in the change. [10:50] And then, it passes that to a review agent that looks at the code and maybe has some feedback to the coding agent. They exchange that, go through a few rounds before it finally comes to you to approve. 11:02 · Vision, principles, and focus [11:02] An agent dispatching a code base with no documented direction is just going to invent a direction. So, having written vision, principles, and focus let every agent make similar calls to what you would. So, the vision is what the product is and who it is for. It should be super high-level, and it should be focused on the audience, what you're trying to build, not getting into the technical details or choices, but rather aligning on where this is all headed. [11:26] Principles go one step below that, how you build, which trade-offs you prefer. They're still not referencing specific code or teaching the agent how to code. They're talking about when you prefer what trade-off. So, for example, if you're building a web app, you might prefer a good UX or good loading time versus readable code or highly performant code. [11:47] In a high-performance system, you might really care about the memory usage and the throughput more so than you care about how readable the code is. These are all trade-offs that you need to align with the agent so that when it gets to a point where it needs to make a decision, it knows which one you're going to prefer and you're pushing back less. [12:05] And then focus. Narrow the focus the agent's focus on what matters now and what is out of scope. This helps especially when you're getting these feature requests come in or support requests come in and you want the agent to be able to triage this for you. It will start deciphering deciphering out what doesn't align with your product direction and scope and what it should fit into your road map. [12:25] And it can also help when you're building new features because it knows that certain scenarios or audiences are not worth building for today. So, it can start simplifying maybe the scope of a feature because it knows that certain things are not going to be part of your project. 12:39 · Proof: aligning on outcomes [12:39] And then proof. How does your project verify that it is correct? Test, running the code itself, type systems. What are the things that your agent can give you to show that it has proven that the work is correct. Now, it's important with all this that we don't document what good code looks like. Agents can write good code. They just don't know why your project exists or who it exists to serve. Every new thread you spin up with your coding agent is a new hire on your team and the new hire needs to understand the context of your product and where it is headed. [13:09] So, having all that documented, just like we would for a human and onboarding them, is critical for these agents to be successful. So, I like to document all these in my project in markdown and then use Agent MD only for the most critical points or to provide a table of contents to these other documents. I found that the agents will explore this on their own. They will find these relevant documents and they will stitch it together based on the task that they're trying to solve. [13:34] Sherlock Holmes once said, "It is a capital mistake to theorize before you have all the evidence because it biases the judgment." And agents can theorize about correctness all day long. But they work best from proof. They'll look back at their reasoning and say, "Of course this feature is going to work because I reasoned that it would work." But what you really need is proof that it will work. [13:54] What does it mean for a task to be done without proof? So, you want to align on the outcome. Agents Most agent work is not bad code. It is just the right code for the wrong problem with the wrong trade-offs. So, focus on your alignment on the intent and not just the implementation details. Why does this feature exist? [14:15] Who is it trying to serve and why? What does success look like? If you've documented this, I've found that the agents will do pretty incredible things at trying to solve towards these problems, especially if you say that what it define what success is, you might see it introducing metrics or some type of telemetry to prove that this feature worked the way that you expected it to. If you tell it who you're trying to serve, then it might put it in the right place within your app and surface it the right way. So, all these things really help contextualize the agent not on the specific this is the code that you're going to write, but how does it fit into the overall product surface of your app? 14:53 · Letting agents verify their own work [14:53] And then we need agents to be able to verify their own work. This is your agent's job, not yours. You want it to go through and prove that it has done the right work before it ever reaches your desk. I like to model my domain with types and eliminate as many impossible states as I can. So, this is an instruction you can give your agent and it will generally put work pretty well towards this. If you can eliminate impossible states entirely, there's a whole classification of tests you don't need to do. [15:19] And And when you need it, you write tests focus on the outcomes, not the implementation detail. Agents love to write tests. They will write way more tests than you actually need. So, it's important that you focus them on the tests that prove outcomes, not just the code that was written was written the way it was. [15:36] And then you want it to be able to run the app and observe the result. This could be running your web app in a sandbox and clicking around. It could be running an API and making those calls. It could be spinning up a CLI and navigating through it. But this ad hoc execution uncovers so much that a test wouldn't. Unit tests and integration tests are great for preventing these future regressions, but being able to run the app ad hoc uncovers so much more. [16:01] For example, if you have a button that you want to verify that the click does what you expect it to. In a test, that might have worked. But until you spin the app up, you might not realize that it was covered up by another UI element like a modal or dialogue. So, being able to run the app lets the agent discover this on its own and self-correct. [16:18] And then have it produce a proof that even a human can verify. That could be a video, a screenshot, or even just a test outline so that you can see how did it verify that the work that it shipped was the correct result. Now, this is a simple example of the global rules that I have the around verification hierarchy, how I prefer the type system, lint rules, and then unit tests and integration tests beyond that. [16:40] You don't need to take this verbatim, but even just these simple rules can really start aligning an agent to producing better, more verifiable code. And then we move on to review agents. 16:50 · Review agents that push back [16:50] Most of our work in Prisma is completed by a frontier model and is reviewed by a much cheaper open weight model. Yet, 61% of our PRs produce comments from our review agents, and four out of five of those comments result in an actionable code change. Even though the code was written by a state-of-the-art model and the review agent is one of these cheap open weight models, it's still finding actionable stuff to push back on the frontier model with. So, this shows to me just how valuable this adversarial review still is. [17:23] Maybe one day we get to a point where it's not really needed because the agents are so good, but I find that right now the agents can get so tunnel visioned on the task that they're set out to achieve and the reasoning they used to get there that they can miss certain other aspects that we'd want a review agent to really help them steer back on the right direction for. [17:41] So, a good review agent will check not just for the correctness in implementation, but also that the code is understandable and doesn't have unnecessary complexity associated. Maybe it helps you find opportunities where some of this code already existed and could have just been uh cleaned up to reuse. [17:58] It should, controversially here, have no bias from the original thread. I think that in having or spinning up a review agent from the same thread that did the implementation, it has all this thought process into the reasoning and as a result it starts biasing towards the same solution. [18:14] But if you spin up a review agent in a brand new empty thread and you give it just the context of the PR of the change and the task that it's set out to resolve and the task is well defined in terms of the outcomes that it's set to achieve, then the review agent performs so much better. It starts looking for opportunities uh to achieve that outcome in a more efficient way. [18:37] And it needs to review in the context of the whole repository. You can't just give the review agent the exact files that were changed of in the diff from Git and expect it to do as good of a job. What we do is we spin it up in a sandbox, we give it uh constrained access to navigate the code in that sandbox, and then we give it the context of the diff to steer it in the right direction. But in doing so, it can look for things like coherence, consistency, and alignment across the whole code base. I often find our review agents catching things like a missed docs update or even a place where the bug exist same bug that was fixed exists in another area of the code. And it can only do that because it can see [19:14] all of the code, not just this particular change that came in. And it needs to leave actionable feedback that includes the intent of the suggestion, not just a change this, you know, from this code to this code, but rather why. And that helps these agents have a dialogue between what the right solution is. [19:32] And importantly, it needs to be able to concede when it's proven wrong. Agents can fight each other very aggressively if you just tell them to find every flaw in a PR branch. It will look for every little picky detail it can, but when you align these agents, the implementer and the review agent towards the goal of shipping high-quality software, then the goal is now shipping, not finding problems. But quality comes from pointing out the things that are actually going to be a problem in reality. [20:03] So, what I found in doing this, and also instructing our implementer agent that it is the subject matter expert and has the authority to push back because it also doesn't want to just take every single action that the review agent produces. It has its full reasoning about why it solved the problem the way it did. So, when you give them these roles on the team and let them uh debate through that lens, I found that they produce extremely high-quality results. [20:26] Like I said earlier, four out of five of our PR comments produce actionable feedback, and that means one out of five actually gets a pushback from the implementer that that was not valid or in scope for the problem it's trying to solve. Um that balance is pretty phenomenal to me. [20:42] And that all that feedback comes back to the coding agent, which then iterates until the review agent finally approves it. Then it comes to you. You get to review once at the end, after all of that is done, all the picky details have been ironed out, all the edge cases that they could find have been covered, and it's up to you to decide how much of this do you need to look at, how much do you feel confident in merging, and everything that happened before that was the agent's job, including verification. [21:09] And that moves into what your new role is, curation. 21:13 · Your new role: curation [21:13] Agents turn feedback and data into insights. But deciding what to do with those insights is still your job. Your job is to curate a product that your users want to use. And agents will build anything that you ask them to. They are relentless. It doesn't matter if it aligns with what your goals are of the project or is it completely out there and unrelated to your project at all. They will do it because you tasked them with doing it, unless you tell them not to. [21:40] So they will never ask, "Does this fit into the vision of your product?" That is still your job. In a product that does everything speaks to nobody. Don't fall into the trap of seeing the opportunities these agents give you as a chance to build every single thing under the sun. Decide what is worth building and say no to everything else. Curate your product to your audience. 21:58 · What's next: always-on agents [22:00] So now let's jump into what's next. Where is all of this going? And this is not really a speculative. This is what's evolving right now in the ecosystem. We're seeing always-on agents really taking taking over. You have Grok Bot, OpenAI dots, MetaMUSE, Claude Duet just came out. All of these things are are transitioning from a reactive agent where we're not telling it what to do to a proactive agent, one that is identifying work to be done. It is looking for opportunities and it is helping us in doing so. [22:28] They monitor your app all the time. They can watch your feedback channels and support channels and take action on them. They can capture work to be done and dispatch that work to other agents to get it done. They alert you when you're needed and they can leave you alone when you're not. And they can take a follow-up action that was not really predetermined. They can go through and explore and discover and look for opportunities that you have never given them. [22:51] Now this is all still evolving very quickly and some of this might feel a bit fuzzy and gray area and uncertain. And that's okay, we're going to get there. But what's important to to at here is how much opportunity comes from letting these agents work autonomously without you having to initiate the conversation. [23:08] And all that happens through alignment and access. So, the more these agents are doing on their own, the more your direction actually matters, even if you're out of the loop. It's absolutely critical that to these always-on agents that you achieve alignment through things like the documentation that we mentioned. 23:22 · Your homework [23:25] So, your homework, what you can go back and do today, connect your agent of choice to your telemetry, whether that's logs, metrics, traces, user feedback, anything that you can give it safely, do so. And then schedule a daily report, something as simple as this, "Use the telemetry from my app to gather every error from the last 24 hours. Aggregate the errors by cause and generate a report for me including a list of detailed follow-up tasks for actionable issues." Something even this simple will show you just how powerful these agents can be at finding work to be done and giving you something you can simply throw to another agent. And from here, you can evolve into automating this, uh having it raise tickets, having that [24:04] get dispatched to agents on its own, and getting yourself more and more out of the middle of that loop and more into the end state of curating the product. And then ask your agent to document that vision of the product, the audience, the features, and even the things that you don't want to do. Have it uh ask you questions and grill you until you get this documentation really refined and tight and aligned on uh new agent sessions so that you're not having to repeat these same mistakes over and over. 24:30 · Closing [24:31] And that, all together, is how your Monday morning report will begin. Thank you for coming. I'm really excited for the rest of the day. We have some incredible speakers that are all building up this narrative uh for Builders' Day and coherent towards this journey that we're on. Johannes is going to tell us all about building a software factory. B W will tell us more about learning from our agent sessions and building on them. [24:53] Boris is going to tell us how agents can monitor and fix production software. CJ will tell us about building declarative agents for our business. Corey's going to tell us how his journey from marketer to builder and how that went. And Shane will cap off the day with how we're building all of this at Prisma. [25:09] I'm really excited for the rest of the day. I hope you are, too. And we'll see you around. Thanks. >> [music]