If we want them to do Knowledge Work, design them as Knowledge Agents — Benjamin Clavié, Mixedbread

AI Engineer · 17 min · 197 sentences · from YouTube's caption track

Each timecode opens YouTube at the start of that sentence. Line anchors (#s42) are the cue ids in the WebVTT, and every line carries its start and end seconds. All transcripts has every talk, and the whole corpus as one file.

  1. 00:01[music]
  2. 00:13Okay.
  3. 00:13So, hi everyone.
  4. 00:15I'm going to give the quickest introduction to myself.
  5. 00:17I'm Ben Clavier.
  6. 00:18I worked at Mix Bread where we do retrieval.
  7. 00:20I'm French and I live in Tokyo.
  8. 00:22And today I'm going to talk talk to you [clears throat] about the fact that agents should do knowledge work.
  9. 00:28And so we should design them like knowledge workers.
  10. 00:30Like we should design them like knowledge agents and not coding agents.
  11. 00:32And I'm going to explain the difference and why I think that's important.
  12. 00:36It's a bit of a hot tech talk but let's start now.
  13. 00:39So the first thing is like first agents gave us fun trivia and I'm talking like early agents 2022 agents back when all you had was you know rag but agents couldn't even the tool call back then.
  14. 00:50So all you had is like you had an if statement.
  15. 00:52You did search.
  16. 00:53You got like cool you could talk to your PDF.
  17. 00:56That was the very first form of agentic work.
  18. 00:58It was not very useful.
  19. 00:59We're not going to talk about that for long.
  20. 01:01What came next was programming agents and that's been all the rage.
  21. 01:05Like once agents started being able to search actually properly search actually properly understand things car tasks out call tools we started designing coding agents and coding agents are a big thing.
  22. 01:16I don't think there's anyone in this room that does not use coding agents.
  23. 01:19would use code, codeex, etc. And that's a form of knowledge work.
  24. 01:24But agents were not knowledge workers at the time.
  25. 01:27Like agents were coding agents.
  26. 01:29And now they're becoming knowledge worker.
  27. 01:31And by knowledge worker, I mean that knowledge work is a big supererset.
  28. 01:35And kind of every workflow you've thought of before is a form of knowledge agents just because of the nature of knowledge.
  29. 01:41So it's like if you have an agent that's a lawyer that's looking for legal documents, if you go financial agent, if you're looking for you know medication information like you've got a lot of people on Twitter that try to do those self diagnosis and you've got
  30. 01:54just a lot of medical usage.
  31. 01:56All of that is coding agents for getting an agent.
  32. 01:58It's trying to find say knowledge agents.
  33. 02:00is trying to find knowledge, trying to make use of knowledge and coding is part of that of course and even the small rag bit that we talked about like in the first slide is part of that but that's a very very small proportion of the actual full thing like there's so much more to knowledge than any one
  34. 02:16domain and what even is knowledge work because I'm saying that it's important they do knowledge work coding is knowledge work and I think there's two ways to define it in my opinion one of them is
  35. 02:29knowledge work is work Your main input is information.
  36. 02:32Like your main input is not an actual physical material.
  37. 02:35It's not something that you can touch.
  38. 02:37It's knowledge is information.
  39. 02:39And the nature of knowledge work is that you process this information which is by nature very ambiguous, very diffuse.
  40. 02:46And the main output you get from that is something actionable.
  41. 02:50It's a judgment.
  42. 02:50It's a decision.
  43. 02:51It's some if it's a lawyer, you're going to get, you know, their findings on your case and they might plead for you.
  44. 02:57you're going to get an actual actionable thinking item like something still not tangible but that exists as knowledge.
  45. 03:04There's also a topological definition which makes sense here is that if you need search it's a knowledge problem and if it's a knowledge problem you need search.
  46. 03:13So it's very easy self-defined and in the real world that's basically most of the work that we see in the service economy is a form of knowledge work like lawyers knowledge workers academics knowledge workers actuaries knowledge workers
  47. 03:26software engineers researchers also knowledge workers and the fact that there's so much knowledge work in society has contributed to like a never improving structuring of knowledge work like there's actually very very well definfined workflows
  48. 03:39for how we should do knowledge work for how knowledge works in itself and how we evolve that.
  49. 03:44But so far, agentics kind of focused on the special case and I try to generalize from it.
  50. 03:49And that special case is coding and software engineering.
  51. 03:53And the thing is code is knowledge, but not all knowledge is code.
  52. 03:56And code is a very very unique form of knowledge because it has very durable cues like on in a codebase there's going to be a lot of references to like an identifier or a file or a path.
  53. 04:07And okay when we vibe code that can change but most of the time it's not going to change all that much like all the things are like very very durable.
  54. 04:15Then you've got that surface obviously is like now and grapable like there's keywords there's method definition there's a lot of things that by definition you can grab in code
  55. 04:25and the task and this one's actually very important and we don't talk about it a lot but people are like oh why is ge good enough for programming or why can an agent do programming and then you're telling me it can do like deep research for a legal question
  56. 04:38and one of those is because we don't realize it but like when we interact with coding agents we are giving them extremely in our task like we're not actually expecting that much from them like everything is always kind of about a feature
  57. 04:50about like a given ticket like there's a task at hand you're not going to tell the agent like discover a new programming paradigm and then implement it in this new app I don't know what's going to do good luck
  58. 05:01but in know that's often the case like first of all you don't have those double cues like the meaning is always implicit and more importantly the same clue can mean a lot of different things we don't have function definitions in knowledge work like if receive 30 days.
  59. 05:16If your agent's looking for 30 days, is it a deadline?
  60. 05:19Is it a grace period?
  61. 05:19Is it a retention rule?
  62. 05:20Is it even in the same domain?
  63. 05:22Like are you searching for 30 days on the contract and you're getting medication?
  64. 05:26There's a lot of contextual information.
  65. 05:28Yeah.
  66. 05:28But more importantly, the search starts from an intent.
  67. 05:31Like even if you're doing again legal example, if you're asking about like a specific rule that you want to apply to a specific domain, you're going to need to look at the international norms that apply and then do they apply in this case.
  68. 05:42there's a lot of conditional information that is not predefined in the task like that's all up for the agent to find and so non-code knowledge is very contextual and meaning driven which is much harder than code
  69. 05:55and that's led to the fact that none of what I'm saying is new like people have been doing knowledge work for a very very long time and that's resulted in like two endless loops you have a tool loop which is
  70. 06:07at the start we were we were like talking then at some point some guy was like we write stuff down.
  71. 06:13Then in Alexandria, we had the pin case which was the curator of the library of Alexandria came up with an idea that maybe we should have a way to catalog all of the books we have.
  72. 06:23Then we developed writing.
  73. 06:24Then we developed bibliographies.
  74. 06:26Then we ended up with like the current version of the like Dewey system for libraries and nowadays we have search engines.
  75. 06:33But we also had an organization loop which is joint but also disjoint from the tool one which is it used to be the one gifted expert like we've all heard of the polymath of the past the person who just knew everything about one domain or all domains and you just went to them if you had information
  76. 06:50but that doesn't scale.
  77. 06:51So we ended up with like monasteries which were like guardians of knowledge and then we had universities and then we ended up creating the bureaucracies and now we ended up creating the modern organization of work where
  78. 07:00we have very specialized firms like at hospitals you've got the doctor you've got the senior doctor you've got the nurse practitioner the nurses the healthcare assistants and all of them kind of like
  79. 07:10specialize on different levels of tasks and that's a really good form of optimization but the thing is that it's actually just the one loop like I'm showing two loops here but they're actually just the one loop which is we have new knowledge and new knowledge means that we need better tools
  80. 07:25and better tools mean that we end up creating new workflows new roles like we need people that are trained to use those tools people that understand what the new tool does if you have a guy that knows how to go to the library
  81. 07:36and you're like okay use Google you need the knowledge of what Google is like that person needs to be taught that's a search engine you can just type stuff in it there's no need to physically go there and that means you retrain you get new knowledge workers who are more efficient so they create more knowledge so we
  82. 07:49need new tools and so on and so on.
  83. 07:51So both the tool loop and the organizational loop are actually just this one selfoptimizing loop that kind of like triggers the other endlessly.
  84. 08:01And the thing about like tooling and optimization is that they're not neutral add-ons.
  85. 08:07Like I said that we keep optimizing tools and things come up and we create new things out of those tools.
  86. 08:12But that's never actually a neutral thing.
  87. 08:14Like tooling is not just oh my search is 5% better.
  88. 08:17the fact that we have a tool or the fact that we don't have a tool is what decide if a task not if the task is possible because you can do things without the right tool but if the task is actually scalable and can be carried out cheaply because something being cheap means it can scale
  89. 08:30and it's like yes of course if you go to the library of Alexandria before the pakis you can find your manuscript somewhere like wherever you're looking for it there it's probably going to take two three weeks so you're going to really really really need that knowledge
  90. 08:43but if there's a library catalog it's going to take you 10 minutes and now like it's way easier to just oh okay I need to know something more about this so I'm going to search for it
  91. 08:51likewise if you have a map directory or if you even have a map in the first place which in itself is a tool for information then exploring the world is a much better idea like you're not going to rely on randomly discovering America on your way to the indies you know like you know where you're going
  92. 09:06and likewise if you have like a multimodel search platform then you can search millions of PDF in a way that we couldn't before so now there's a lot of use cases where you were like oh it's in the archives I'm not going to touch that that become actually useful
  93. 09:20and in practice this kind of looks like that and I'm getting into the more technical stuff here which is on a simple deep research task.
  94. 09:26So this is the browse comp plus leaderboard which is made to evaluate the quality of search tools on a very bonded deep research task.
  95. 09:34You have 200,000 documents and you have like specific queries.
  96. 09:37[clears throat] Bio talked about this this morning and it's a really useful benchmark to like analyze queries.
  97. 09:42And what we see that like okay a bad tool.
  98. 09:45So that's a thing that people often rant about.
  99. 09:47You'll see that there's two BM25 here.
  100. 09:49There's two like optimized and unoptimized.
  101. 09:52And that's because quite often people will tell you BM25 is not great.
  102. 09:56And the reason they'll tell you BM25 is not great is because there's not one BM25.
  103. 10:00There's hundreds of them.
  104. 10:01It's a way to do lexical search.
  105. 10:02You should always optimize your baselines.
  106. 10:04You should always like optimize what you're betting.
  107. 10:07And so what you see here is like a badly optimized tool is useless.
  108. 10:11Like 60% accuracy.
  109. 10:12You're not going to trust someone that's right 60% of the time.
  110. 10:15You're just going to do it yourself.
  111. 10:17When you start optimizing the tools, you can see we go up to 70 80.
  112. 10:21And then the best the actual best is the hybrid harness that gets to 98.
  113. 10:24But that's maybe not the most interesting part because we start kind of plateauing at one point like the jump from 889.8 to 90.2 is in run variance that don't matter.
  114. 10:36What matters here however is that 90.2% accuracy.
  115. 10:40You reach it with 20% fewer tool calls.
  116. 10:43And that's huge because in practice that's 20% fewer tokens, 20% like fewer resources that you use.
  117. 10:49That's basically 20% free cash.
  118. 10:51And if you compare it to the unoptimized baseline, you're spending like 5% of what you were spending in the first place.
  119. 10:58So the tool is actually what makes the task worth doing.
  120. 11:00Nobody would keep using that tool.
  121. 11:02If it takes 25 calls, but if it takes eight calls, you're like, "Oh yeah, cool.
  122. 11:05That's a workflow I can introduce."
  123. 11:09And the second part which goes with tooling and I think it's just as important because Bruscom plus in the previous slide is interesting, but it's easy.
  124. 11:16It's 100,000 documents.
  125. 11:17It's just text.
  126. 11:19It's just the one question.
  127. 11:20It's not really that open-ended.
  128. 11:22It's just a bit convoluted.
  129. 11:24But when you're actually doing like real life knowledge work, there's that workflow that you see that I try to doodle, which is you have a client, they come to the big shot, they come to the lawyer, that's the partner of the agency,
  130. 11:35and they're like, "Okay, this is my situation.
  131. 11:37That's my problem."
  132. 11:37And they meet together, but then what the partner does is they're not going to be the ones doing all the legal research.
  133. 11:44They're not going to be the ones like doing every single step of the problem.
  134. 11:47What they'll do is kind of understand that like okay this person is has this problem that's going to cause them that those are the facts.
  135. 11:54I need the relevant laws with this that and so on aspects and then they've got party goals.
  136. 11:59They've got assistants and the assistants are going to be doing this research.
  137. 12:02They're going to be using like the sales of tools they've been trained to use and they're going to produce memo and not and then they're going to give that back to the big shots that maybe they'll [clears throat] research like one clarification point but they mostly rely on what their searcher agents if you want like the assistants
  138. 12:15have found for them and that's the respond that you're going to get and that's echoing the point I made before which is in code when you're using cloud code you're kind of doing that work yourself you've already broken down the query you know like you know what you want to do you've got a linear artic you've got
  139. 12:29something that you're giving the agent in the real or you've got a client that's got a very open-ended problem and you need to break it down yourself and your agent needs to break it down itself and then needs to use sub agents that do this research
  140. 12:42and this is how better tools and organization work together because this one is MQA which is another form of knowledge benchmark QA [clears throat] is something that hugging face and snowflake jointly released and it's PDF based and enterprise task it's got PDFs and it's got OCR
  141. 12:58OCR versions of the PDF and the current state of The board really show that like both tools and organizations are necessary and you can see that in the fact that with BM25
  142. 13:09however optimized it gets the human in Gemini 3 reach the same ceiling and that doesn't mean that Gemini 3 is as good as a human that means that even the human cannot get the right information given unlimited searches with PM25.
  143. 13:23So you have the tool setting and you need better tools to go forward.
  144. 13:26That's the like tool optimization part of the loop.
  145. 13:29Thankfully, we've got better tools.
  146. 13:31You know, we've got we've got models that can handle PDS.
  147. 13:34We've got vision.
  148. 13:35We don't need to rely on OCR text.
  149. 13:38And what we see with that is that we get another jump which is Gina and the mixbride search tool which is fully multimodel.
  150. 13:43So, it can read the PDF, you get the tables, you get all that nice stuff in your search and that gets us a big jump in accuracy.
  151. 13:51But the interesting part is that like that doesn't work.
  152. 13:54the well that don't work that does work but that don't work as well as we would like because why is my agent getting 88.9 if the human is getting 99.4 for like that's 10% I'm leaving on the table here.
  153. 14:04But that I don't understand that's an agent.
  154. 14:06It gets I think 10 turns in the benchmark.
  155. 14:07So it's a fully agentic system.
  156. 14:09It gets to think about its results and yet it's missing performance.
  157. 14:13And that's where we introduced the mixbr agent which is exactly that breaking down of work we saw earlier where we basically tell the the main agent once answering the question being like okay that's
  158. 14:23that's a big topic there is like thousands of PDFs.
  159. 14:26You're not going to like search yourself.
  160. 14:27Just please break down the problem for me.
  161. 14:29Please write queries about the aspects that you think are important to answer the actual query.
  162. 14:34And we get searcher that go off on their own and they find the right results and they bring you like a little memo to your agent and then your agent actually answers that.
  163. 14:41And that gets the accuracy up by 3.5 points.
  164. 14:44And that don't sound like a lot, but I like to think of it as like an oracle gap.
  165. 14:48And the oracle gap is the difference between perfect documents and your search system.
  166. 14:54And the oracle gap here is about about 10 points before using the agents and it goes down to six points after using the agent.
  167. 15:01So that means that we have about a 40% reduction in mistakes.
  168. 15:05Like the gap between humans and agents goes down by 40% just by like having a better architecture to search through it.
  169. 15:13And I think this is the end of my slide because I'm running out of time and that's perfect.
  170. 15:17That's my takeaway slide.
  171. 15:19And what I want you to like get from this talk is that we know how to design better knowledge work for humans and AI agents really benefit from this pattern like we have designed this.
  172. 15:29We know how to do this.
  173. 15:29Humans have worked on this for centuries.
  174. 15:31Like
  175. 15:32[snorts]
  176. 15:32people have always needed more knowledge.
  177. 15:34The empires used to have librarians.
  178. 15:35We have parallel.
  179. 15:36We've got legal firms.
  180. 15:37We know exactly how legal the legal industry has figured out.
  181. 15:42The medical industry has figured it out.
  182. 15:44And none of it looks like programming.
  183. 15:45Programming has a very different system because it's a very specific use case and we should really learn from the knowledge wall to know how to design agent that will do work for knowledge wall
  184. 15:57and then you must not like overfeit on tools because tools don't exist as a way to do things by themselves.
  185. 16:04Tools exist as a way to overcome ceilings.
  186. 16:06You want a better tool when you see that you're hitting a ceiling that your performance is not where you want it to be.
  187. 16:10So we design better tools to overcome that savings and more importantly the tools need to be co-designed with the agents like the agents need to know how to use tools because one thing you will often see is
  188. 16:22agents will try to write grape queries because grapes everywhere in the training data BM25 is everywhere in the query in the data and that's not always what you need.
  189. 16:30Sometimes you need semantic search over a PDF and you can't grab a PDF you can BM25 a PDF you need to like write a better query.
  190. 16:36So it's very important that your agentic harnesses or even your agentic models know that they have got more than one tools and it's about primitives grabs a primitive.
  191. 16:44PM25 is a primitive and semantic search is a primitive and all of those need to be like very well trained like the models need to know about all of them.
  192. 16:53And the last one is that the right orchestration of search will get you much better results because context is a finite resource and even if we get to a model that's got like 100 million token context
  193. 17:05a that's going to cost you a lot of money and b that's still nothing you're not even getting half of like one state's legal code let alone the US let alone international law let alone specialist course etc.
  194. 17:16So you need to have a way to break down your task and you need to have your orchestrator, your main agents and people that can actually organize the knowledge for them.
  195. 17:26And yeah, so we've got two minutes for questions.
  196. 17:32[applause]
  197. 17:34Thank you.