Vollständiges Transkript anzeigen (4.148 Wörter)
Thanks for coming. My name is Justin Schrader. I in the old days used to write a lot of code, and I had a bad habit of releasing it as open source constantly. Um, but Standard Agents is the main thing that I'm going to be talking about today, um and specifically domain-specific agents.
Warning though, this talk does include some forward-looking statements. And as we know, that is often fraught with uh uh really bad predictions. So, I found this incredible series of postcards from the turn of the century, last century, um, where they were predicting what the world would look like in Paris in the year 2000.
And so, you know, we've got this completely directionally inaccurate one, some are directionally pretty accurate, um, others are eerily accurate. Um, a little creepy, perhaps. Some are sadly accurate. This was done in 1899, uh three years before the Wright brothers flew their first airplane, and you can see they had already figured out basically exactly what we were going to be doing a few years later.
But when we think about that, it's not hard to remember the industrial revolution. So, this was something I was unfamiliar with until just a few months ago. This is a factory at the time. And what you see down there at the bottom is a big, heavy, expensive steam engine, and then these like pipes and shafts going everywhere are called rotating line shafts. Turns out this is how factories were powered back then. Um they had a giant steam engine looks something like this and then in the literal walls of the building and underneath they would have something like this, like a giant shaft, and then individual workstations would have a belt that runs up to the shaft to provide power down to wherever the actual tools were that needed to happen. This is an actual picture from a factory back then which is just crazy to think about.
Um obviously this came with lots of workplace hazards. Um it was not even remotely safe. Um it had tons of inefficiencies in it but it did work and yet I happen to think that you are here right now. Um this is sort of where we are in this agentic era. We are sort of in the line shaft era of agents, where we take a giant model, we throw it to the middle of everything that everybody wants to do and then we sort of tie up each individual thing that somebody's going to do back to that main setup.
You could call this skills, maybe even MCP, right? Not that those are bad things, um but this is the way that work is being accomplished right now. And so, we really do sort of look like this factory. Whether you're doing a software factory or something else, it sort of looks like this. We really want it to look more like this, right? We want every workstation to have its own power supply and have its own workplace. But how are we going to do that? What is a practical approach?
So, my proposition to you is that what we really need are domain-specific agents. These are tiny little agents and they're built around one or two small tasks. So let's talk about what an agent is real quick, at least my definition of an agent, cause I bet if we go around this room and have you all write down on like a secret Santa card what you think an agent is, they're all different. All of you think an agent is a different thing uh when it comes down to the nuts and bolts. Here's my definition. A deterministic software that utilizes the non-deterministic results produced by models in pursuit of a desired objective which sounds an awful lot like a harness, right? And I think the distinction between these two things is like unhelpful. In fact, I think the word harness is like starting to lose its value as something that means anything precise. Really what we're talking about is an agent is a harness as software. Maybe you could think about an agent as an instance, um, but it's not that terribly helpful. So let's just call it a harness.
Now, the good news is that agents are really easy to build, right? They're super easy to build. You literally just need an LLM. You're going to do some tool calls. You're going to take the result of the tool calls, you're going to feed it back into the LLM. We all know this, right? This is the agentic loop. Um, but the reality of course is that agents are not easy, they're hard and they're hard for all kinds of interesting and boring reasons. Uh you need to orchestrate the loop and make sure things don't break during, you know, async stuff and you've got to do some provider abstraction. You've got to have durable execution for stuff fails, you can pick it back up. You can use fibers, you can do all kinds of stuff, right? There's all kinds of things that we need to do in order to make agents effective. So agents are are actually hard. So, what we tell everybody, especially here in the in the Bay Area, what we tell everybody is don't build agents. That would be crazy. What we should do is we should just build MCP servers. Right? So whatever your business needs to do, however it needs to apply its logic, you create an MCP server and you give all your employees access to cloud or whatever. And that'll work great.
But, the reality is when you go out and you just go around Main Street America, everybody is building agents. Everybody. Even the people who are building MCP servers are still building agents. Like the agent is behind the MCP call. They're, everybody's building agents. Why is that? I think there's three main reasons. One, is integration. People want stuff to be deeply, deeply integrated into their business process.
Two, is trust. They don't trust that the Claude God is going to do what it's supposed to when it has access to everything that it can do. And three is efficacy. They don't really care about how the work gets done, they just want the work to get done and get done right repeatedly over and over again. I have a a buddy who works at a an undisclosed large company and he said, "If I hand wrote my code on a napkin and then I tore it into little pieces, put each one in a different envelope, and mailed them all over the world, then back to myself, and then manually put the pieces back together, and then typed that into the computer, that still wouldn't be the bottleneck to shipping new features." And I even thought about that so much, um, that you know, the velocity that we have and that we've produced is not yet making its way into the actual businesses of Main Street America.
In fact, I have a map here. This is a map of places where AI is being used. Uh, there. I mean I'm I'm kidding but I'm sort of not kidding. It is being used everywhere but at this very surface level. And if you just like walk away from the big city for a minute and think about some blue-collar business, right? You know, here we got Blue Ridge Mechanical, heating and air. And think about what they need, they are running their business with all kinds of individual processes, right? They're doing some campaign management to reach the local community for when their AC goes out. They're doing lead capture and qualification, customer assessment, onboarding, sales forecasting, all kinds of different business processes that get put together to like actually make their business operate. There's tons of them.
And if you look at each one, each one is like a a line, a line that has a start and an end point. Some of them are really long, some of them are short processes, but there's a ton of them, right? A ton of them. And this is the business. Like this is the actual business that is running this HVAC shop. And they are completely uninterested in Claude God coming in there and owning that entire thing. Even if it completely works, it's unpalatable, right? It's it's too much risk for them to be like I have working processes, why would I do that? It doesn't even matter if it works.
So what we actually need to do is take an individual process, something like, you know, fleet maintenance management out of that HVAC system and build a proper process for it. You know, and it already has one. They're already using something to do this, right? So some sort of uh tracking of a service it of of the service issues, reporting of the issues, you know like when a truck goes down or something. Assess the priority, schedule some repairs, you know, update some records, return it to the fleet. That is the actual process that needs to get automated. That's what they want. If you come in there and you say, "Hey, I can that process, we can we can make sure that one is perfect." That's interesting.
So, integration, they want them deeply integrated into their business needs. The next thing is trust. So let's just like, you know, do the thing that all AI talks have to do and just run through the little pieces and parts here. You know, we have a model, that's our baseline. And then we go up, we've got a a system prompt. That system prompt is usually like "You are a helpful coding assistant." Then we've got some functions. These are like actual pieces of code that need to be executed. Often there's like a sub-prompt. This could this this could look a little different. But something like a sub-prompt for like tiny pieces of inference that need to be run somewhere else. Um then you have uh you know potentially a sub-agent which could be called. All of that, we'll call that classification, sort of tools, things that the agent can do. Then we have sort of more harnessy things like hooks, stuff that's going to happen deterministically at certain periods and points in time. And then, above that, we have agent rules, you know, how many steps does one side take or the other? So if you think about something like Codex, it basically is allowed to do infinite steps, right? It can just go forever. Um, but that's not interesting to our HVAC shop. That is not interesting. They don't want this thing to go forever, they want this thing to accomplish a particular process, and if there's a runaway, that's bad. All of that together we'll call an agent.
There's a couple more things. Often you want a filesystem for it to operate with and and some code execution. But let's say that that's sort of a canonical understanding of an agent at least in our terms. So what I'm suggesting is that it would be more palatable for there to be a Gmail agent, like one Gmail agent. It can check Gmail, it knows the whole Gmail API, it knows that thing inside and out, it's really, really good at Gmail. That's more palatable than a Gmail skill where I have Astra, I've told it some instructions on how to use Gmail, and now I'm hoping that it does the right thing, okay?
And there's a couple reasons for this. One, you know, if I ask my Gmail agent like "Hey, while you're writing that email would you go uh, you know check Twitter?" It will just say "No, I can't do that. I literally don't have the tools to do that. I cannot do that." But if I ask Astra to do that uh with a skill, it'll say "Yeah, you know, apparently the PHP node and railway have all been hacked, so I'm going to go ahead and shut down prod for you just as a preventative measure, uh while I'm checking your email," right? I mean it's a little bit of hyperbole, but not that much.
So, it would look better to have lots of small agents, a Figma agent, a Gmail agent, a Google Sheets agent, so on and so forth and all of these are tied in. They could be tied in with MCP, um but they are all tied in to an orchestrator. Um, interestingly, this is actually what GrogBot's doing on the on the under the hood. Has anybody seen this awesome talk? It's a great talk, highly recommend you go watch it, where they talk about some of the internals of GrogBot and you don't get to see this but there are tiny little agents that have their own little sub-tasks of domain expertise under the hood.
And it works. It works, it works really, really well. We already know this because a lot of us are engineers from the old days and we know terms like, you know, "principle of least privilege", right? We know we know things like the law of Demeter or composition over inheritance or separation of concerns. These aren't new ideas, they're just not being applied evenly right now. Or how about like landing on the moon, right? This was like a person who landed on the moon, but behind it were a whole team of individual experts who knew their particular domain expertise so well that they got put together and came up with expertise. Look at this, this is a Apollo 11 launch day, and I found an agent, there's an agent right there, and there's his tools, right? And here's the messages that are in the tool stack. Like it's the same thing. It's like biomimicry here.
So back to our factory, what actually solved this problem for the industrial revolution? Well, it was the electric motor. The electric motor solved this. This is Tesla's induction motor, and now you could put power at the individual operators desk or or machine. That's what finally fixed it. Now, the third thing is is efficacy. I don't know about you, but these benchmarks are just getting wild. They're they're they're so untrustable, it's insane. Uh, I mean, this one says basically that DeepSeek 4.1 Flash is better than Fable. And this is deep sweep, which actually was a really good benchmark for a long time. I'm not saying that it's a bad model, it's just definitely not Fable, right? Um, and you know here the Astra is obviously the the best model in the world, you know, according to Humanity's last exam. You basically can't trust any benchmark that's out in public, right? We know that.
And that HVAC shop really doesn't care. They really don't care about this. Diogo had this wonderful, um, quote and he wrote an article about it as well. "People know, I'm very much anti-public-benchmarks - even when we're ahead, so wouldn't recommend believing them blindly. The biggest victim of benchmarks is exactly the target audience, the people too busy to play with the models themselves and get a get a feel for their intelligence." Right? This is one of the reasons that AI is sort of confined to the Bay Area right now. He also wrote a great article about it, highly recommend you can Google it. This article has 26 likes. I don't know how that's possible, but it's it's fantastic. Um, and and in there he also talks about this idea, the streetlight effect, which is basically, um, intended to say that when there's a problem, you look for the answers in the wrong places. You look for the answers in the most obvious places, even though you know it's the wrong place. So, a drunk guy who loses his keys, is going to look for it under the the the street light even though he lost his keys somewhere else. And that's sort of what we're doing with models right now.
Efficacy as something that needs to be driven for, is really pretty simple. And it's great if you can break down an agent to the task or the business process, because you can eval that exact business process so much easier. So if you think about the Gmail agent, it's not hard to write evals to make sure that Gmail gets checked perfectly every single time. It's really hard to make sure that Glog God is able to do that same process every single time when it's full of all kinds of other context as well. So that's you know one really important consideration. Another one is the fact that the models are jagged, right? We hear this term a lot. And basically this just means that sometimes some models are really good at stuff and really bad at other stuff, and it's not like a consistent experience on what they're good at or bad at. Well, we can use that to our advantage. Um, this is a a fun little this is a a fun little project that I have called Model Zen Garden, um which is supposed to be a a hearken back to the old CSS Zen Garden where you could compare websites, how they wrote CSS like from the 1990s. I'm old now. Um, and here you can see basically every single model is given the exact same prompt and you get to see how they perform on you know, a a little 3D generated world. What you just watched was Soul 6.1, and this one, I would argue, is substantially better. It's a it's a much more beautiful place. The grass is waving in the air. The light looks right. It's quite nice. The difference is that this one was done with uh 10 cents HY3 model, which is not a good model. It's like bad at almost everything. It's amazing at 3D stuff. This whole generation, this entire world cost 60 cents for 10 cent to generate, um, and it and it's quite good.
So what you can do when you have small domain-specific agents, is use those models for whatever they're good at, right? And you don't care that there's a better model out if that one did your business process right and affordably. So, you get far more efficiency with your tokens if you do this if you break your problems down. Um, in our own little benchmarks, which this none of this is public information yet, we're seeing, you know, substantially reduced token spend on all kinds of, you know, small tasks. You know, get an email from from Debbie and and you're going to see dramatically uh smaller token spend. They're also just way more efficient. They can be super fast, super cheap. This is cra this is a crazy stat. Um DeepSeek V4 Flash is 137 times cheaper than Fable per task. Per task. That's crazy. Now, here's the problem. You can't take DeepSeek and expect it to work the same as Claude, right? But what you can do, it's plenty good to do that, uh you know to like manage the fleet of of cars or something like that. It's very, very good when you give it small tasks. So, integration, trust, and efficacy. Now, I I did lie a little bit about this motor. That actually wasn't what caused the factories to change. Um it actually had nothing to do with the electric motor, well that's not true, it had a lot to do with the electric motor, but when they came out with them, what they did is they just replaced the steam engine, uh with the electric. And that's a bummer. That's a bummer. So for about 30 years after the induction motor, we just kept doing the same thing. And this is very much in my opinion like upgrading the model in the middle of all your skills and everything. It sure it works, it's slightly more efficient, it's fine. Um, but that wasn't actually what revolutionized everything. What did it was standards. Um before that, if you wanted to use an electric motor in your in your factory, you had to create the motor yourself, because there was no standard for AC or DC, for frequency, for volts on AC, for how many amps we would use. There was not none of that was standardized. And so for a very long time, it was way too expensive to actually use electric motors. Fortunately, that got solved eventually, and standardized around the standards we still use today. So, in in the United States, 120 volts, 60 hertz, um or 220 volts. And and that is still how it works today. So, this is an actual bench mill from 1910 and this is a bench mill from 2021. These would be like actually interchangeable with each other, uh in terms of the the electrical power going to them, which is really really remarkable.
So, these domain-specific agents are definitely coming. They're not you know far in the distant future. In fact, you're already starting to see things moving in this direction. Just the fact that, you know, internally GrogBot's using that, so I, you know, I predict we're definitely going to see a lot fewer uh tools that come out that let you pick your model. Who cares? I mean, I care, because I'm a nerd. But who who the Hvac company literally doesn't care what the model is. In fact, it's analysis paralysis. They don't want to know. They just want to know that it does the process right. So, in order to make that happen, the unlock is of course standards. We need standards. There are no standards for building an agent right now. We are completely inventing this. Um, I believe that agents need to be domain-specific. That's going to be far, far better in the long run. Um, they need to have a full harness that's that's editable. Like if I install somebody else's uh agent, it should it should have the same functionality and the same harness on my machine as it did in yours. They need to be portable. I need to be able to NPM install an agent or pip install. I need to be able to install an agent and they need to be vendor agnostic. But when I install one, it should run on the same model from the same provider at the same quant. It should be all exactly the same, so my efficacy is guaranteed. And then, of course, they need to be composable. There need to be standards around how agents talk to each other in a standard way. There are some obviously out there now, um, but we need more. So, uh at my little company Standard Agents, we're a small team. We're trying to crack this. It's really crazy. We'd like to put out an open source spec, um, soon for exactly how to build domain-specific agents and the goal would be for there to be an actual runtime, um, where you have a a runtime you can install agents into there, and there'd be competing runtimes just like there are for Node or Python or any these other ones. Um, I have three minutes left. I'm out of time, but if we have we probably have time for like one or two questions, if anybody has any. Yeah.
Yeah.
The question is, you know, these the models are changing all the time and right now like a new frontier model comes out and everybody has to upgrade to it basically, um or or not. And like how do we have any governance if we're going to use a whole bunch of different models across our fleet. This is a big this is a big problem. Um, I think what we need to do is basically have platforms for this where you you know, your business, like your IT department is able to see all of the small agents that are running within it, and they are able to have jurisdiction over both Evals like a new model comes out, if it's domain-specific, you should have your own evals, non-public benchmarks to know whether or not something is going to work well for your business process or not. But then beyond that, because all you care about is efficacy, you actually shouldn't care about the upgrade. Until your model's deprecated, doesn't matter. It just doesn't matter, it does my business process right, let it sit until they deprecate the model. So, thank you guys. Um my time is up.