Latest / Agentic Conversations (formally mlops.community) / The Agent Landscape - Lessons Learned Putting Agents Into Production
Transcript
- 0:00Welcome everyone to a conversation between myself and
- 0:04my good friend Paul Vanderboer to talk all about how the
- 0:08Process team is using AI agents in their companies, specifically
- 0:14Process and maybe sometimes their portfolio companies.
- 0:18We get into all the nitty gritty details on how they have been
- 0:22innovating and what some of the challenges have been
- 0:26specifically around using AI agents.
- 0:30Let's get into this conversation.
- 0:37We're going to be talking all about agents and more
- 0:39specifically how you all in this global group of companies,
- 0:45including Delivery Hero and OLX are using agents.
- 0:49You've got over 1000 ML practitioners in this group and
- 0:53you're bringing agents and AI use cases to the over 30,000
- 0:59people that make up the global collective group and knowing
- 1:03that you've had some hard earned lessons.
- 1:06And that's really what I want to dive into.
- 1:09Technical hard earned lessons, user adoption, UXUI, all of the
- 1:14fun stuff because you've been doing stuff since 2022 when
- 1:20ChatGPT first came onto the market and trying to figure out
- 1:24how to make that more useful. We should probably start with
- 1:29just like what we were talking about yesterday when we had a
- 1:32bit of a Mexican standoff and we said, So what is an agent?
- 1:35We both looked at each other and we're like AI that can do stuff,
- 1:39right? You might have a better example
- 1:42of that. Let's start with that.
- 1:44So what is an agent, right? So an agent in my simplest
- 1:48description is essentially an LLM that interacts with the
- 1:51world. And I'm like, we've obviously
- 1:55had, you know, LLMS or anybody in the space working with LMS
- 1:57for for years now, right? And the first versions of them,
- 2:01GPT 2 and so on. We've been playing around with
- 2:03everyone sort of figuring out what's what's coming.
- 2:06But at the end of the day, those LMS were fairly isolated tools,
- 2:14right? That's a little reasoning engine
- 2:15in a box. And you can give it a token and
- 2:18it gives you a token back. And that was, you know, of
- 2:20course, super impressive. And we saw that with the ChatGPT
- 2:23moment that sort of jumped in, in sort of everybody's lives.
- 2:27But one of the things that, you know, we saw as a fairly obvious
- 2:32next act of generative AI is agents when these LMS would be
- 2:37able to interact with the world and you know, how they interact
- 2:40with the world. Obviously, sort of it's almost
- 2:42like I see like a dial, you're dialing it up right to the 1st
- 2:45things we we saw were well, that maybe they can access the web,
- 2:48maybe they can access, you know, compute environments, maybe they
- 2:51can access APIs, maybe they can start to interact with the
- 2:54browser. So that's sort of the this this
- 2:57idea of an agent. And to your point, you know,
- 3:00we've been working on this for years because if at pros is
- 3:03where, you know, probably one of the world's largest tech
- 3:07investors focused heavily on e-commerce serving about 2
- 3:10billion consumers through those various companies that you
- 3:13mentioned. 2 billion, two billion.
- 3:15That's a lot. Yeah, it's a lot.
- 3:16It's a lot, right? So.
- 3:17You know how big that is? Yeah.
- 3:19In you know, I food in Brazil and Swiggy in India and Stack
- 3:22Overflow and delivery Hero and OLX and you know many other
- 3:25companies, about 100 companies in the group.
- 3:29It's you know, there's a ton of different opportunities for AI
- 3:33in general. And then if you go to, you know,
- 3:36agents becomes incredibly interesting and exciting to see
- 3:40all the different things we can, we can build.
- 3:41So that's why we've been investing in this space for for
- 3:43a long time with our team here in Amsterdam.
- 3:46We organized this conference. Yeah, that's kind of the the
- 3:50inspiration for this whole series is because we did the
- 3:53conference together as a virtual conference.
- 3:55And then we realized we want to create more and go deeper.
- 4:01Because what I saw in that conference was that you all are
- 4:04doing some very advanced stuff with agents.
- 4:07And the conference was all around agents.
- 4:08It was agents in production. It was a virtual conference.
- 4:11We saw the most cutting edge things that are happening with
- 4:15agents out there in the world. And my conclusion was we need to
- 4:19have more conversations because I want to hear what you've done.
- 4:23And so this episode is going to be us breaking down the agent
- 4:27space, what is comprised of. And then we'll bring on Flores,
- 4:31our good friend who's going to talk about some hard earned
- 4:35lessons that you all have had, what agents you've tried that
- 4:39died, so the whole graveyard of agents.
- 4:41And then what agents you actually were able to stick with
- 4:45and have been providing business value.
- 4:47How are you looking at that business value?
- 4:49How are you like putting metrics around if the agent is useful or
- 4:53not? And so before we bring him on,
- 4:57we should talk a little bit more about like what components make
- 5:01up an agent? But maybe taking a step back and
- 5:04think about thinking about these agents and then why?
- 5:06How do we why is it so hard to make them work?
- 5:11And why is the graveyard still, you know, populated, populating
- 5:15itself fast is because there's a lot of unknown pieces.
- 5:18So think of an analogy, right? I don't know if you ever built
- 5:21things, you know, like with Raspberry Pi or with, you know,
- 5:25Mars Rovers have a young son. So we're building a Mars Rover,
- 5:29which is essentially a Raspberry Pi, which connects to a, you
- 5:33know, a bunch of sensors, a microphone, a camera and A and a
- 5:36memory chip. So you can see sort of what its
- 5:39path is. And for me, if I take this to
- 5:41the world of Jenny I, what we basically have today with these
- 5:44powerful Jenny I models, large language models is just the
- 5:49reasoning engine is basically the Raspberry Pi without
- 5:53anything else, right? And that was the LLM.
- 5:56And now in the agentic world, we're trying to figure out how
- 6:00do you put this into a system that can interact with the
- 6:04world, right? That can actually understand,
- 6:08you know, what history of interactions it had.
- 6:11So memory like this Mars Rover needs to know what's its path,
- 6:14where does it need to go? It needs to maybe be able to
- 6:17take actions and, you know, decide to go left or right in
- 6:20the agentic world. It's I need to access an API to
- 6:22fetch information or I need to store, you know, create a file
- 6:26and store it somewhere. It needs wheels.
- 6:28That's it. So, and the tools are part of it
- 6:32because that gives the LM the ability to interact with data
- 6:39that's up to date. Because of course, you know what
- 6:41the data it's seen as a during training time, you know, has a
- 6:44sort of endpoint. So you need, you know, other
- 6:46data, maybe that's proprietary data or data related to, you
- 6:51know, something that happened today.
- 6:53It may need to actually generate its own data to not just read
- 6:58but also write because it, you know, knows that you and I are
- 7:01interacting and you've asked me certain types of questions over
- 7:03time. So that needs to be stored in
- 7:05memory. What does that mean?
- 7:07When does that memory get accessed?
- 7:09Then, you know, when it generates an answer, it may want
- 7:15to actually think and critique that answer.
- 7:17So it's not just a one shot token prediction, but it
- 7:20generates a plan based on what you're asking it to do.
- 7:23It can go to that plan, critique it, look at the end of, you
- 7:26know, the steps it's followed, whether that plan materialized,
- 7:29go back to step and revise. So that entire system is what
- 7:35you need to have working not just once, but reliably,
- 7:41especially if you're going to ship it to real customers in
- 7:43production and so on. And that's been the journey
- 7:46we've been on, right? And but it's from it, you know,
- 7:49the, the journey has been moving from small unit of reasoning,
- 7:53the LLM, the Raspberry Pi that now needs to be reliably
- 7:58connected to all these other pieces.
- 8:01So it can help with much more sophisticated tasks and in fact,
- 8:05that's the promise, right? So moving from just a simple Q&A
- 8:09device to something that can, you know, actually help with
- 8:13much more sophisticated complex tasks, especially in the
- 8:15e-commerce journey in our ecosystem at Pros, is there a
- 8:18ton of opportunity to do that? The Raspberry Pi to the Mars
- 8:21Rover, that's what we're doing right now.
- 8:23And that's like that metaphor. And there are some specific
- 8:29difficulties that arise when you start doing that.
- 8:32I think two things that we wanted to call out, especially
- 8:35right now are evaluation can be really difficult and you're
- 8:40looking at latency requirements and then cost too.
- 8:45Yeah, because as you mentioned, if you're doing all of these LLM
- 8:49calls, it can add up quickly. And we're going to go over all
- 8:54that fun stuff later on in different episodes and breakdown
- 8:57specifically how you can do evaluation and what you can look
- 9:01for. But now we should probably talk
- 9:04about the different ways that you can use agents or that
- 9:08agents manifest, I think we could call it, because back to
- 9:13that conference, we saw lots of different ways that agents are
- 9:16being used. And in a broad sense, I kind of
- 9:21bucket agents into you have agents that are like the
- 9:24computer use agents that came out from Anthropic and it can
- 9:27use your whole computer and take over.
- 9:29You have web agents, which are a little bit more of a
- 9:34intermediary between they're not using your whole computer, but
- 9:37they're using your browser. And then you have agents that
- 9:40are interacting with the world through APIs, which I think is
- 9:44probably the most common design pattern these days.
- 9:47And then you also can have voice AI agents.
- 9:52And so interacting with agent that you're talking to on the
- 9:57phone or maybe on a Zoom call. There's probably room for us to
- 10:02throw in there, like agents that you see in video games and PCs
- 10:06maybe. I don't know if you want to call
- 10:09that a full blown agent, but it feels like that could be a one
- 10:13also. Yeah, for sure.
- 10:15I mean, you're describing the spectrum of complexity, and I
- 10:19think it also gives us a sense of where we're headed in the
- 10:23future. Some of it was very near.
- 10:25So indeed, you know, the natural first a set of tools that you
- 10:28want to give these agents to our AP is because they're well
- 10:31documented, well structured, you know what needs to go in, you
- 10:34know what you expect back, you can test against that.
- 10:36It makes evaluation a lot easier.
- 10:40So that's the first thing that if you know, the agents in
- 10:43production that we are working with are typically going to be,
- 10:45you know, using well defined AP is that are, you know, fairly
- 10:50simple compared to doing, let's say more open-ended web
- 10:54browsing, for example. Of course we're testing and, you
- 10:56know, we can share what we've learned and why.
- 10:58That's also, you know, very hard and more expensive and takes
- 11:01time. We're.
- 11:02Going to have a whole episode on web agents and so there is going
- 11:06to come and be our resident expert because that's the fun
- 11:09thing too. That and we should mention, we
- 11:12get to pull from all the folks that are working at Process who
- 11:15are doing deep dives on each one of these topics and they get to
- 11:21come and tell us what they've learned over the past six months
- 11:24just focusing only on that. Right.
- 11:26Yeah. So that's exactly what we're
- 11:28going to be doing. And I think if we, if you walk
- 11:30along the sort of levels of sophistication, maybe we need a
- 11:33framework for this. So somebody, I don't know, maybe
- 11:34somebody's come up with what are these sort of levels of
- 11:36complexities for agents, But, you know, from APIs to browsing
- 11:40and just in these two levels, if we call them that way, there's
- 11:44so much opportunity still to make these things work.
- 11:46I mean, in the world of e-commerce, online marketplaces,
- 11:49platforms, you know, there's so many things that if you just can
- 11:53give an agent access to the web, to the app, to the API's that
- 11:57they can help you with, all of a sudden they give booking trips,
- 11:59ordering food, you know, helping you pick products and so on.
- 12:03That's after web browsing. The next thing is sort of just
- 12:05giving them access to a computer, a desktop.
- 12:07And we're working with, you know, various companies,
- 12:09startups out there that do exactly that.
- 12:12And you can see the progress like on benchmarks like OS World
- 12:15and so on that these agents can now, you know, basically create
- 12:19pivot tables for you. They can, you know, with very
- 12:21brief instructions, right? Or they can download files, they
- 12:24can process them and so on. And that is going to come soon,
- 12:292025 probably give us, you know, a whole bunch of new exciting
- 12:32things and then products on that front.
- 12:35Then if you go one step further, they can start interacting with
- 12:37the real world, right? So, robotics.
- 12:40That's another agent that I didn't even talk about.
- 12:42That's true. So.
- 12:43That's sort of the the levels of sophistication that I think we
- 12:47expect to kind of see maturing over the next, you know, months,
- 12:52quarters, sometimes things go faster.
- 12:53Some prime real estate for some real thought leadership there
- 12:57with that map of the difficulties.
- 13:00Let's do it. They're volunteers.
- 13:03So one thing that we didn't really talk about is why use
- 13:07agents and why not just use traditional methods?
- 13:12Because it seems like we add a lot of complexity.
- 13:16There is that benefit of, hey, I can just tell something to go do
- 13:20it and it'll do it for me. But a lot of times you end up
- 13:25banging your head against the wall because it is so difficult.
- 13:28I think the, the simple answer is that you, you just add so
- 13:32many more possibilities that you can, or tasks that you can have
- 13:36these systems do for you. Once you move to an agentic
- 13:39world, you give them access to tools that it's the obvious next
- 13:43thing to do. Because, you know, we've, we've
- 13:45kind of gone through the question answer, you know,
- 13:49world, world, and we're doing that and sure that, you know,
- 13:52we're, they're all these AI systems are part of our our
- 13:54lives now and they do that reasonably well.
- 13:57Of course, there's a ton of room for improvement, but as they
- 13:59become agentic, there's many more things they can do.
- 14:01And then, you know, again, it pros as we're a large ecosystem
- 14:04of companies that, you know, help our users do things easier,
- 14:09better, faster as they interact with the, you know, the our
- 14:13e-commerce platforms, We see that the agentic capabilities
- 14:17allow us to do much more on that front.
- 14:19So, and by the way, I will also say that one of the things you
- 14:23notice and we'll talk about what we learn as you try to apply
- 14:25this to the current systems is that the world is not ready or
- 14:28it hasn't made been made for the agentic systems at the interface
- 14:32is the API. Sure, they exist, but they're
- 14:34not made for agents to interact with them.
- 14:36Well, they break all the time too.
- 14:38It's really hard to get a very trustworthy API that even just
- 14:42for weather, a weather API that yeah, you can go looking and
- 14:47just getting that which you would think is a solved problem
- 14:51and it's simple. That's hard.
- 14:53And so trying to go a few steps deeper and get more complex APIs
- 14:59or each API is different and so and it's constantly changing,
- 15:02right? And if you're not up to date
- 15:05with those changes or making sure that you have some way to
- 15:08keep the your agents up to date, then you're looking at a whole
- 15:12world of hurt. That's right.
- 15:14Preaching to the choir right here, there is something I want
- 15:18to bring up to around how process works with the different
- 15:22companies because I tend to funnel everyone that I know that
- 15:25is starting a company to you because you're in such a unique
- 15:29position. And this position is that you
- 15:31have a ton of users, a ton of ML talent, and you know what
- 15:38problems need solving. And so there's users from the
- 15:43portfolio companies, but then there's also internal users
- 15:46because the process group is gigantic.
- 15:48Maybe we can touch on that a little bit before we jump into
- 15:52it because that gives more insight on how agents are
- 15:57valuable to you all and how you know like what is actually worth
- 16:02doing versus not. Yeah, that's a great point.
- 16:06So because the setup we have is process, we're a large global
- 16:09tech investor, the largest in Europe with operations all over
- 16:13the world, right? We've got food delivery in India
- 16:16and in Brazil and classifieds in Eastern Europe and education
- 16:21technology in the US and media in South Africa and many other
- 16:25comes about 100 companies in the group, all with a tech angle
- 16:29with their own tech hubs and AI teams.
- 16:33We are in a very unique position to be able to work with them
- 16:37closely on lots of topics. You know, our focus of course is
- 16:41AI and, and increasingly now agents to figure out how can we
- 16:44solve real user problems. Like I mentioned, we have about
- 16:472 billion consumers across the group and. 2 billion.
- 16:51That's a big group and you know, they're all over the world.
- 16:54Every time you say that, I'm going to react.
- 16:56With this year it's 2 billion, probably next year's 3 billion,
- 16:59yeah. Oh my God, so.
- 17:01And, and we do believe that, you know, the, the agentic systems
- 17:07that we're building are going to be able to solve lots of our
- 17:10user problems, helping make bookings, find, you know, make
- 17:13transactions easier, find the right price they're looking for,
- 17:17learn things faster. And so all of these, let's say
- 17:23real user problems are things we're trying to solve for.
- 17:25And when we, you know, our team, the AI team, it pros is, is
- 17:31based in Amsterdam and our job is to work very closely with the
- 17:34AI teams in the, in the group companies to help them basically
- 17:38accelerate some of the cool use cases we think are going to be
- 17:42really valuable for the group in an e-commerce space in
- 17:46particular. In doing that, we to identify
- 17:50typically what problems are. So when you build a systems in
- 17:52production, we talked about all the issues you need to make it
- 17:54affordable, you need to make it safe, you need to make it
- 17:56scalable. So identify problems that we go
- 17:59out there to find if anybody's offering them as a product or as
- 18:04a solution. So we'll typically talk to
- 18:06founders, startups in this space when we like what they're doing.
- 18:11We, you know, either partner with them as design partners.
- 18:14You know, we also can invest in them.
- 18:16You know, we've tons of examples there.
- 18:19And that's cool. On the design partner front, it
- 18:21is so valuable to have a company that is so advanced and
- 18:26understanding what is important and then just to be able to plug
- 18:32in with you all. I know that a few companies I've
- 18:35introduced you to, they come back to me and they're like, Oh
- 18:37my God, thank you so much. Because again, the whole reason
- 18:42we're doing this is I think you all are doing some of the most
- 18:45advanced stuff when it comes to agents.
- 18:47When you get companies that become design partners, they get
- 18:50to see how advanced you really are.
- 18:52And so if they're on the cutting edge, they get to see the scale
- 18:57of what you're doing and then recognize, like, if their tech
- 19:00holds up to that scale. Yeah.
- 19:02I think it's a valid point. I think the problems we face
- 19:04today are probably challenges that many others will face soon
- 19:09as well, whether that's in months or years, as they also
- 19:12start to build these systems in production at scale.
- 19:16One of those things was the cost, right?
- 19:18That's one, yeah. That's a great example where
- 19:20we've been continuously modeling what's the impact of agentic
- 19:24systems in production on the cost profile.
- 19:26And the numbers we were looking at at the beginning were just
- 19:31simply, you know, cost per token.
- 19:32But you realize that's not really representative because as
- 19:35you use agents to answer questions or fulfill tasks, they
- 19:39use many more tokens can do many more things.
- 19:41They we measure for internal assistance token that you spoke
- 19:44about how much time they save per per user, right, per
- 19:48question. So these systems can do that
- 19:50much better. They consume more tokens, so
- 19:53they become more expensive, but the value you get for that is
- 19:55higher. And so we model these things
- 19:57and. I blatantly stole that, by the
- 19:59way. I took that from you guys from
- 20:00the agents and Production conference and made a blog post
- 20:04on it in response to some other VC who was talking about.
- 20:08He was saying the same narrative that you see all over the
- 20:10Internet when a new model comes out or a new update from Open AI
- 20:15or Anthropic comes out. And they say like the cost is
- 20:17just plummeting per token. And so I took your or EUR, one
- 20:22of the other speakers from the conference Insight, which was?
- 20:27Price per token is going down, but price per answer is actually
- 20:31going up because of these complex systems that we've got
- 20:33going on and how many LLM calls you're making.
- 20:37We all intuitively know the costs go down OK, but we measure
- 20:40this right. So to give an idea.
- 20:42So we over the, over the last summer, we looked at how many
- 20:46tokens do we use to answer a given question in our internal
- 20:49assistant that went up by 150%, right?
- 20:52So more than double just a number of tokens per question.
- 20:55At the same time, that same period as about a 3 1/2 month
- 20:58period, the cost per token went down by about 50%.
- 21:03But because the questions we're answering or the tasks we're
- 21:06doing with token also become more useful, right, We're saving
- 21:10people more time. Because they're using it more,
- 21:11right? They're also using it more so
- 21:13then the tokens per user go up. So ultimately the budget that we
- 21:19have, you know, and token. Starts to double.
- 21:21Actually goes. Up, yeah.
- 21:23Right. And so and then we measure how
- 21:25much time we save per question and that also goes up.
- 21:28So we actually model this and we have real time insights we use,
- 21:32you know, we we will benchmark various models on quality, on
- 21:35cost of our own leaderboard as you know and so on.
- 21:37We'll talk about that. But one thing is everybody knows
- 21:41the cost of token goes down, but what's the ROI on that that you
- 21:46get, right. So does the return on investment
- 21:49is a dollar of the cost per unit of intelligence goes down, but
- 21:52does the return you get on, on that intelligence change as you
- 21:56build a genetic systems and so on?
- 21:57So we're in a position to measure this across various
- 22:00tools. Cost per unit of intelligence.
- 22:03Yeah, that's how we, that's a way to describe a token, right?
- 22:06So you've got a token is just a basically a part of a generation
- 22:11and together it's, you know, system that has some
- 22:15intelligence. And and so anyway, we see the
- 22:20cost of per unit of intelligence trends to 0 over the long term.
- 22:240. Yeah, I mean it look at the cut.
- 22:27I think they we looked at we, we spoke about this, the
- 22:29marketplace, the cost of a token equivalent to GPD 3.5 two years
- 22:35ago dropped by 98%. But of course we're, you know,
- 22:39we've got more sophisticated models now, the reasoning models
- 22:42that one and so on. But you also asked me about
- 22:46which, which companies we work with, right.
- 22:48So I'll give you one example. We learned that.
- 22:52We saw that as you build systems that get more degrees of
- 22:55freedom, because they're agentic, they can do more
- 22:58things. They can you.
- 22:59Know just you saying that scares me.
- 23:01Yeah, but it's also well, they they they can the.
- 23:04Way you're wording it just as. They're generating, yeah,
- 23:07they're generating answers. They're going out to sources.
- 23:10They've got my bank details. If you've given them to token,
- 23:14it will be a great partner for you.
- 23:15It'll be very safe. Yeah.
- 23:17But we we realize we need to make sure we understand what's
- 23:19the risk. And so we invested in a company
- 23:22called Prompt Armor. Then their their mission is
- 23:25basically to quantify through think of it like pen testing for
- 23:31Jenny I systems, what the risk is.
- 23:33So, you know, we work with them. Of course we invested in them.
- 23:37So trying to get my agent to buy stuff for somebody else.
- 23:41Well, this is more like on the security side.
- 23:43So it's like a pen running a pen pen test.
- 23:45So it's on the it's on the infra, it's on the entire
- 23:48system. So you just have I think of it
- 23:50like you have a chat bot or system.
- 23:51It's Jenny I power that can give you, you know, answers.
- 23:54It can go out there and try to prompt, do prompt injection
- 23:58attacks, try and do data exfiltration and all of the
- 24:01other new vectors. Basically, you open up a whole
- 24:04new risk surface area that you need to understand.
- 24:08And that's one example where of course we invest in them because
- 24:13we think it's a promising product, but it actually coming
- 24:15back to the ecosystem process is they can now offer their product
- 24:20if we believe it's useful. We work with them to everybody
- 24:22in the group, everybody that's building Jenny I systems.
- 24:26And I think that comes back to how we work with founders.
- 24:29It isn't just about investing in them like a traditional fund
- 24:33would and hope there's, you know, fabulous returns, but it's
- 24:35about how can you know this offering that they had this
- 24:39group of founders join this global ecosystem that you know,
- 24:43where the sum of 1 + 1 is whatever 11, right?
- 24:47Because because we're now working together.
- 24:50What they do isn't just, you know, in itself an interesting
- 24:52proposition, but it make sure it adds and is additive to
- 24:54everything else we do across the group.
- 24:56And we see that a lot and we're doing that increasingly.
- 24:58Of course, our focus is e-commerce, but sort of with the
- 25:03intersection of AI, there's a ton of new ideas, propositions,
- 25:07products, you know, techniques, tools that we're looking at very
- 25:12closely to kind of bring them into the group.
- 25:15All right, now we got floors with us and it is cool to have
- 25:18you here to talk about all the things that you've been working
- 25:21on. All right, Floors.
- 25:22So what do you do? OK.
- 25:24Yeah, thanks. Yeah, So I'm an AI engineer at
- 25:27Process and the last year, 1 1/2 years, my main focus was on
- 25:34agents, you know, building agents, testing agents,
- 25:39verifying their use cases and building them out in real
- 25:43products. So it was mostly like these
- 25:47cycles of like, we have an idea, you know, we want to build this
- 25:51POC or MVP and we want to know if it works.
- 25:55And in some cases, you know, I stuck around for a bit longer
- 25:59and I actually, you know, I did some work to get it in
- 26:01production. But it's yeah, it's a lot of
- 26:05experimenting. And I think you mentioned
- 26:07already early in the post cost the applied R and DI think is a
- 26:12good way of positioning. So, yeah, so very perfect to
- 26:16have this position. I'm always curious what, because
- 26:19we used to have a lot of talk around what an ML engineer was
- 26:24and is that somebody who's modelling, is it a data
- 26:26scientist who is specifically working on ML?
- 26:29And now there's the new term of AI engineer.
- 26:32So what is that like, what is the day in, day out?
- 26:35Are you building evals? You're working with agents,
- 26:37you're creating agents and. Yeah.
- 26:40So I would say like an engineer is there to solve problems.
- 26:45Like an engineer will say like, OK, this is what we need to
- 26:48have, you know, build it. I don't care how we reach it.
- 26:51Not with AI Nowadays it's almost all software.
- 26:55So you're you're part software developer, but you're also part
- 26:59thinking. Like, you know, how can we
- 27:01position this product? How can, how can users interact
- 27:04with it? You know, it's a, it's a bit
- 27:05more, you make a bit more decisions than a normal software
- 27:10engineer because normal software engineers are like working on a
- 27:13task to task basis. But we're our AI engineer are
- 27:19more like I'm solving this task using AI and how we would how we
- 27:24would fill that in. That's most, most of the time
- 27:28it's a blank piece of paper or a Myro board, but and we should
- 27:33just start, start building. So I think that is kind of the
- 27:36the nowadays AI engineer. Over the last two years you've
- 27:40been trying to play with agents. What are you looking at?
- 27:42Yeah. Well, it it will be a larger
- 27:45number than I think many will expect.
- 27:48And I think using the word playing with agent is quite
- 27:50right. You know, we've been exploring.
- 27:53You know, it doesn't always needed to be a good idea.
- 27:55We're just trying to work the muscle here.
- 27:59But yeah, I think over 20 projects that were related to
- 28:04building an agent that was solving a specific use case that
- 28:08at some point we thought it was a really good idea.
- 28:12And we'll get back to that because I want to ask a lot of
- 28:15questions around why did you ever think this was a good idea?
- 28:18But the other thing that is worth noting is how many now are
- 28:23actually still being used or are real projects.
- 28:28I guess they made it past that filter.
- 28:31Yeah. So it's so there are two that
- 28:36actually made it. But there there is like a
- 28:39caveat, there is like a few of them were merged into one.
- 28:44So because these were exploratory projects, we saw a
- 28:49value in it. Yeah.
- 28:51But on a standalone feature, it was like, OK, it's not adding
- 28:55any value. But if we if we bundle this all
- 28:59or we add it to it like our our tokon then it adds value again.
- 29:03So, Tokon, for those who don't know, what exactly is it?
- 29:06Yeah. So took on as our general
- 29:08assistant, the idea started kind of like having this extra Co
- 29:13worker. So it started those on Slack and
- 29:16now it's also on the web. It's been evolving a lot, still
- 29:19is evolving, but it started this.
- 29:22You just send a Slack message to this agent and it will do part
- 29:27of your work. And of course, it started with
- 29:30just the simple summarizations and, and, and now we're building
- 29:34it out into more complex systems where it can do full analysis
- 29:38and, you know, you can save stuff.
- 29:44And yeah, kind of build this this project on top of Tokan
- 29:48having this interaction of back and forth like you would have
- 29:51with a real colleague. And the other one that still
- 29:54exists to this day is the Sequel Analyst.
- 29:57Yeah, the the token analyst, yeah, it's mostly used for, it's
- 30:02used for sequel. And yeah, that 1 is really
- 30:06successful because we really saw it was was adding yeah, value
- 30:11and we were saving people's time and money, yeah.
- 30:15Nice. And we're going to do a whole
- 30:16episode on that, like a deep dive case study.
- 30:19Now what I want to talk about here, like you've seen over 20
- 30:24use cases. What are some green flags and
- 30:26red flags of an agent that is going to work versus fall flat
- 30:31on his face? Yeah.
- 30:33So to come back to my earlier comment of like, you know, we
- 30:36bundled a few I think when we were really trying like, OK,
- 30:40let's try many ideas. One of our experiments was what
- 30:45if we did an agent that could do, you know, less, you know, so
- 30:50more specific. So we call this fertilized
- 30:52agents. Will the accuracy be much
- 30:55better, consistency be much better so people trust it more
- 31:00and use it more. So we the, the one, the test we,
- 31:02we, we, we ran was we had an analyst agent which was making
- 31:07plots Python. It was reading Excel sheets,
- 31:11doing statistical analysis, anything.
- 31:14But we saw that sometimes with cleaning data, I'd like make
- 31:17mistakes. So they're like, OK, let's make
- 31:19a cleaning agents separately. So you first go to the cleaning
- 31:24agents and it will clean and then you can come back to the
- 31:28analyst and it will do the analysis.
- 31:30So you have the separation. But actually people were not
- 31:35using the cleaning agent more because they sound like, yeah,
- 31:37but you know, I'd rather have it.
- 31:39That 80% of the time we'll just finish the task in one go is so
- 31:43much more easier than me having to switch.
- 31:46An extra step. Yeah, so the extra step was not
- 31:48worth it. That makes sense, no?
- 31:51What are other red flags? Yeah, I think every agent that
- 31:56was really hard to test saying like, you know, it's it's right
- 32:01or wrong because then, you know, I had a colleague that always
- 32:06was saying like, you know, we're measuring vibes.
- 32:08I think that was a really good measurement of things we you
- 32:11should avoid when building agents if.
- 32:13It's not binary if it's not like the code runs.
- 32:16And I've heard that a lot with coding agents and assistants
- 32:20that one of the reasons that they are such a strong use case
- 32:24is that it's like the code runs or it doesn't, it compiles or it
- 32:28doesn't. And you know if the AI generated
- 32:31code or the agent that assisted you worked or it didn't.
- 32:36Yeah, exactly. And you see it also in, in, in
- 32:38O1 now, you know, it's, it's, it's really funny that you, you
- 32:41see that same things that we see in agents that you see that in
- 32:44O1 and O3, because open AI itself, you know, said like,
- 32:49hey, guys, if you want to do creative stuff, still just use
- 32:52four O because four O is still preferred by humans as being
- 32:57better at creative writing. And that is exactly due to the
- 33:01same issue where O1 is being trained on, you know, being
- 33:06right or wrong. And the moment there's no right
- 33:08or wrong, you know, it's kind of improve itself.
- 33:11So O1 is, is, is amazing at all these like analytical and more,
- 33:16yeah, bad tasks. But the moment you're getting
- 33:19into the creative stuff, it's anything subjective.
- 33:22Yeah. And that's something we saw in
- 33:24the in the in the agents as well.
- 33:26It's like, you know, when you're more in like this creative side,
- 33:30it's like, you know, how do you know it's right?
- 33:33Yeah, yeah. So, so making sure that whatever
- 33:36the task is, there's a clear way to evaluate if the tax was
- 33:41executed or it wasn't, that's another green flag.
- 33:45I would say red flags for any other that you have that come to
- 33:51mind. Yeah, so it's actually quite
- 33:56funny because now it seems that that the tables are turning.
- 33:59But like a year ago we had these web search agents and that is
- 34:05one of those agents that also got like, you know, it, it
- 34:08merged with with Tokon. But at the beginning, we, it was
- 34:11a separate agent. And I can still remember the
- 34:15feedback of like, yeah, this can never work because, you know,
- 34:18the latency is way too big. You know, it was doing deep
- 34:22research. And maybe you recognize his name
- 34:26sounds familiar. It's, it's something that, that,
- 34:28that Gemini or Google is now doing and they, they released
- 34:31like this deep research and now people are fine with like, you
- 34:35know, I have 7 minutes if I get a cool report with a lot of
- 34:39sources that works. But you know, we, we were doing
- 34:43something similar like a year ago, but people are saying like
- 34:46it takes too long. You know, I don't know where in
- 34:48zone sometimes took like 10 minutes.
- 34:51And yeah, I think the also the biggest change what happened is,
- 34:56you know, we were in Slack, so we couldn't provide this multi
- 35:00page documentary. In theory we could, but we at
- 35:03that time there was not the way how we were thinking.
- 35:05We're just want to have like a concise message on Slack.
- 35:09So that's where we're saying like, yeah, for this, just this
- 35:11message, it's not worth the waiting time.
- 35:14Yeah. So yeah, we didn't kill the
- 35:16project, but we didn't kept it as an agent.
- 35:20You know, we just distilled it a bit and moved it to the more
- 35:24general one. That's funny because I find that
- 35:27my own workflow. I tend to ask AIA question and
- 35:32then go do something else. And so I'm in the camp of I'm
- 35:36totally cool with just waiting, seeing what happens, coming back
- 35:40to it, when I get to it. Sometimes I forget and then come
- 35:43back a day later and it's like, Oh yeah.
- 35:45But we were in an era, you know, where, where jet GDP was the
- 35:48norm, you know, and that responded immediately.
- 35:51You know, you had the streaming. Yeah, the streaming it was.
- 35:54So within 300 milliseconds, you know, the first word started and
- 35:57you started reading. So if you then introduce a
- 36:00system that you need to wait 5 minutes for, people are like,
- 36:02no, that's we can't too much. So it's also like the, the, the
- 36:06public adapting to this view of these agents doing stuff.
- 36:10So the more people know that there is work being done, the
- 36:14more they appreciate that waiting time.
- 36:17And they actually are like, Oh yeah, but it's normal.
- 36:20And like you're saying you're doing this asynchronous work.
- 36:23You know, I even have some like 3 tabs open and ask you 3
- 36:26questions at the same time and you're really multiplying.
- 36:30Multitasking. Yeah, yeah, yeah, yeah.
- 36:32Multitasking has a new definition now.
- 36:34It's yeah. It's quite funny.
- 36:36What are the ones that died? So we had this hackathon, you
- 36:41know, since, you know, we're really like, you know, there are
- 36:44no bad ideas, just just develop. So the idea was like, let's get
- 36:48the whole AI team, you know, 24 hours or yeah, it was a bit less
- 36:53and make Asians and one of these ideas where I thought like,
- 36:59yeah, this this is going to be the agents from the hackathon.
- 37:02Because it was kind of the idea like hackathon home run the
- 37:05best. Yeah, exactly.
- 37:06I would have I would have invested, but it was it was the
- 37:10JIRA agent. Yeah.
- 37:11So it was of course was doing the JIRA taking.
- 37:14Nobody likes JIRA. That's so true.
- 37:16And the thing was, you know, we saw it working.
- 37:19So in this in this in this test setup, you know, where they
- 37:22built the JIRA board with the agents and I started adding
- 37:25tasks and changing tasks and asking summaries about tasks.
- 37:29It was working really nice. You know, again in Slack, it was
- 37:33super useful And but the fun thing was the moment we
- 37:38connected it to our gyro saying like, OK, we're going to be the
- 37:41first beta testers. Yeah, you know, it completely
- 37:44broke down. You know what already you know
- 37:46the reason why why what happened?
- 37:48It was, it was the, the human text, you know, all like these
- 37:54acronyms and all these like really short sentences, like
- 37:58minimal information that was needed for a human to
- 38:01understand. It was, it was messing up the
- 38:05agent. It was saying like, you know,
- 38:07this is no description. You know, like, like half of it
- 38:09didn't even have a description of the task.
- 38:12But all the humans in the team are like, yeah, of course we're
- 38:14building this project. So this must be that, you know,
- 38:17but all that context that was not in that GYRA agent.
- 38:20So that's why it completely did not work.
- 38:23And that's why we were like, OK, you know, let's not continue
- 38:27with this because we need to. Change too much.
- 38:29If today you would take a different stab at it and you add
- 38:33in some kind of a knowledge graph with Slack messages and
- 38:36with emails or with other context, do you think it would
- 38:41have been more successful? Yeah, you, I think today I
- 38:45would, I would make like an interview agent as well and
- 38:49first interview the team saying like, you know, provide me all
- 38:53the current information, then convert that into documents and
- 38:56then you know substitute to JARA agent with that.
- 38:59Like you know, if things are missing, you know, look at this
- 39:02interview I had with your colleague, maybe that clarifies,
- 39:05you know, that is that is more more stable approach.
- 39:08But another approach would be, and that is I think something
- 39:11that we'll be seeing much more of is if you go AI first,
- 39:16because what is the, what is the the reason why that port was
- 39:19messy was because we needed to type every word ourselves.
- 39:23And then you're, you're doing like basically the SMS language,
- 39:28you know, you're trying to do as many as the least amount of
- 39:32keystrokes, but like. T9 back in the day where people
- 39:36who are texting on flip phones. Yeah, like instead of oh sorry,
- 39:40write this out or just add an emoji.
- 39:43No, but it was. So if you go AI first, you know,
- 39:47and you said like I built this board with AI and then I
- 39:50maintain it with AI, you know, then there's this chance.
- 39:54That's what that's what what that was the reason why the test
- 39:59was the test was really successful because the test was
- 40:03built with AI and then questions with AI and then it understood
- 40:08its own language. So there's also a route that you
- 40:11can say like, OK, you just need to force people to remake the,
- 40:15the the entire board. But it would be a board, it
- 40:19would be a whole separate tool. It wouldn't be using JIRA.
- 40:23Or design decision, you know it's it's can still use Gyra,
- 40:27but then just a fresh board or or you know you can make your
- 40:31own UI I. Think that's a maybe something
- 40:35that we've we've learned over and over again as it, as you
- 40:40bring these systems into existing workflows or you know,
- 40:46ways of working in particular when we go into the e-commerce
- 40:49world like people have expected expectations on patterns of use
- 40:54and that's of course it's not surprising, but it's so
- 40:59important to get that right. And, you know, in our world, you
- 41:03know, we, we give Tokan access to, you know, our, our GitHub
- 41:06and it would sort of comment on code and you know, comment and
- 41:10so on. And we switched that thing off
- 41:12in no time because it was so noisy.
- 41:13And then we tried other products like code Rabbit and it was very
- 41:16similar because at the end of the day, it's very easy.
- 41:19It's cheap to generate content and comments, but there's still
- 41:22cognitive load to go through it. And that's you want to spend
- 41:25that on, you know, high value information.
- 41:28And so these things there's not we try, you know, one of our
- 41:31missions is to become sort of the, the best AI first team,
- 41:34right? So we have AI assistants
- 41:36everywhere. We've got our own AI
- 41:38statistician, we got all these little AI layers.
- 41:42So we test everything, but very frequently on some of these
- 41:44workflows, we, we let go of the tool because it doesn't make
- 41:48sense yet, right? It doesn't work.
- 41:50And I think and, and, and part of it's our expectations and how
- 41:53we interact with this with, you know, with each other and the
- 41:57tools, but also the tools like Jira in, in Flores's example, it
- 42:01wasn't, you know, made for, you know, interacting with these
- 42:04agents as it is today. Maybe it will in the future, but
- 42:08it's not there yet. Linking that back to what you
- 42:10were talking about earlier on the cost per intelligent unit or
- 42:14what did you call it? The cost per unit of
- 42:17intelligence. Yeah.
- 42:19And you think about how that is not a unit of intelligence.
- 42:23It's outputting something, but it's actually a unit of
- 42:27distraction. Yeah, in this case, it's a it.
- 42:30Well, it's costing our us cognitive load and you want to
- 42:33do the opposite, right? And.
- 42:36Every right question saves time, but every wrong question
- 42:40expensive. Yeah.
- 42:41Yeah. I thought one thing to add here
- 42:43is that this come back to this theme of cognitive load that we
- 42:46add sometimes, you know, without thinking about the current state
- 42:49as we've got a big platform called OLX classifieds platform
- 42:53millions of listings being uploaded every day and a natural
- 42:57place for us good example. The kind of work that we do is
- 42:59we try to see how agentic systems can help, you know
- 43:04people transact goods and I think it's one of the strange
- 43:10consequences of ChatGPT is that we've tried everybody's tried to
- 43:14basically make a ChatGPT for X yeah for everything right.
- 43:18So we also naturally, when we started that journey said, Hey,
- 43:21we need a ChatGPT for OLX, right, for people that try and,
- 43:25and buy and sell stuff on unclassifieds.
- 43:28And we, we realize that, you know, people today, I mean,
- 43:31hindsight is obvious, but they, you know, they go to the
- 43:33website, they see ton of images already, they have a search bar
- 43:37and that's how they discover. And then we said, you know what,
- 43:40we're going to, you know, introduce a conversational
- 43:42agent. But what's the cognitive load,
- 43:45you know, placing on this user, right?
- 43:47This user needs to come in and say I'm looking for a piece of
- 43:51furniture for my home, which is such and such style and it needs
- 43:55to be under and people just wouldn't use it.
- 43:58And so there was a huge, let's say drop off because of that
- 44:04additional friction. We'd introduce the cognitive
- 44:06load for people to input things. And even when they did use it,
- 44:10they put in blue couch. So it's the same as search.
- 44:14So it becomes it's just a search bar and then the agent would
- 44:18come with, you know, 500 tokens. Of, of of.
- 44:22Questions and content and then the and then the user would say.
- 44:27Cheaper. There is another thread that I
- 44:31wanted to pull on where you're talking about different layers
- 44:35of if an agent project makes it into production, and one is you
- 44:43design it a certain way and you take as the creator of this
- 44:48agent certain design decisions. And then the other is later it's
- 44:52out in production. And maybe it's increasing the
- 44:56cognitive load, but it could be that it's increasing the
- 44:59cognitive load on the user because they don't know how to
- 45:02properly use it, or it could be because it's a shitty project.
- 45:07Yeah. So you have to decide later
- 45:10which one of them is it? Do we need to educate the users
- 45:13more or do we just need to kill the project or take a different
- 45:15design decision? Yeah, I think that blue couch
- 45:17example of Paul is amazing. Like, you know, 100% all the
- 45:20developers working on the project were nicely filling in
- 45:25the full prompts, you know, like typing, like, hey, I want this
- 45:28couch that looks like this. And the moment they indeed gave
- 45:32it to real users, they were like blue couch.
- 45:35So which? Seems so clear in hindsight.
- 45:39Of course I don't want to have to fill out a form.
- 45:43I don't want to have to put more than I need to to get what I
- 45:46want I want. If I can do it in one click,
- 45:50that's better than typing out. Words.
- 45:52Now there's another side to it. Right now, I think to the kind
- 45:54of things that we learned as we build these agents is that the
- 45:58the systems have a much better ability to understand complex
- 46:04queries. So as soon as you put in
- 46:07something like modern couch, most search engines today fail.
- 46:11But it actually like, you know, Jenny, I based system can
- 46:15actually understand what modern is and what that made look or
- 46:17feel like. And so we've sort of leveraged
- 46:20that and said, OK, well, actually we need to represent
- 46:23our catalogs in ways these agents can link more complex
- 46:27queries. Whether you know, a modern couch
- 46:30is, is an example in the classified space, in the food
- 46:33space, you say something light and healthy.
- 46:37Like no search engine today in any food ordering platform knows
- 46:41how to handle that, right? But we actually can, like these
- 46:44LMS can suggest something light and healthy.
- 46:45Give me 5 suggestions or what the look and feel like.
- 46:48But then you need to match that to the underlying catalogue.
- 46:52So then you need to have a system that does this sort of
- 46:54what we've called magic or smart search to retrieve that.
- 46:59And then you have another layer, which is like, well, if we can
- 47:02actually understand that and we want to overcome that friction,
- 47:06there are places in the world where we work, like Brazil and
- 47:08India, people work with voice. And so if people can actually
- 47:13say through voice, hey, I'm looking for a quick meal tonight
- 47:17in my house for two people, that's fairly frictionless,
- 47:21right? If you can send it through a
- 47:22voice message and actually an agent can decipher that and say,
- 47:25oh, house is there, this is where they live.
- 47:29This is what the, I mean with these are meals that would
- 47:32satisfy two people. And so you can actually take a
- 47:34much more unstructured different modality of input from a user,
- 47:38give that to an agent, they can process that and translate that
- 47:41to a set of items that then can be presented to the user.
- 47:45So they are other opportunities that open themselves up because
- 47:48you've got stronger reasoning capabilities, multi modality and
- 47:51so on. Yeah, yeah, I do like that, how
- 47:53you don't have to think in the traditional way.
- 47:56And that's what's becoming clear is that if you're trying to fit
- 48:00the agent into old workflows, it almost feels like it's a square
- 48:05peg in a round hole type situation.
- 48:07But when you start thinking out-of-the-box and you think,
- 48:10OK, well, since the agent can do just about anything that we
- 48:14throw at it, what can we try to make that as a new workflow that
- 48:19doesn't, that the user isn't already trained on how they're
- 48:23used to using the app or how they're used to interacting with
- 48:26this or that. And so you're going to get
- 48:30inevitable dead ends on that path, which I think you saw
- 48:34where the glorified search bar. But then like, yeah, the voice
- 48:39note sounds incredible. If I could just send a voice
- 48:41note to an agent that would give me suggestions all the time.
- 48:44That is a really awesome use case.
- 48:48What are some other use cases that died though?
- 48:50This is where I want. To get back to the graveyard.
- 48:53Yeah, I want to hear more than Halloween episodes.
- 48:57What? Because it's almost like that's
- 48:59where the best learnings are, right?
- 49:00You you always see people writing blog posts and
- 49:03especially companies of your size, they're writing blog posts
- 49:07about the successes, but you don't really hear companies
- 49:11talking about the graveyards and what they had to do to get to
- 49:15that success. I think I've I've won one more
- 49:19that is quite interesting because normally we were always
- 49:23like so heavily focused of like and it's skill.
- 49:25But here is, is we had one example where we kind of forgot
- 49:29that part and it also ended up the graveyard, but it was, we
- 49:33called it the, the UX researcher.
- 49:36So we had real people coming to us with a, with a issue.
- 49:41They're saying like, Hey, I have like all these open form
- 49:44questions that we get like as a, as a review or, or comments on
- 49:49our products, but there are like too many for me to process.
- 49:54Can we build a system? Can we build an agent that goes
- 49:57to those comments and kind of summarize them like, hey, name
- 50:02me the the top three features people dislike about our site.
- 50:06You know, these are questions that that we foresee were like,
- 50:10OK, this is indeed something agents can solve.
- 50:14And when we started with this, we built this whole tool that
- 50:19was analyzing that was going row after row doing like MapReduce.
- 50:25So it was first checking you know what are the subcategories,
- 50:29then dividing into subcategories and then for each subcategory
- 50:32you know, finding given the users objective like what is
- 50:37then the answer. So it was combining all these
- 50:41techniques. It was super fancy.
- 50:43Wait, can I stop you right there real fast?
- 50:45Because if it was, was it a clearly defined workflow each
- 50:50time, or was it that you asked the agent and the agent would
- 50:54figure out the workflow on its own?
- 50:58So it's it could manipulate which workflow, but it was quite
- 51:04repetitive. OK, so it almost choose its own
- 51:07workflow. Yeah, and that was where the
- 51:08agentic. Part came in and you know, we
- 51:11tested it with, you know, excels of like 100 rows, 1000 rows and
- 51:16we're, we're testing this. I was working fine and then we
- 51:19went back and they were asking stuff for excels of 100,000
- 51:27rows. It could not do that.
- 51:31You know, it was, it was like we, we, we knew it was going to
- 51:35be large, but you know, we thought like 100 or 1000, you
- 51:39know, because it, it could do like 10 with without any any
- 51:43sophisticated. So we already like multiplied by
- 51:45100 and but it, it, it, it was devastating.
- 51:49And, and the worst part was also that we designed this in a row
- 51:52by row and they had their answers in like a fertile eyes.
- 51:57They they just transpose their, their whole table.
- 52:00And it also broke the entire thing.
- 52:02And it was it was just a mess because we thought we were so
- 52:05enthusiastic. We're like, this is a great use
- 52:07case. And we saw all these ways how we
- 52:09would solve it, but we completely forgot how how how
- 52:13they would solve it and and asked.
- 52:15We didn't ask enough the. Basic question, yeah.
- 52:17How big of a file are we talking?
- 52:19Yeah, yeah, yeah. So.
- 52:20But there wasn't a period, you know, where we were like, you
- 52:22know, there are no stupid ideas, you know, we just need to make
- 52:25agents, agents, agents to see what sticks.
- 52:29So. You did mention one thing about
- 52:30why you have that mentality, which I thought was pretty cool.
- 52:34And, and you all look at it like it's going to the gym and you're
- 52:37building the muscle of creating agents and you're trying to
- 52:41figure out how you can create these new work flows, these new
- 52:46products that are agentic first. Yeah, because if, if, if at some
- 52:52point, if you made enough agents, you know, it's like
- 52:54learning physics. You know, if you learn something
- 52:57new in physics, you walk around the real world and you see that
- 53:01that formula taking form in real life.
- 53:04And the same happens with agents.
- 53:07You know, if you build a few, you'll be instead of if you
- 53:10enter a site, you know, instead of seeing the UI, you know, you
- 53:13start to see tools. Yeah.
- 53:15And you're like, hey, this, this can be a tool and this can be a
- 53:18tool. And then I have a chat window
- 53:20and then I can just remove this entire UI, You know, that's,
- 53:23that's, that's how you start. Till a user asks for a blue
- 53:25couch. Yeah.
- 53:28But it's, it's like this, this whole new way of thinking and
- 53:31looking at things. It's something that you need to
- 53:33practice because the first time I saw the agent, you know, I, I
- 53:37remember I was, I was, I, I worked a week at process and I
- 53:41was set in this room and the only thing we knew is like,
- 53:45we're going to test a new agent. You know, Ahmed built this one.
- 53:48It was the, the analyst. It was doing like all these
- 53:51pattern analysis and they just gave like the chat window, like
- 53:56good luck, you know, go test it. We need to load test it, you
- 53:59know, does it scale, blah, blah, blah.
- 54:01And I was amazing, you know, it was, it was like I, I didn't
- 54:04know, I didn't know how it was doing it, but it was doing it.
- 54:09And, but it was also like, you know, where are the limits?
- 54:12You know, it was really, really hard to, to find those, you
- 54:15know, in the beginning because you didn't, you didn't know what
- 54:17the system was. And the more you were, and at
- 54:20that time, you know, it, you just did some things.
- 54:23But you really saw that after three months of working with it
- 54:27and developing it, you know where you were better, much
- 54:30better at testing it, you know, finding those X cases because
- 54:32you know, OK, this is how it works.
- 54:34So this is how I can annoy it or this is how I can make sure it
- 54:38works. And there was there was quite
- 54:41interesting to to see this, this muscle.
- 54:44Grow. Let me add to that why because
- 54:46yes, why do we do that right and it's exactly like first we need
- 54:50to understand what makes these things work and and why is it
- 54:54important for us. This process is because we
- 54:57fundamentally believe that these agents are going to be able to
- 55:00help us build better products for our users.
- 55:03And we've made predictions around this, right.
- 55:05You were at the marketplace. So one of the predictions we
- 55:07made was in a year time, 10% of the actions done on our
- 55:15platforms will be done by agents on behalf of our users.
- 55:20That's a pretty bold prediction. And, and whether it's in 12
- 55:23months time or 36, it will happen.
- 55:25We're fairly confident about that because these systems, you
- 55:28know, will, why won't you send out your agent to help you, you
- 55:32know, get whatever you need, whether that's food or other
- 55:34things, if it can do that reliably for you.
- 55:38But we can only build those things if we fully command the
- 55:41technology and have a very good intuition.
- 55:43And you can see how floors, you know, by basically trying a ton
- 55:47of things with, you know, with the rest of the team has
- 55:49developed that intuition. Yeah, right.
- 55:51We said that that we're not ready for that.
- 55:53But this sure that tool we can build and it'll get us to 80%
- 55:57accuracy. We measure these things, we test
- 55:59the tools and so on. So that's the larger picture of
- 56:02why. It's also because it's awesome,
- 56:04you know, it's I just, I just want to.
- 56:06Yeah, it says that the wow effect, you know, I think that
- 56:10agents won't give me that wow effect.
- 56:12I think they will will still be a while before that will be
- 56:17removed. And so maybe you can give us
- 56:19some just tactical things when you're putting agents into
- 56:22production and you want to make sure that you've covered and
- 56:28you've checked all of the boxes. What are some things that you've
- 56:33learned or you've done that have helped you to make that jump?
- 56:39On the B to C side, I think there are people who know much
- 56:41more than I do, but we did work with a few agents that were
- 56:48around data so that the data analyst and there we really saw
- 56:55that that improved in prompting and security is when we would
- 57:00repeat, you know, after we gave the answer is like, we gave this
- 57:04answer under these assumptions. And so because we, we really
- 57:11tried to, to to ask as many questions to make sure it was
- 57:14not ambiguous question, but that's just hard.
- 57:17And there were still, you know, a few questions that came
- 57:20through that like that defense mechanism.
- 57:23But at the end we're like, OK, then let's just recap and saying
- 57:28like, OK, you gave this question, you know, I did this.
- 57:31So that means that I made these assumptions and listing those at
- 57:35the bottom is also a way, a security way of saying like, you
- 57:41know, maybe I made a mistake because you don't you want to
- 57:45minimize mistakes, especially when you're doing data analysis
- 57:48because we want to position these tools like, you know, you
- 57:51want to make decision based on this, you know, we want to make,
- 57:54we want to make everyone be able to make decisions on data.
- 57:59Now the better those decisions are good.
- 58:01So one of these mechanisms is like the assumptions and I think
- 58:04we haven't seen that in other tools.
- 58:07So you're just asking as a final step in the prompt, like, tell
- 58:11us what you did, tell us what the prompt was.
- 58:14Yeah, it's a, it's a separate mechanism.
- 58:15So it's not the agent itself. You know, we really want to kind
- 58:18of let the agent do it's thing, but there's like a second Adalam
- 58:23call or agent call that basically refused the steps and
- 58:26saying like OK user started with this question.
- 58:30But I've seen you also added this filter in the SQL query.
- 58:35I see you changed the date format, you know, maybe that
- 58:38changes things, you know, so. It's like a proofreader
- 58:41basically, right? Like a layer of checking before
- 58:44and validation before it gets sent back to the user.
- 58:47Yeah, it's critiquing everything.
- 58:48But it's not saying like it's wrong or right, you know, but it
- 58:51ends to the user like it's, is it right that I made these
- 58:54assumptions? Because mostly those assumptions
- 58:56are made because there was no other way of calculating it or
- 59:00it was because it's some rule and some document that we added
- 59:03to the agent, you know, OK. Other thing that I want to
- 59:07finish on is your view of the evolution of prompting.
- 59:11It's it's come a long way, you know, so like the first time I
- 59:16was using the large language models in some kind of like
- 59:19assistant way, it was like the Neo X.
- 59:22It was, it was an open source model, 20 billion parameters.
- 59:26And I remember, you know, prompting it like as if I was
- 59:30writing a paper and then stopping at some point and then
- 59:34it would like finish some complex question because it
- 59:37would do like it would write the paper that would answer that
- 59:41question, which was insanely trickery.
- 59:45You know, it was it was it was basically we're tricking that a
- 59:47lamps, you know, and then three-point the Da Vinci game.
- 59:51And still, you know, we needed these tricks.
- 59:53We needed examples. We needed to kind of massage,
- 59:57massage it into this pattern and.
- 1:00:02Then the era came of instruct models, you know, and that's the
- 1:00:05beginning of Chet GP where you could just ask a question and it
- 1:00:09would understand that that is an instruction.
- 1:00:12But this development kept continuing.
- 1:00:15So people thought like, OK, the moment you can ask a question,
- 1:00:18it works. But we've seen it in, in these
- 1:00:20system prompts, as you call them, you know that in the
- 1:00:23beginning we needed to tell them every single thing.
- 1:00:26Like this is how Python works, you know, this is how you use,
- 1:00:29this is how you be friendly. This is how you use emoticons on
- 1:00:33your message. You know, it's like we were
- 1:00:35writing like the tiniest bits of Corrections that we want to see
- 1:00:38consistently we needed to write down.
- 1:00:40So you had system prompts of like 3000 tokens and, and maybe
- 1:00:46even more for, for some agents. But over time, you know, we, we
- 1:00:51had, we had struggle converting these, these prompts from model
- 1:00:55over model. But what we actually saw is like
- 1:00:57if you just removed everything, you know, and started again,
- 1:01:01like, you know, with empty prompts and then adding the
- 1:01:04parts that indeed were failing, you ended up with a shorter
- 1:01:08list. So what actually was happening,
- 1:01:11you know, open AI was training these models better and better
- 1:01:13in doing many of these things, people were forcing it into to
- 1:01:18be part of the native behaviour of agents or of of models.
- 1:01:23And that is, that is, that is a trend that I really see.
- 1:01:25Like if I now build an agent, you know, I literally start with
- 1:01:30three lines of system prompt. Wow, there was there was
- 1:01:32unimaginable in the time of 3.5, you know it was not possible.
- 1:01:37I think it's a that's a really great outline of prompting,
- 1:01:40right, going from these base models that were just dumb token
- 1:01:42next token predictors, the auto the core auto aggressive
- 1:01:46function to like actually instruction fine tuning.
- 1:01:49Well, actually you at first at the few shot, yeah, then you had
- 1:01:52an instruction fine tune, then you had alignment.
- 1:01:54Now you have, you know, now you have the O ones, which basically
- 1:01:58they do like, like, you know, chain of thought suggesting
- 1:02:00before they actually start executing.
- 1:02:02But because we're talking about agents, we also see that if you
- 1:02:06look at the prompt that we use in our genetic systems, they're
- 1:02:11essentially, you know, it's like it's a piece of code where you
- 1:02:14start inserting all sorts of parameters, right?
- 1:02:18So it's basically like dynamic prompt building or or you know,
- 1:02:21composite prompt building where you've got placeholders for all
- 1:02:25sorts of things that come from the system.
- 1:02:29And it can be, you know, information about the session or
- 1:02:33the context or the user or whatever.
- 1:02:36But also, of course, you've got the tools and the function
- 1:02:39calling that you need to describe where, you know, the
- 1:02:42way you describe it floors. I think it's absolutely right.
- 1:02:44Like now we're kind of, you know, you can't put in 2000, you
- 1:02:48know, function functions and describe them.
- 1:02:51It doesn't work yet You can do a couple.
- 1:02:53We know kind of where the sweet spot is depending on the model.
- 1:02:55Where have you found? Is it like 10?
- 1:02:57It depends on the model, but no, it's.
- 1:02:58More you can do. It depends how complex the
- 1:03:00functions are and so on. And if you need to change the
- 1:03:03functions if they look alike, you know if they're super far
- 1:03:06apart, you can add as many as you want.
- 1:03:08It's when they look alike, right?
- 1:03:09And then it gets confused and it's like, yeah, that's the
- 1:03:11same, isn't it? Yeah.
- 1:03:12So we build evals on one can, can it actually pick the right
- 1:03:16function at the right moment? But then the next step is you've
- 1:03:20picked the right function. Can it actually provide the
- 1:03:23right parameters for that function to be executed?
- 1:03:26Typically, if you do code execution, you need parameters.
- 1:03:28Or if you go to the web, then you need parameters, right?
- 1:03:30Search queries and so on. And that's a second evaluation,
- 1:03:34right? Can you actually ensure that
- 1:03:37when you've identified the right function, you pass the right
- 1:03:39information to come back? Now all of that stuff comes out
- 1:03:42of that prompt, right? So in fact, your question of we
- 1:03:46know how this prompting changed is super relevant for folks
- 1:03:50building agents. Because the way you think about
- 1:03:52a prompt and the, the orchestration around it, what
- 1:03:56information you pull in, what information you get back.
- 1:03:59If you do sequential chaining of, of, of, of tools in the, in
- 1:04:03the agentic workflow, all that stuff needs to somehow, it's
- 1:04:08very stateful, right? Needs to be stored somewhere.
- 1:04:11It needs to be managed. So anyway, we've, we've ended up
- 1:04:14in, you know, all sorts of worms, cans of worms.
- 1:04:17Because if we try to make these things work, as you change the
- 1:04:21model, add a tool. Breaks everything well.
- 1:04:25Yeah, you need to make sure you understand what breaks.
- 1:04:27Yeah, when when it breaks, you learn something.
- 1:04:29Yeah. I think that is that is really
- 1:04:30important. Yeah.
- 1:04:32Yeah. I think that's almost the first
- 1:04:33question I asked people that made some agent or an agentic
- 1:04:37system is like, what can't it do?
- 1:04:40You know, because that's really, really important.
- 1:04:43You know, something that we saw on a, on a project that was, you
- 1:04:46know, we, we constantly knew what it couldn't do.
- 1:04:50So we knew that it was our next target.
- 1:04:53And then, you know, we could we're able to do that.
- 1:04:55And then we're, you know, spend a few minutes and like, OK,
- 1:04:58where does it now break? And then like, OK, that's our
- 1:05:01next target. And then you move on, moving
- 1:05:04target to target until you're like, OK, these tasks are edge
- 1:05:09cases, but we still know it doesn't work there.
- 1:05:12But that's off limit. Well, that goes back to that
- 1:05:15binary execution, right? Because you know, did it
- 1:05:19complete the task or not? Yeah, exactly like binary.
- 1:05:22You know a lot of people saying like right or wrong, but indeed
- 1:05:25a task completion. You know, if I, if I have 8
- 1:05:28steps to finish a task, you know, I, I don't, I don't really
- 1:05:32care how it achieves the task. You know, I just wanted to
- 1:05:36achieve the task at the sort of consistency.
- 1:05:39So that is also a binary thing. It doesn't have to be like.
- 1:05:45There's that, but then there's also the almost higher view of.
- 1:05:50Are these the right tasks? If you ask an agent to do
- 1:05:53something, it may complete all the tasks no problem.
- 1:05:56But. I think I think it's a good one
- 1:06:00where you're also, you know, if you take time back into it, like
- 1:06:03if you waste more time trying to get that task to work, but it is
- 1:06:09then automated, you know, that's also kind of like, is it then is
- 1:06:13it then worth it? I think that the the cognitive
- 1:06:15load on checking it and and and making sure it works, that needs
- 1:06:19to be in check in the value it delivers.
- 1:06:22And I think what you mentioned early in the podcast, you know,
- 1:06:25the computer use, the web use, you know, I think there we are
- 1:06:28really in a stage where there will be a period where we're
- 1:06:32saying like, OK, it can do it, but you know, maybe I will just
- 1:06:36make that pivot table myself because typing it will probably
- 1:06:40take longer. Yeah, than I want to use my
- 1:06:42computer. Yeah, yeah.
- 1:06:44And I don't want to sit behind it.
- 1:06:46Yeah, that's also well, like, does it save you time if you're
- 1:06:48not able to operate the computer at the same time?
- 1:06:51Or you need a second computer just for your.
- 1:06:53I mean, for us, we generally think about make it work first,
- 1:06:58then make it fast because users don't like to wait and then make
- 1:07:01it cheap and we're typically always pushing the frontier
- 1:07:04doesn't work. And so, you know, it's, it's
- 1:07:08perfectly fine to pin up the spin up 10, you know, basically
- 1:07:12agents that will try and solve your task and whichever 1 gets
- 1:07:14to it first, because you know, that's more of a having a right
- 1:07:18answer is more valuable than having, you know, 9 or 10 of
- 1:07:21these things doing this in parallel with the cost of that.
- 1:07:24So we're always trying to push for the boundaries of can we
- 1:07:27make it work? It's also interesting for
- 1:07:29process itself to know which tasks are solvable by AI because
- 1:07:33then we know there's a time factor that within X amount of
- 1:07:38months or years this will be viable from a from a cost
- 1:07:42perspective. So we just need to know it could
- 1:07:45be solved, but if it's the right time isn't another question.
- 1:07:54A huge shout out to the process team for their transparency
- 1:07:57because it is rare that you get companies talking about their
- 1:08:02failures, especially companies that are this big in the AI
- 1:08:06sector and really helping the rest of us learn what they had
- 1:08:10to go through so painfully. Sometimes a mention that they
- 1:08:16are hiring. So if you want to do cool stuff
- 1:08:18with the team that we just talked to and even more, hit
- 1:08:23them up. We'll leave a link in the show
- 1:08:24notes. And if you're a founder looking
- 1:08:26for a great design partner on your journey, then I highly
- 1:08:30encourage you to get in touch. We'll leave all the links for
- 1:08:33all that good stuff in the show notes.