Transcript 0:00 [upbeat music] Welcome everyone to episode 14 of the Intersection Forward podcast. 0:23 Uh, you have your three usual hosts here. Um, you have Hamiss, investor. You have Brendan, the founder, and you have me, um, the philosopher. And, uh, yeah, we're excited to see you guys again. 0:33 It's been a bit of a, it's bit of, been a, a bit of a couple of weeks since we last posted, uh, our last episode, but we're back at it, um, and excited to bring a new episode for you. 0:41 We're gonna be discussing two topics. Um, and if things usually go the way that they usually do with our conversations then we just get to one topic, but hopefully we get to both of them. 0:49 But one of those topics, and the first one that we're gonna introduce, is limitations of AI agents. Uh, I think it's timely. 0:55 We're seeing a boom on AI agents, um, but there's discussions around whether this is just hype, whether there's substance behind it, how much can AI agents do, what are the limitations that they have right now, and I think it's interesting to dive a little bit deeper into this. 1:07 And if we have time, at the end of the episode, we're gonna talk a little bit more about meme coins. 1:11 Um, we are living through the craziest meme coin bull run that we have seen probably since '21, um, maybe even before that, and a lot of money is being made. 1:21 A lot of, uh, funny money is being tossed around, um, and it's worth also a deeper discussion as well. So without further ado, let's jump into the AI agent topic. I'll pass it on to you, Hamiss. This was your idea. 1:32 This was your, your proposed discussion topic. So, uh, explain to us, um, where do you wanna take this conversation? 1:38 What are some of the, what are some of the things you wanna ask our expert witness here on Brendan, our AI expert? Yeah, absolutely. Thanks, uh, thanks for the intro, Sam. 1:48 So I actually first heard about agents from Brendan on the podcast. Uh, I think this was when you had just come back from the summit, from the OpenAI summit. 2:01 Um, and you were talking about, hey, like everybody there is like super focused on agents, like that's like the next wave of, of startups coming out. Um, and so I'm by no means like an expert on the topic. 2:12 I'm very like curious about it. I've been learning a lot about it. Uh, and we've been internally, you know, testing and trying to, uh, get our-- wrap our heads around it. 2:22 Uh, but, uh, in, in simple terms, uh, you know, the first, um, mainstream use of, um, these models was to create a chat interface where you would ask questions or pose, uh, prompts, and you would get chat responses. 2:39 Uh, but the models behind it could-- couldn't do much more than that. 2:45 They were kind of restricted to this text environment, um, or if they went beyond that, it was still kind of like a, uh, a one-way street where you would get video or text or images. 2:58 But they weren't really able to push, uh, something beyond that. 3:02 Uh, but the, the main attraction of agents is that they're able to, uh, do a lot more than just give you back text or, um, content of some type, and they're able to actually, um, do some of the functions and some of the processes that a, a human might be able to do. 3:21 Um, and so it's a fascinating topic of how these models can now be used for much more complex and impactful, um, applications, uh, that go beyond just sort of like content creation, uh, in simple terms. 3:37 Um, but there's, just like with most of these, uh, really big changes in technology, there's like two camps. 3:45 Um, there's a camp that thinks that the whole world is going to be, uh, different, uh, moving forward, and this is a very serious, um... This has very serious implications for the world. 3:56 And there's another camp that feels that the impact or the potential is a little overblown. Uh, these agents are still very simplistic in what they can do. 4:07 Um, so I-- what I really want to focus on is getting into, uh, the specifics of what might, um, 4:16 make these technologies limited and what might be misunderstood on how much they can already do, uh, because I think naturally people either overestimate it or underestimate it, uh, any technology. 4:29 I'd like to get us to like accurately estimate its potential, like somewhere in the middle, um, is usually where it is. So I couldn't think of a better person or a better group to have the discussion with. 4:41 Um, so first question to Brendan would be, um, help us understand, um, what you feel, um, is today the most likely use of these agents, and maybe you have some examples in front of you. 4:58 Um, and where-- And then we'll take the conversation into some of the limitations, uh, for what we see today. 5:04 And, and maybe just for, for context too, even if you take a step back and just give a quick one-on-one- Definition...two-sentence definition of what an agent is. Yeah. Yeah. So I think we've-- 5:15 There's a, there's a right definition. There's a useful definition, I think, for our conversation, and it's that an AI agent is the next generation of what today we call copilot workflows. 5:27 Copilot workflows were kind of the first valuable use case on top of these large language models. These large language models ate a bunch of the internet's text. You ask a question, it spits out an answer. 5:40 If you were to run that in a loop and say, "Here's an objective I have. Can you spit out an answer?" 5:48 And then spit that answer back into the large language model and try to assess was that the right answer, continue to a- to refine that, that effectively is like the simplest version of, uh, of an agent. 6:00 It has some level of perception, which the simplest form is text.Some action it can take to generate more text is the simplest form, and then some architecture, which is typically an LLM, which is recursively or using some methodology continuing to re-ask that question or use tools or re-perceive the world. 6:20 Um, so there's variations of this, but we're now moving from Copilot, which is human in the loop with the agent or the LLM assisting users into these agentic workflows where there's effectively an objective function the user sets, and they are using at their disposal some perception functionality. 6:40 Hey, can I retrieve the current weather? Can I retrieve the current text input, the, uh, screenshot of the user's browser? And then can I take an action? Can I order a pizza? Can I send an email? 6:53 Can I write a draft report? Those are the kind of primitives that we're kind of building up right now. The typical agents that are like in the wild right now have fallen into mostly a sales bucket I w-- I've seen. 7:09 These are well understood problem sets. They are repetitive in nature. They are not mission critical. If you send a, a poorly written outbound email to a, a prospect, you're not gonna get dinged for it. 7:21 We're not in the medical industry or legal industry or fi-- or fintech. So I think a lot of that has allowed people to build quite quickly to test these in the market and then improve them. The APIs are well understood. 7:34 You have your HubSpots, your LinkedIns, your Google, uh, ads. 7:38 So for some of those reasons, the kind of the agents that have found their way to success have typically been in these sales BDR style roles, um, but they're starting to creep into other industries as well. 7:49 That's a short. So what would be kind of the difference then between automation? Um, because the sales automation tools have been there forever, right? You can create- Yep. 8:03 -kind of a, a flow, send an email to this person using these- Yeah. -keywords. If they don't respond ten minutes later, you know, send them another one. 8:12 Are we saying that it's like a next version of automation, or is it like something completely different? I, I think that, yeah, the definition falls on the, the team. 8:22 You, you might argue actually that some humans maybe aren't even, uh, the AI agent level. 8:28 Some humans might require any, any deviation from the path that they're supposed to follow, requires them to go back to their, their manager and say, "Hey, what do I do given this happened?" 8:40 That is, that is effectively a lot of these like workflow automation tools or, uh, uh, is it RAT or there's some word for it, um- RPA. RPA. 8:51 Yeah, RPA tools over the last fifteen years that have found their way to success. Um, yeah. There's just basically a graduation from RPA to dynamically defined RPA. 9:02 And that level of guardrails is what makes them valuable. That also is what makes them constrained or not valuable in many cases. So for a lot of industries, we want guardrails over the RPA workflow, the agent workflow. 9:15 For other industries, uh, it's more valuable for it to be open-ended and for the agent to make some of that decision-making process. I think there's a open question of 9:24 how much of these workflows can be truly agentified, given that a lot of the business process is not a right or wrong answer, it's an opinionation. 9:35 So I think a lot of people f-found success in using RAG, Retrieval Augmented Generation, to seed what is the right workflow to be done, given historical, uh, telemetry. 9:49 So if you have, you know, a thousand reps that have emailed people in this fashion, you don't have to tell the system, "Hey, when you come across, uh, someone in fintech in the New York region, I want you to use a Boston accent," um, or whatever. 10:02 You might just say, "Okay, I pulled in all of the semantically similar conversations we've had to reps in this region, and there was a Boston accent, so I'm gonna go ahead and, and use that as the, uh, workflow, uh, definition or instruction set." 10:16 Yeah. Brendan, I have a, I have a question here. So help me understand this. 10:21 Let's say you have an arbitrary task, um, and that task involves calling a certain a-amount of APIs in a given order, and then you need to take some action on those APIs, and then you get a specific outcome. 10:34 Let's say you're able to define that entire workflow, right, uh, for the agent to take. 10:38 What needs to change at the agent level, at the model level, I guess I should say, um, for the model to be able to interact with those tools? 10:45 Uh, and maybe instead of one step is not an API, one step is actually going in and clicking on some buttons in a given browser, and then based on that information, calling an API and then making a phone call or whatever. 10:55 But let's say the steps are well defined. How does the model itself need to be either fine-tuned or pre-trained on some specific data to be able to be adjusted to use those tools that are defined in the workflow? Yeah. 11:09 I think that I simplify it down to three steps. A perception problem, an architecture or an intelligence problem, reasoning, and then actions. The simplest one is perceive. 11:22 Do you have access to the browser, text input, sensory data to actually perceive the environment? Do you have some reasoning functionality through an LLM, through a predefined set of if this, then that? 11:36 It doesn't have to be a language model. It could just be an if, if case statement. And then action. 11:41 Do you have an API endpoint that you can hit that is defined and, like, available to take that action, generate text, send email, draft query? Uh, those three are basically the three kind of setups that you need to have. 11:55 And then the game is just give it better perception, give it better models for the reasoning engine part, and then give it more tools and actions. And then the rest is business SOP, right? 12:06 Standard operating procedure.I love, I love that simplification. That's really good. Uh, would you say- And this is a human too, right? Like this is, this is not- Yeah, yeah... just agents. This is like any... 12:16 And you didn't even have to find this as an agent. This could just be RPA. There's a perception, there's an architecture, and an action. RPA, though, the architecture is codified. 12:26 The agent, we've just non-codified the, the architecture. Mm-hmm. Yeah. Okay. This is good. Um, and what would you say, so if we were to answer kind of like the title of, of the opening theme, where is the limitation? 12:39 And I, I love that definition of perception, reason, and action. If- would you say the, the, the, the limitation is at, at the perception aspect? Like how do you perceive the world, um, to be able to take a given action? 12:51 Or where do you think is the limitation here? Depends on the industry. Depends on the workflow. I'll give you an example. Perception is extremely hard for, uh, self-driving cars. 13:02 Reasoning and architecture, extremely hard. The action is a, there's a fixed set of actions. Turn the, turn the car left, turn the car right, uh, press the pedal faster, hit this, the brake. 13:14 There's, you know, seven to eight actions that can be taken. Um, and based on perfect perception, perfect reasoning, the action is actually quite simple. 13:23 Um, I think there's other workflows that the number of actions you could take are insanely high, and that would not be the case. There's other ones that I think perception's like a solved problem. 13:34 Reasoning, uh, might not be, or the action might not be there at all. So i- it's extremely business specific and industry specific as well. Mm-hmm. Yeah. Yeah, that- What-... that, that obviously makes a, a ton of sense. 13:48 Um, help, help us understand, uh, because, uh, when one of the things that I've seen from, you know, the partners or the technologists that we work with is, uh, they're quick to kind of brush it off as a, you know, 14:07 a overly hyped RPA, uh, function. Um, and I think it's because they're looking at version one of the technology, and they're saying, "Oh, that's not so great, so it'll never be great." 14:19 Um, how, how do you get past that, uh, point? Like what needs to improve, not just, uh, use case specific, but like what are the main places that you think are the easiest to solve in these three buckets? 14:35 And like, what are the more difficult things to solve, uh, in these three buckets? I think the-- Again, I think it's too spe- too specific to like a, a use case. Okay. Okay. 14:46 But I will say like the most value that I've seen out of companies is through u-UI, user interfaces, right? 14:55 You can deploy a better model, give it more context, which is effectively the reasoning part and the perception part, but if it is not transparent to the user... 15:04 The same way that if I were to hire a new employee, I always like to just translate this into like a human equivalent. 15:09 I hired a really smart, you know, PhD, and I gave them our entire code base, all my emails, all of our Slack, our Google Drive, our S3, all of our company data, and I gave them a really hard task, and they come out and say, "42 is the answer," right? 15:26 "You need to go do this one thing." I, I can't do anything with that. I don't know, are they just really smart, and like I can just go take that? 15:32 But if they can walk me through using some graph, some here's what I did, then I did this, here's why I did this, and that some type of interface where they sit me down, and they walk me through their thinking, that's valuable. 15:44 'Cause I can then say, "Okay, wait, actually this s-subsection, I didn't give you the details you needed there. Really, this is the new value. It's not codified anywhere. Here's, here's how we need to adjust there." 15:55 And then that, I think, is where people are able to see value. That's why it feels a lot like a copilot for a lot of use cases, is when you have 15 of those small like fixed points, we call it a copilot. 16:07 If you can do that entire workflow and you fix it once, that's kind of agentic and the less kind of interventions you have, the higher trust and the more agentic it feels. 16:16 I think that's where we're seeing a lot of value. Hmm. Have you guys, um, 16:21 used an agent or like is there one that you've experienced that you're like, "Yeah, this, this is the first version where I don't, I don't call this like an, an AI chatbot, I'll call it an agent." Yeah. Yeah. 16:32 We were, um... You know, we have a, a lot of, uh, engineers on our team, um, and I love them, uh, but I hate running engineering teams, right? It's, it's just very, you know, time-consuming, expensive. 16:48 Everything that I think is simple takes too long to build, right? Like there's, it, it just takes a lot to run engineering teams. 16:56 And, uh, so we've been experimenting internally, uh, on trying to build solutions that can make their productivity not 20% or 30% higher, but 10X higher. 17:09 Um, and where it really clicked for me, uh, was when I started seeing the agents speak to each other. Uh, that's when it was a little freaky, but that's where the light bulb went off. 17:24 Uh, because we, we've tried for, for many months, uh, to have them use, you know, Copilot and have them use other tools like that. 17:32 Uh, but what I always felt that there was hesitation was that it took so much time to communicate with the model that after two, three attempts, the human would just give up in trying to explain what they were trying to explain. 17:48 But where it really clicked for me is, you know, we created a product manager agent, then we created a architecture agent, and we created a quality assurance agent. 18:00 And when they were speaking to each other, there was no limit to how long they would keep talking till they got the requirements down.Right? And they got the quality down, and they got the, the code base down. 18:13 And so that's where it really clicked for me is because I always felt that the fatigue that humans have with communication would be the limitation. 18:22 Um, but what if it was one agent speaking to the other one, making sure the other agent understands, and not stopping until it does? 18:30 Um, that's when I was like, okay, so I could be sleeping and they'll run 50 sprints while I'm sleeping, and then when I wake up in the morning, they would have solved the problem. Um- Yeah... 18:42 so that really, that really kind of, uh, did it for me. Um, yeah. What, what came out, what came out of those, uh, agent conversations? Like, what was, uh, what was the objective that you defined here? 18:53 Was it, like, documentations, requirements for a product, or what exactly? No, we gave it, uh, we said, "Make me a calculator." 18:59 Um, and then there was a specifications agent that wrote down the specifications and passed it on to the architect agent. 19:08 The architect agent wrote down how the architecture should work, what technologies they would use, and then passed it on to the QA agent. 19:15 The QA agent wrote all the unit tests and the acceptance criteria, then passed it on to the developer agent. 19:21 The developer agent wrote the code, and then the QA agent tested it, and they kept going back and forth until all the tests were, were cleared. Right? 19:31 And it, it was freaky because they were telling each other, "Oh, good quality code. Good work," right? And I'm like- Mm. "You, you're, you're a computer," [chuckles] right? Like, what are you guys doing? 19:42 And so that I, I, I agree with Brendan. Like, if, if it all had happened in the background, like they'd just given me a calculator, it would've been a different kind of, uh- Yeah... experience for me at least. 19:54 But when I saw them, like, talking to each other the way a team talks to each other, that's when I was like, "Okay, this is weird, but this is interesting." Um, that was really like- There's actually- Yeah. 20:08 There's actually some reasons why, and this is a spit of speculation, but there's some reasons why we believe that architecture works well. 'Cause, 'cause it-- you call it multi-multiple agents. 20:19 I, I, I, I'd call it one agent that, like, the architecture is to, like, break the problem up and then solve it using subproblems. 20:26 But re-regardless of, like, the definitions, the reason that probably is a, a good architecture is the training data- Mm-hmm... is, is that, right? 20:36 If you were to, like, take the corpus of the internet, a majority of the internet is a conversation between business units of people solving a problem together in Reddit, in GitHub, in a forum, and it's, "Hey, I'm John, I'm a, a data architect, and here's what I believe." 20:53 "I'm Todd, I designed it, and here's why I dis- don't, don't agree with that." 20:57 And I think that's, that's why that architecture desi-design has actually performed quite well is, is maybe because, you know, humans are really good at, you know, deciding how we organize each other or, you know, it's just a, uh, a shadow of what we are, which is, um, the internet, and it's trained on all the internet. 21:14 So if we architect it like the internet, then it's probably gonna produce human-like results. Mm. Mm. So- That's a good-- I like that thesis. I like that thesis. Mm. Mm. Mm. Um, okay. 21:26 So let's say, Himesh, you went from build me a calculator to 21:30 build me an arbitrage bot to trade on these venues with these specific parameters, um, on these specific situations and these specific dates with this amount of capital and give me this return. 21:40 Point being, when the complexity of the task at hand increases, even if you have the same architecture, where does the system break? Back to the limitation discussion, right? So- Mm-hmm... 21:51 what breaks first, do you think, in this architecture that you defined? Do you think it's the, the re- the product requirements that breaks first, the access to APIs that breaks first, um, I don't know, the QA? 22:02 Um, and why is that failing? Mm. I, I, I don't know if you have the answer for this. Maybe this is more- I do. I do... a question for Brendan, but where do, where do you think this breaks when the complexity increases? 22:09 Yeah. I do because, like, building a calculator app is not obviously the, the goal, right? The goal is to be able to go into a very complex business with a lot of history and be able to solve this problem for them. 22:23 And so where we now are completely focused, um, is on memory because, um, for an MVP, right, like memory is less important. Uh, but for the companies that we work with, some of them have been around for forty years. 22:38 They have forty years of code and forty years of knowledge and forty years of best practices, and we need a way to, uh, have perfect recall and perfect memory of all forty years to be able to be very, very effective. 22:53 Um, and so we, we have now come to the conclusion that the architecture that Brendan was, you know, describing, uh, we think the architecture works. 23:02 We think that it, it, it-- but, and the, and we actually think the, the model and the reasoning is actually, we think, very good. Yeah. Where we feel that, at least right now, all the, 23:15 um, I guess, all the alpha is going to come from is how well we can figure out the reas- uh, the, the perception part. 23:22 Like, how much perception can we give this, and how specific can it be to each company that we work with? Um, and so we've completely shifted focus, and we're like, "Let's fix the perception problem." 23:35 I wasn't calling it that. Brendan obviously explains it much better than I do. Uh, but we were calling it just memory, and we were like, "Okay, let's solve the memory problem." 23:44 Because if we can crack that, uh, it was writing perfectly fine code, uh, from, from what we, what, what we see, but where it was lacking is after, you know, a couple hours of coding, um, it would start to-- it felt like it would start to forget the requirements, or I think it felt like it started to forget, like, what it had written before. 24:06 Uh, right? Sure. So it was more the, the perception problem is what we're really kind of focused on.Um, the-- I think reasoning is, is very good, and the actions, um, are the, the tooling. 24:19 It actually would write the tooling itself, so it wrote the API connectors to whatever it needed to, uh, do. And the deployment, like, we can still deploy it pretty manually if needed. 24:29 Uh, but we can't manually feed it all the perception because there's just so much. And so that's what we're like really focused on right now and, and, and there's some really interesting stuff, uh, on that as well. 24:40 Quick, quick follow-up there, Hames. Um, quick follow-up. What model were you using, uh, for all these agents? Uh, we used multiple, um, and we found that some of the... 24:52 Well, I'm not gonna take like specific names, but like the non-OpenAI models were s- were more effective. Um- Okay. At least on the reasoning part. Uh, I think- Any open source models you used? Just curiosity. 25:03 Yeah, yeah, yeah. We used- Okay. -a bunch of open source models. Um- Okay. 25:07 We-- I, I, I couldn't tell you, uh, specifically, uh, the performance, but there is information out there already on which of these perform best for software development. Yeah. So we're kinda going off of that. 25:19 We haven't done any of our own benchmarking. Because again, like we didn't find that the code was bad. We just found that it was forgetting the context. So- So we're focused on like fixing the context problem. 25:31 I think there's two things here that I think are, are interesting, two threads. One is memory as in context window, and then the second one is access to a search space as in RAG. 25:44 Um, and I guess it's more of a question for, for Brendan here. 25:47 Um, the memory piece of like you're working a, a given agent is going at a task for a very long, long time, and then the context window starts to basically, um, shave off some of the things that were defined previously. 25:59 The solution for that is just like a larger co- uh, context window. It's not a trivial thing, right? Uh, that's like wh- Gemini's whole thing is like a massive context window. Um, but it's, it's solvable, right? 26:10 Um, on the other side of access to a massive search space for generation of responses. Um, I, I wanna, wanna get your thoughts here. Which one do you think to be-- Which one do you think is more challenging here? 26:20 Do you think that the issue here is on the context window, or the issue here is on the access to a large enough search space for a specific use case? I don't know, I don't think it's the right answer. 26:33 I'll, I'll fall back to like, again, I have, I've hit agent roadblocks for both in multiple different scenarios. So the 26:46 context window, it, it, it's again, kind of fa-- Another analogy which is helpful is, you know, computing. Like you can have CP... You can have a RAM, and you can have a hard drive. 26:59 And there's different scenarios where the person who's, you know, got a massive bank of knowledge, but their tasks are so constrained, small RAM, large hard drive. 27:11 You know, that's the setup that you need for that type of work. And you buy a different computer for a lar- massive RAM. You don't need a ton of, uh, hard drive space because it's more of a compute-heavy workload. 27:23 Um, and that's the same reason why we buy different computers, is we would need different agent architectures, which is just a different setup such that you're at a, a good place to get the outcome. I think what is... 27:35 So the, so like the, that's the, the two, the, the non-answer I'll give. The other thing that I think people are thinking a lot about right now is, you know that there's an issue with RAG. 27:45 You know that there's an issue with context sometimes. We definitely don't know at runtime which one of those is gonna be the problem or when you've hit that problem. 27:55 And I think that is like a large body of work is going into, like, when do you know you've hallucinated? When do you know you've pulled in the wro- the wrong context in your RAG application? Mm-hmm. 28:06 Can you know that at... Can you like say, hey, to the user, "I'm forty percent confident in my output because that was a massive amount of context you threw at me." 28:14 Or, "Hey, I'm super confident in what, what I pulled into the context using RAG because, you know, everything else that was semantically similar was so far away in our dimensional space that like this is definitely what you're looking for." 28:26 And any, any, any other issues have to be someone else's problem within the architecture. 28:31 And I think it's like, how do you now inspect, debug, provide visibility to just the user or to, to like the developer who's building these systems? 28:41 Because n- none of those two are solvable, but what is solvable probably is like knowing when you've hit one of those two limitations or at least providing some guidance, right? 28:52 Because like when I ask you, Sam, um, a very specific question about, uh, the latest blockchain, 28:59 maybe you're like, "Yeah, I have this huge bank of knowledge," but the question you asked is so bespoke and specific that like, "I'll give you an answer, but I don't know if it's even remotely right." 29:09 But you might have a different answer that you give me, which you're like, "This is one thousand percent right. I can tell you when I give you the answer how right I am." 29:16 And now I'm like, have to vet you on some other component of like the, the input/output of a- Mm-hmm. -of an agent. Mm-hmm. 29:22 So I think it's like, how do we start associating confidence in, you know, some level of risk of the output, not just did it answer or not? Is that possible? 29:32 Like, is that possible to get a confidence number out of the model as it gives you an output? It's not, it's not trivial today. There's not like a company who's like, "Hey, we have LLMs plus this." 29:45 I know Google does have some stuff for classification sco-scoring. 29:50 Um, there's a relevance factor that comes out of most RAG applications, which is like a cosine similarity from zero to one, and you can use that as a proxy for confidence. 29:59 There's a lot of hacks, and I think over time, you know, the winners in the space are the ones who like figure out which are the best hacks- Mm-hmm. -productionize those, and then really pull that into the, 30:11 you know, into the future.I-is there a world in, in which that's just like very clever prompt engineering? 30:16 It's like, "Hey, [chuckles] whenever you're gonna give me a response, give me a, a, a, um, a coefficient from zero to one on how confident you are," and then you define what confidence is and so on and so forth, and you give examples. 30:26 Is, is there a wor-- Like, be-because I, I've grown- Yeah... a little intrigued by how many things with models can be achieved by just really clever, uh, prompt engineering. Is there a world- Yeah... 30:36 in which this is one of those things, or is it just like, I'm gonna hallucinate on my own confidence about my responses? [chuckles] No. 30:42 It is, it's easier, and this is like studied, it is easier for the agents or most LLMs to know if their answer was right or wrong than it is for them to generate the answer in the first place. 30:53 Like, there-- You can show time and time again, generating the right answer is a harder problem than verifying that answer. So if you u- by that logic, oh, nice, we got a little background colors. 31:05 [chuckles] Um, by that logic, 31:07 a lot of people use more intelligent agents to generate and then these quicker agents to validate, and that's a, that's an architectural decision that some, some teams make, and they can do that through agent chain, through an, a self-corrective RAG application. 31:22 And I think this, like, how do you com- turn into these components in these blocks? 'Cause right, we've done this from day one, if you think of, like, computing. 31:32 We didn't go and reinvent silicon every time we wanted to make a computer update. We said, "Given what's currently out there, can I stitch together a TSMC chip with an L3 cache with this, that, in a NVIDIA GPU?" 31:47 And then we got to a point where no, we can't anymore. We have to invent TPUs. And then we Googled the TPU world. And then we went pretty far with that, and then we said- Mm-hmm... 31:56 "Okay, we've hit all of our limitations. We can't stitch and, you know, constrain. We need to go back to the drawing board and reinvent, like, the architecture." 32:04 So I think the AI, AI as an industry is grab what's out there, you know, scaffold it together, put it into production. Is it valuable? Is it working? 32:14 Keep tuning that, and then say, "Do I need to, like, go and make this a research problem and go fine-tune, go do a new architecture? 32:22 Or is this an engineering problem, and we need to just get it, give it, you know, more context, access to more systems, more tooling, um, more UI elements for the user to give feedback?" 32:33 Um, and there's, there's definitely not a right answer. Uh, it just depends on the industry. But do you see a lot of, um... 32:39 Because it sounds like that's, that, that, that usually is one of the bigger concerns that we get when we, you know, talk about this with especially technologists, like CTOs, um, is that spark checking it is very difficult, especially if the context is, like, massive. 32:56 If you're talking to it about something simple, like you can spark check it and say, "Yeah, that doesn't sound so right." But when it's just working off of something really- Yeah... 33:04 complex, there's no way to spark check it. Um, so shouldn't this be on the roadmap of like all of the user interfaces on top of any of these LLMs? Um, right? 33:15 Like, because wouldn't that make people so much more confident? Even if it's saying- No... "Yeah, this is the wrong answer," like wouldn't that m-make people more confident? I think an engineer would say yes. 33:26 I think most people think they want evaluation, and I th- th- Let's walk backwards. 33:33 Do you, when you have cust- like your teammates that have like quantitative workflows, do you go in and, you know, check all of their work and give them a graded piece of- [chuckles]... 33:44 you know, tasking and say, "Hey, did they do it to this bar? And we have a quantitative metric for this." You have a conversation. That conversation either points you directionally in the right area or not. Mm-hmm. 33:54 Uh, there might be a quantitative metric. I think we're, there's a lot of valuation metric and techniques that are out there. I don't think that's a silver bullet, though. 34:02 Like you can have a perfect 100% accurate model by some evaluation metric, and people still aren't going to adopt this type of work, the same way that you could have someone with like a perfect GPA or some quant-quantitative metric on their resume, and then for whatever reason, you're still not gonna just take them at their, their word. 34:22 Yeah, and it's interesting too that you wouldn't expect like you have like a, a fantastic PhD on your team doing a given task, you wouldn't expect him to come to you and say, "Hey, this is the finished result, and this is my confidence percentage on how well I did," right? 34:34 Yeah. Um, I guess it's just a- Mm... it's a different way, form of interaction, I guess. But, um, okay. Um, I, I just wanna go back a couple, uh, topics a little bit. 34:44 When you mentioned that for different problems, the limitation is different, um, when it comes to comparing, say, a context window and/or, or, or RAG space. Um, and I, and I thought of a, of a good analogy here. 34:59 I wanted to run this by you, see if this is a good way of thinking about it. 35:02 Um, because there's, there's tasks for which the problem is the memory or the context window that you have to be able to process the, the, the task at hand, and there's other tasks in which the challenge is to be able to have a huge amount of data. 35:15 So- Sure... let's just say, for example, you're trying to find the largest prime, uh, ever discovered. That is a very memory-intensive, um, computation. You really don't need data, right? 35:25 You just basically compute, and then you keep memory of that computation, and then you handle that computation as it grows in complexity. 35:32 Um, an alternative to the one in which, uh, the, the challenge is the data search space is, I don't know, crawl on the web. Um, the, the specific data is, is like very v- or serve the search results, the specific data. 35:43 The specific task at hand is very, very simple. You probably don't need a lot of RAM, but you need a massive search space to be able to serve, uh, meaningful results. 35:50 Is that a good kind of analogy here to think about it in terms of data versus memory, context window versus RAG? Probably. I'd have to hear the quest- like the, the topic, but yeah. Okay. Okay. 36:01 And then on, on this, on this note again, um, you mentioned that the challenge again is, um, to be able to understand when a model is hallucinating, um, directly, right?Um, and, and an, an interesting idea that you mentioned is that you're kind of like setting up an adversarial architecture in which one model is generating, the other model is grading. 36:23 Yep. Um, have you seen any other approaches to be able to rate or identify hallucinations, uh, other architectures that are working well? 36:31 Because what I'm really getting from this conversation, and I think this is a good takeaway for, for any listener, is that a good way to start thinking about agents or AI applications in general is building blocks in which different models- Yep. 36:45 -are good at different tasks. Uh, you can have agency behavior in all of these different models interacting with one another to accomplish a given tasks. 36:52 Different business units, different chips, all to achieve, uh, a specific, a specific task here. 36:58 Uh, but then again, going back to the idea of the architecture, have you seen any other good archit-architectures to try to identify when a model is hallucinating or when a model is hitting some other level of limitations other than just the adversarial piece? 37:11 Absolutely. Everything humans do. I think it, it's, it's, it's such an easy solution if you just f-fold back into like how you solve it. So, for example, if a classic one is people generating SQL, 37:24 like there's a lot of SQL agents or, you know, data analysts in a box agents. You can generate the SQL. Easy way to validate it, does it run? See, does it run? If it does, that's up slightly verif- more verified. 37:38 Look at the results. Do the results look correct? Another one is, you said web research, and it-- you maybe ask a question, how old is Messi? 37:46 It pulls back the information and you're, you're like, "Great, I have the result." How would you verify it? 37:51 You'd probably say, go out again, find a different source, and if that source, you know, corroborates your, your point, that's verifiable. 37:58 So I think if, if you kind of fall back on like how humans do it, we found ways to do this sort, this sort of work, um, and it works. So I think like the first option I always think look at is like, how do humans do it? 38:09 Can we turn that into an agent? Um, and then after that there's like other fancy techniques. 38:15 One I'll share with you that we use is there's a company called Groq, which is known for just extremely, extremely fast inference. 38:22 So what this does is if the problem set is that generation's hard, but ve-but verification's easier, not easy, but easier. Can you generate fifty attempts at the answer 38:36 that are high, a higher temperature, so you're kind of creating some level of, uh, uh, variance in the outcomes, and then you have a separate model, then check all the work of those fifty and pick which have the highest consensus, which are likely right because generation's so quick and so cheap or so parallelized. 38:55 So that's like a very architecturally specific answer. Um, but there's a lot of decisions around-- and that's how people probably do that in their head, right? 39:03 They're thinking, "You know, I could do this, I could do that, I should do this." 39:06 But when they hear the right answer, it's a little bit easier for you to hear three different approaches and then pick the right one than it is for you to generate those three approaches. Similar for these agents. 39:15 They can pick, you know, three different workflows, three different outcomes, three different plans, and they're pretty good at picking the right one of the three and telling you why. 39:22 And I think if you lean in on that, you can parallelize the generation and then use the verification workflow, which is typically an easier one for the, the LLMs to do. Hmm. Yeah. 39:32 It, it's funny, like we keep going back to the same thing that, uh, is very domain specific. So you wanna verify the result of a given model. If the model's generating code, the answer is, does the code compile? 39:43 Uh, if the model is generating responses about the blockchain, the answer is, oh, is it actually exists on the blockchain, right? Yeah. And so on and so forth. So doesn't that... 39:52 Like it's, it's interesting because there are so many domain specific pieces to, to this discussion about agents and, and, and the way that models are interacting with one another and the architectures that you pick. 40:03 Doesn't that make you not necessarily bearish, but doesn't that make you a little bit more skeptical of how close we are to one model to rule them all? 40:12 Like an AGI type model in which a single model can perform and act across multiple, um, multiple use cases and verticals. No, because humans can do it, right? 40:25 Like, like, like as a human, I, I have some level of transfer learning from when I worked in industry A and now I'm in industry B, and just by seeing a similar problem set, I can reapply some reasoning or logic. 40:38 And I think you're right. If we only had one shot agents and models, which is like you get all of your perception, you get to think, and then you gotta give me an outcome, and I'll grade you on that outcome. 40:48 That, that would be probably hard, and that'd be like there's, that's a one model rules all world. 40:52 In a world where you don't have to have a one shot solution, you can make an attempt, generate a bunch of attempts, verify, self-correct, re-perceive, test the action, take, take a new action, then you can do what's called a exploration workflow, which is what AI was heavily invested in. 41:10 This is like reinforcement learning, which, uh, OpenAI did a bunch of good work here as well, where you have some environment and they learn the environment by playing, by taking actions, and the more actions you have to take in the environment, the more, you know, reasoning and more knowledge you have, and the better your ability to take the next action. 41:29 So, um, simply by having a okay agent that is allowed to play, allowed to in- interact with this environment, it could learn enough over time that it doesn't need a high reasoning, high functioning, um, underlying architecture model to, to get there if it has enough compute and, and memory to play. 41:52 So long as the- Which is what we do too, right? Hmm. So long as the problem is well, well-defined, right? It's, it's well constrained. 41:57 Like you're, you're telling the, the, you're telling the, the agent, "Hey, go play hide and seek in this virtual world that I created you." But you take that model out and say, "Hey, go drive." 42:06 Um, it's the, the, the context switch is not there yet, right? So I, I agree. I'm, I'm not saying that it's not possible. We- No, it is. It could, it could, though. Yeah, it could be, right? We just gotta let it play. 42:15 Yeah. It, it could be. 42:16 So it'll take what it learned from hide and seek, and maybe it doesn't apply a hundred percent, but the first forty percent is the same concept, and then the next sixty it plays and learns.Uh, that's what humans do is I, I think that was Brendan's point, is that when we switch industries- Yeah... 42:31 it's not 100% overlap, but the 40% gives us enough of a head start that we can fill up the rest. Yeah. So, so it's mainly about shortening- Rate of, rate of learning... 42:43 shortening the rate of learning- Rate of learning, yeah... uh, by just throwing more compute at it. 42:46 Basically say, "Hey, instead of, uh, taking, taking you, I don't know, 18 years to go from hide-and-seek to driving," uh- Yeah... 42:53 or not necessarily 18 years, but whatever amount of time it took you to drive after you learned to play hide-and-seek- Yeah... do it in a day by using a whole more compute than what we can use. Mm-hmm. 43:02 This is, this is probably nature versus nurture. Is it just the better model- Yeah... that doesn't learn as fast, or is it a shittier model that has a better teacher, a better architecture, and is able to learn faster? 43:13 Yeah. You know, may-maybe we're gonna make that same, uh, you know, philosophical discussion about agents. What's a better agent? So- One that's able to learn more, learn faster, but it's a, not a strong model? Yeah. 43:24 So you think maybe now the, the, the 43:28 modular, um, agent architecture that a lot of, uh, companies are exploring for a specific use case, use cases is limiting what a model can do and build the constraints around what the model can do f- to achieve a specific business outcome, but then the world of research is mainly on removing those constraints and just letting a model play around multiple environments. 43:47 Is that a good, good way to put the, the two contrasts here of a well-constrained- I think generally... well-defined objective and research? Gen-gen-gen-generally, I think, yeah. 43:55 Research tries to solve it at the model layer, and then industry tries to solve it by indust- like stitching, engi- making it an engineering problem. Hmm. Broadly. So Brendan, would you ever go into research? Just 44:09 would you ever just wanna do it? Abso-abso-absolutely not. [chuckles] I... Power to those people, but I don't have the, the patience to, to- [chuckles]... you know, pontificate around some solution- [chuckles]... 44:21 and then not see it through. Yeah. Yeah. But, but could you- Okay, well, um- Could you... Yeah. So- Me? Uh, before, before we move on, I'd love to understand, Brendan, from your perspective, like, 44:32 uh, one agent that you, one agent framework platform that you've seen, um, that exceeded your expectations and one that a lot of people have a lot of expectations from, but you know there's a lot of limitations to it, 44:47 um, that was, like, underwhelming. I, I'll ha- we have to-- We'll pass it to Sam. I gotta think for a second. Sam, what's, uh, uh, something you've been pleasantly surprised and still disappointed about in agents? 45:01 I have to think about that. Yeah. So to be honest, I haven't played with that many agents, uh, so far. I've been, I've been doing the agency piece a lot. 45:15 Um, I do-- I, I, I'm using models heavily for perception, for reasoning. But I think something that I'm, um, that I'm, um, 45:26 not necessarily disappointed, but I think there's a, there's an interesting gap to be closed there, is access to tooling. Um, it's really easy to call an API. 45:36 It's really easy to, um, make, maybe make some clicks on a website. 45:42 But when it comes to actually be able to exert agency over the world, um, in multiple domains, from driving to playing chess to taking care of your kids, um, it's, there's a long ways to go. 45:55 Or even, and, and, and even something more specific to, to my area of work in, in crypto, there's a long way to go from being able to give a model the ability to act agently on the blockchain. 46:05 There's actually a company, a really interesting company, uh, for anyone interested on, on looking into this, called Morpheus AI. Morpheus AI is trying to build on-chain agents. Hmm. 46:13 So basically, LLMs that have access to, to blockchain's permissions and smart contracts, so they can act within a given problem set. 46:20 Um, but I think when the problem set gets very specific and the tools they're using to argue the problem set are very specific, either online or in the real physical world, um, I think there's a massive gap to be closed there in terms of, um, tooling to exert agency over the world. 46:35 Mm-hmm. I think perception is also, um, is, is also not necessarily lacking, but I think, um, perception of non-digital, um, non-digital pieces of data is also- Mm-hmm... 46:50 or, or larger pieces of dig- uh, digital data, um, is also something that needs work. Mm-hmm. 46:56 But I think reasoning is absolutely fantastic, and I'm mind-blown every single time that I go interact with Claude or GPT-4 or Gemini. Um, but yeah, that's my answer. 47:06 I'll have, uh, I'll, I'll rephrase it just 'cause this is an easier one for me to answer, is what's underhyped and overhyped- Sure... in agents right now? No, that's even better. Yeah. That's fine. 47:14 Is, uh, I think underhyped, I said at the beginning, I'll say it again, is, like, the UI. I think we've... 47:20 We're a lot of engineers and time is spent into tr-tricking it, giving it better RAG, figuring out how to expand its memory and all of these, like, high reasoning and architectural decisions. 47:35 And if you just show it in the UI, there's a feedback loop that really makes this thing hum. And then what I'll say is overhyped is fine-tuning. I have yet to find a single company 47:49 that has fine-tuned a model and not regretted it- Mm-hmm... in like two weeks, three weeks tops. Interesting. Like, 47:57 by and large, I can maybe think of one or two that it actually made sense, and it's typically, like, the actual foundation model companies, like the actual foundational LLMs, to make function calling easier, instruct tuning. 48:09 Like, those, like, are kind of like broadly making use. Mm-hmm. 48:12 But fine-tuning overall has not produced value because every month a better model comes out that is a general purpose model that significantly outperforms whatever you just fine-tuned. 48:24 And I'm sure, like, that we'll reach a saturation point, but we're two years, two and a half years in, in fine-tuning.Is not producing value. 48:32 There's some o-odd exceptions, I'm sure someone will call out in the comments, but, um, typically you don't need fine-tune. Not yet. Do you think RAG is overrated or underrated or properly rated? Properly rated probably. 48:45 Depends on the use case. But I've never found one in fine-tuning that makes sense. Mm. Yet. Yeah. Okay. 48:52 Well, we're, uh, forty-five minutes into this conversation, and as per usual, we couldn't get into a sec-second topic. 48:59 Um, so we're gonna have to, uh, push that back to, to the next episode, hoping the meme coin market doesn't implode by then. Um- It won't... but for now, we'll leave you with this. Any final remarks, James or Brendan? 49:12 Final question. Fine. Yeah, final question. I know we're up on time here. Um, is the impact on human workers overestimated or underestimated? 49:29 I-- overestimated in the short term, underestimated in the long term. What do you think, Sam? I think it's properly estimated, and I think things are gonna change significantly, and I think we're starting to see that. 49:40 In what time horizon? Five years. Do you agree, Brendan? I think there'll be significant changes in five years. I don't, I don't know if there... 49:52 Because I think the u- the underlying assumption is like the impact means it's a negative impact on human labor. I actually don't know if that's true or not, and I don't have a super strong opinion there. Mm. 50:02 I think there will be roles that probably have high impact in a short timeframe that are negative. I think, like a, a great example, which we've heard in other podcasts, is architects that do CAD. 50:17 When the computer got released, people that did drafting in CAD, their, their job was supposed to go away completely with computers. 50:24 They became one of the most high paid roles, and they to this day still are a great CAD architect using a computer. 50:32 So it made them able to do twice as much work to get paid, you know, three times as much money, and they're still around, you know, fifty years after some of those early computing, uh, protocols. Mm. 50:43 So that's one where maybe people thought it would be going away completely- Mm... and it just made them better, faster, stronger, and more, uh- But if it did-... more valuable to society... 50:51 but if it did, then the number of architects needed went down, or the need of architects went up so much that even though they were three times more productive, there was just a bigger need. 51:03 Like, which of those happened? Bo-bo-both. Mm. 51:08 You, you were able to go from, we can only, only the richest people would be able to like hire an architect, and everything else was cookie cutter, to the cost to do an architecture drawing came down, and the ability to do... 51:21 It's similar with websites. Like I don't think a website developer got paid less in the last twen-twenty years. Like g-generally speaking, it just went up with better website technology, better tooling. 51:34 There, there's just more, more websites got created, and more developers came into the space, and we haven't seen like a, you know, saturation point yet. Mm. Mm-hmm. At least I haven't seen it in like developers. Mm. 51:48 I- Interesting... in, in this discussion, and this is a, a longer conversation for sure, and we can revisit in a future episode, but I just think that the 51:56 often called argument that, um, AI will create new jobs in the same way that previous waves of te- of technology have created new jobs 52:06 seems not super applicable to me or seems, uh- Which, which, what's, what's, what's one job that you think that wouldn't happen? 52:14 Very, very objectively, I think just to give an example of, of a job that a lot of people thought was untouching software engineering, I think QA is going away. 52:20 I think you're not gonna have, uh, QA engineers anymore, and I think there is a massive amount of QA engineers that are gonna find themselves jobless, and maybe a very few that are going to be extremely empowered by the tools. 52:32 So I think it's like, to your point, I think it's, uh- That's crazy. I think the exact opposite. I think QAs would 10X in, in terms of requirements. Yeah. 52:40 Because they're the ones- 'Cause, 'cause our code is no longer- Yeah, exactly... it's not deterministic. Yeah. Our code's not deterministic anymore, so you need more QA. Yeah. 52:47 But I think, I think- 'Cause the LLM based system. Yeah. I think to your point of, of, I, I think it automates the, the tail end of the distribution. 52:55 Um, so basically the top one percent QA engineers or for any specific profession become super powerful, and then they just... 53:04 I, I, I don't think the demand necessarily increases unless specific use case in which it increases. Maybe QA is that use case or maybe it's a different use case. 53:10 But I think a bunch of or, or, or a small number of professionals in a given area become extremely more powerful, and then they are able to start addressing the demand that was previously covered by a bunch of other people before. 53:22 And then all the ninety percent- Yeah, I would agree with that... 53:25 or ninety-five percent or ninety-nine percent- I would, I would think that like basically anybody with less than like ten years of experience, like they're the most, you know, ready to go because that's the kind of work, uh, that the agents can do very quickly and very, very really well. 53:42 Uh, but the more experience you have, the more specialized you are, the better off you are at running a team of agents instead of being replaced by the agent. 53:51 Um, so I think that gap, like university through to being like really good at your job, that's gonna be the hardest hit. Uh, but the people- Yeah... 53:59 who are like already past that point, like QA requirements I agree with Ben would go through the roof. But- Yeah... one QA, senior QA engineer will be able to do the work of twenty with a- Yeah... 54:10 like junior QAs being agentized. Um. I think similar to the architecture- Here, I'll give you, I'll give you, I'll give you another scenario, though. Think about this. You have a million autopilot 54:21 robots in people's kitchens, cars across the world. 54:26 The liability risk taken on a business to not have a human validate when a robot's about to do an action that they have a confidence interval of outside of the norm, they're gonnaAllow that to be an overseas decision to a, a, a very low paid person in, you know, another country that is currently, you know, a lower quality QA agent, that need will significantly rise. 54:52 Uh, I'll give you a very concrete example. If you saw Amazon Fresh, um, the, the Amazon cameras in the sky- Yeah... checkout, that, that was never AI. Yeah. That was just people overseas validating that. 55:06 There will be millions of agentic sensor perception systems that it is cheaper to hire someone at that rate than it is to get your system to solve that edge case. 55:18 And as more systems come online, there will be a wave of like QA, which is a human in the loop. 55:25 Effectively, maybe you don't call that QA, I would call that QA of it is cheaper for us to solve this with humans than it is- No, but it's something, right? With like a better architecture. 55:34 But then like the cost of a human hour can... When, how is it possible that it becomes lower than the cost of tokens? That's not possible. No, no. 55:43 Because, because it's not, it's, it's not confident enough with the outcome. 55:46 It's not that the tokens are cheaper or more expensive, it's that me walking out of a store, if I, if, if you have an AI agent which is multimodal and has a, a camera sensor and it's watching a video, it's using Google's Gemini model, so it's got video, and it's you're walking out of the store and you bought a big flat screen TV, and it's like they didn't buy a TV, they bought, you know, a small computer monitor. 56:08 It is cheaper for you to go and validate that with a QA person than it is to take the agent at its word, because the difference in price of someone walking out of the store is thousands of dollars. 56:19 And that I think exists across every industry where there's a- But wouldn't there still be like one person can kind of watch over the work of many, many, many agents? Uh, right? Yeah. 56:30 Because you're only talking about the edge cases. But, but there's, but there's a million more agents. There's, but there's a million agents that have entered the market. 56:36 There is every single, every single, you know, uh, grocery store has this system. So, so for a great example is like Scale AI. When self-driving started, 56:47 they created a market of over 100,000 labelers around the world because self-driving was an industry. Those 100,000 labelers did not exist before Scale AI was invented. 56:56 Scale AI was invented to effectively fill the gap of data labeling for, um, self-driving cars. 57:03 If there is another wave, which is agents, there is a QA gap that will exist somewhere, somehow, and there will be a, a mountain of people of varying skill levels required to fill that gap. 57:15 But wouldn't that labeling be done- Yeah. But, but labeling i- is finished or, or has an end to it. Like it's not like a forever task to just keep labeling more data. 57:24 And I think you're also assuming at that point that the model- It is... is not gonna continue to improve. I think if you like- De- depending on what your use case is. Right, like think about it. 57:34 It's, it's- We need a whole, we need a whole episode on the impact of AI- Yeah. Okay. We could... on the workforce because like this is- Yeah... this is probably the biggest topic I think in people's heads, right? Yeah. 57:43 Yeah. Yeah. Like all the way from government to CEOs are all like- Yeah... okay, what does this actually mean for humans? And, and so- Yeah... we can't do it in, in five minutes I don't think. Yeah, yeah. I agree. 57:53 I agree. Let's, let's end with this discussion. By far. By long. I'm gonna call it here. Yeah. This was good. All right. Great chatting guys. Thank you all. Deemos, thank you. 58:00 And we'll see you in a few weeks for the next episode. Absolutely. Take care. Peace. [upbeat music]