The Half Life of Agent Infrastructure — Ben Kus, Box

AI Engineer · 19 min · 226 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:12Hi everyone, I'm Ben Kuss.
  3. 00:14I'm CTO of Box and today I'm going to be talking about uh building for change and specifically around uh AI agents and how to continue to adapt uh your infrastructure as we are all in the middle of this journey.
  4. 00:28Um, so before I get too far, I will quickly sort of set a little bit of like who I am and uh sort of what I do.
  5. 00:35Um, for Box, I'm CTO and one of my jobs in my job for my whole career has been to build enterprise software.
  6. 00:42And so if today um you're from a consumer company or you're uh not involved in enterprise, I hope that a lot of it is still relevant.
  7. 00:50But in many cases um a lot of the lessons I've learned are enterprise uh specific.
  8. 00:56So um I sort of will highlight um when I'm thinking and talking about infrastructure when I'm talking about uh the kind of challenges that we face um I'm typically talking about things that are sort of in a scale of like uh like for box we have over an exabyte of data
  9. 01:12not a gigabyte not a terabyte not a pabyte but an exabyte um and then oftentimes we're I'm thinking in the tens of of millions of users uh the hundreds of billions of things in our case files or content or unstructured content
  10. 01:25um and then the new stat that is sort of the the one that we talk about is uh tokens.
  11. 01:29Um so we are now in the ballpark of trillion tokens probably will be 10 trillion tokens sometime soon.
  12. 01:35Um and this of course is uh uh some of the new and interesting challenges that this kind of scale brings.
  13. 01:43Um so in my career and um I think maybe many of us here um we've kind of lived through these this these technology changes.
  14. 01:51And so taking a quick step back um I started uh my career when the internet was sort of becoming a thing uh lived through mobile and sort of this idea of like you know carrying these different devices move to the cloud where you could kind of store and maintain all your data and then of course we're all
  15. 02:06in the middle of this AI change and I think when you see these kind of technology disruptions when you're sort of thinking about this idea of like all of these kind of have changed all of our lives
  16. 02:16um and then uh and you're thinking about it from the perspective of a technology leader or a startup or a engineer.
  17. 02:24Um, you kind of see that like these are where like major companies are born.
  18. 02:28Um, you see that like big companies adapt or die.
  19. 02:32Um, small companies are here to disrupt things.
  20. 02:33They're here to take bets.
  21. 02:34They're here to grow.
  22. 02:35Um, I've had two startups.
  23. 02:37I've been acquired twice.
  24. 02:38Once in IBM, once in a box.
  25. 02:40Um, and um, so that we're in the middle of this kind of major opportunity.
  26. 02:44Um but for um a long tu uh no matter what you kind of come from and what area you're at I uh t typically if you were to ask my advice
  27. 02:54um and about kind of what makes it you successful as an company as an engineering organization as a technology startup or as a like a company who has a a technology division
  28. 03:05um I would say no matter what there's kind of three things the first is you need to build scalable reliable uh platforms and select the technology that you care about.
  29. 03:15Meaning that like there's a lot of ways to do things, but get good at something.
  30. 03:19Get good at that technology, at that system, at that stack, and then and then keep going with that.
  31. 03:23Um, and then you leverage this technology so that you do more for your customers.
  32. 03:27Um, you build your better product, you develop the capabilities, and then you optimize it, make it better, make it faster, make it cheaper, make it uh more capable.
  33. 03:37And this was sort of the generic enterprise advice, uh, the generic energy advice that many many people would follow.
  34. 03:43And I think this works really well except now I don't know if this is good advice.
  35. 03:52It has been across all these major disruptive changes over time.
  36. 03:55Unclear.
  37. 03:56In fact, I don't think it's good advice right now because there's a funny thing happening right now which that didn't happen in those previous trends which is that the rate of change is dramatically higher.
  38. 04:06Um I and you might say look technology always is changing like you know there's other trends things change a lot but not that much um the internet is still based on HTTP
  39. 04:16the uh uh mobile devices are still um iOS and Android based and so on and so but nowadays um other than the fact that like uh generative AI exists most things that power it are changing and changing dramatically.
  40. 04:30So last year I was here at this uh at the AI engineering world fair and I gave a speech and I said uh after spending a lot of time on this and thinking through this
  41. 04:40I think there's a key to this which is a gentic uh uh graph-based approach.
  42. 04:45The idea was um uh you have a large language model and these nodes and then you sort of put them together and you have the sort of the AI
  43. 04:52traverse this graph that you set up you build the graph.
  44. 04:55This is the key approach that and if you use this this is going to really help you sort of build agents because what is anything that we do in life it's a agent it's a workflow
  45. 05:05um uh it's a it's a way and then if you have an intelligent uh uh a agent it can basically traverse this is the key approach and I believe that at the time and a lot of people did
  46. 05:15and I still love this approach but nowadays it's sort of a little bit out of date in fact I remember um uh a guy came up to me after my speech last time and he was like the problem you talked about the the answer is just this exactly you were speaking to me thank you so much and
  47. 05:32and I was happy I I you know I gave a good speech and gave somebody some good advice um and then I remember when we made a change I was like I wonder what happened to that guy I wonder if he's here uh it's uh uh so
  48. 05:42um but the problem is is that not that it was wrong that that was the best approach but a new way emerged um in fact I started to like look through like all of the last year's
  49. 05:54uh events and actually go to other conferences like what what did people talk about a year ago and most of them were again nothing much wrong all good speeches all all good ideas but
  50. 06:05most of them have now a better way there um and uh so um and this is be sort of the gist of of the challenge so if you look at our journey of the technologies the kind of things that we care about
  51. 06:19um I'll just kind of rapid file here like so let's say that you want to utilize AI models and let's just look the last couple years a long a while ago probably distant memory now like people would say train your own my models or maybe fine tune them like nah that doesn't that's too why bother just use
  52. 06:33a frontier model use something from openi use something from anthropic use something from from Gemini um and then that's great but it's kind of expensive okay great let's just use openweight models they're pretty close you can use them you can host them yourself you can get some good GPUs
  53. 06:44um but then uh some companies will come to you and they'll be like look we just did this big deal with open orthropic like can we use our own key or bring our own model like sure you can do that too but then nowadays is probably the best approach is to do an adaptive model selection where you
  54. 06:57basically are picking the big and smaller models what which model does well and this is kind of the cool new thing maybe I could give a talk on that
  55. 07:04um or let's say you're building agents like we lot lot of things here like um I mean the word agent hasn't really been around for that long but in that time it used to be like a singleshot
  56. 07:13uh LLM response call that an agent if you feel like it then you have to say no okay we're chain of thought reasoning now we're going to make a graph-based agent system
  57. 07:21like I presented last year uh no then it turns that why are you bothering to make graphs when you could actually have an agent just figure out what to do?
  58. 07:26Make a plan.
  59. 07:27That's the new approach.
  60. 07:28That's kind of the way that um Claude sort of uh laid the approach there.
  61. 07:32And you're like, okay.
  62. 07:33And then now it's like, well, you if you want to use dedicated sub agents, maybe, but then maybe why not just make a generic agent and have it recursively work and then give it skills.
  63. 07:41Skills are very generic.
  64. 07:42They're super helpful.
  65. 07:43Um and then maybe now it's maybe the idea is not just to do that, but to do it with a agent sandbox so the agent can write code and execute it because that's super useful because agents are great programmers.
  66. 07:52I'd have them sort of just live in their own computer.
  67. 07:54Um, and then arguably now that's the best approach or maybe even we're in the world now of like don't even bother with any of that.
  68. 08:00Just bring your own harness like like like let people select if they want to use one of these other systems and then you know not even just building agents but the technology around context retrieval things like um you know in the old world we were like BM25 and keyword search that's the way to do things but that's
  69. 08:13like distant memory.
  70. 08:14Uh obviously the future is is retrieve augmented generation embeddings approximate nearest neighbor that's how we're going to find data.
  71. 08:21Turns out that doesn't really scale well and it kind of almost mimics randomness as you keep going.
  72. 08:24So then maybe it's about graphs.
  73. 08:26It's difficult to get working well.
  74. 08:27It's probably not the best.
  75. 08:28Um so then it's about hybrid.
  76. 08:30You want a lexical and you want to do semantic search and rank fuse those together.
  77. 08:34Arguably not.
  78. 08:35Arguably agents are actually way better at finding data because they can find things and apply their intelligence to get to it.
  79. 08:40So each of these things I just mentioned is arguably the leading approach for that moment over time.
  80. 08:48If you asked me to give a speech right now on any one of these, I would pick the last.
  81. 08:51I'd pick the adapted models with dedicated RM style agent and agentic search powered by hybrid.
  82. 08:57But uh is this the end of this journey?
  83. 09:01This is not that long of that time here.
  84. 09:04And so um my guess is the stuff that you're learning today likely won't last that long.
  85. 09:10Not that it's not wrong, not that it is not the best answer right now, but probably something's going to change.
  86. 09:17The big thing that changed last year was in my mind Opus 40 to Opus 45.
  87. 09:23When you did that, suddenly you got to a model that could do instruction following and really high scale.
  88. 09:28This is kind of to me the beginning the epic of like the new agent models.
  89. 09:32Uh also uh hardware is getting better, faster, cheaper.
  90. 09:35Maybe we'll start to use more tokens.
  91. 09:36Like token usage is off the charts of course and is that good or bad?
  92. 09:39What's going to change there?
  93. 09:40Enterprises are adopting things differently whether or not a company has decided to go all in on one agent to rule them all sort of like claude or maybe codec style agent
  94. 09:49um or maybe they want to utilize uh agents from different platforms and different systems or both.
  95. 09:55This is going to affect your lives um in addition to things like just the new techniques new interesting uh approaches new technology to power these things.
  96. 10:02So the fact that everybody in is working so hard on this trillions of dollars investment is actually leading to a lot of this change and again it's happening way faster than than I've ever seen for sure.
  97. 10:15Um, now if you look back, um, it's not this way with everything else.
  98. 10:19Like if you go see some of these other discussions, like I've given a speech on some of these topics.
  99. 10:24I looked at them come some of a few years old.
  100. 10:26They're pretty good.
  101. 10:26I still think they're very relevant.
  102. 10:27You want to talk about large scale databases about uh identity access controls, how to scale engineering teams, how to do multi cloud storage, probably um these are still relevant things today.
  103. 10:38These do not change as fast despite being high-scale uh interesting powerful uh technologies.
  104. 10:45So the previous wisdom of saying optimize for specific technologies go deep switch rarely right this what this the reason you do that is because switching is hard migrations suck whenever you migrate you break something every time no matter what
  105. 11:00um it's always harder than you think even
  106. 11:01[music]
  107. 11:01if you know that um and uh and the switching cost is basically high so basically don't do it for most things you're kind of uh just because something's better out there that's not the answer for most infrastructure
  108. 11:12so typically If you say half life of an agent infrastructure, 3 to 5 years, reevali, see what's out there.
  109. 11:20We've been using databases like my SQL databases for a long time.
  110. 11:22It's still pretty good and probably need to replace it soon.
  111. 11:25But um but now with AI technologies, arguably the halflife is measured in months, meaning a few months after you've adopted what might be the best possible thing, there's a significant chance that you're going to have to replace it coming soon.
  112. 11:40And this is I think shocking.
  113. 11:44Maybe I see from some of your reactions that like you're kind of like have experienced this a little bit.
  114. 11:48Um but this is a different aspect of the way that you build technology.
  115. 11:53So if you're an engineer, this really sucks because the thing that you just learned and that you're making is now probably going to be out of date soon.
  116. 12:02Uh no engineer I know likes this.
  117. 12:04Um uh as a startup, you bet on something.
  118. 12:07You're like, we're going to go all in.
  119. 12:08We're going to go on the technology this approach and then we're going to basically uh uh disrupt somebody which probably will but then you see and see now like the first phase of AI companies are starting to get disrupted by the next phase.
  120. 12:20If you're a technology buyer, you're a leader of a company, you buy technology, you you you select uh open source models, you select vendors, there's a significant chance that whatever you just bought is not going to be the approach you're going to invest.
  121. 12:33That's you know, good luck doing a three-year deal like on on things about about this kind of stuff.
  122. 12:38Or if you're VC, uh maybe the coolest best thing that everybody agrees is the greatest opportunity is no longer going to be the opportunity soon um because everything's changing.
  123. 12:49So here's my advice.
  124. 12:50Get good at It's almost silly to say because you know obviously technology changes.
  125. 12:58Obviously it's something that is um you know built in.
  126. 13:02Of course we're all going to change.
  127. 13:02We've done this for a long time.
  128. 13:04Um it's hard.
  129. 13:05I think it's really hard and the faster that you do it the harder it is.
  130. 13:09Uh when I was going through that uh like oh yeah we switched from the graph based agent to a um to the more looping style deep style agent.
  131. 13:16I remember very well the conversation with the engineer.
  132. 13:19He just he's like, "I did it.
  133. 13:20I got a tic search working and this approach does deep research.
  134. 13:22It does all this stuff just like you asked."
  135. 13:25Okay, we're going to switch rebuild it again in this new technology.
  136. 13:28And he's like, "Wait, what?"
  137. 13:29Like, "It's working.
  138. 13:31You did what you're talking."
  139. 13:32Yeah, but it's not as capable as we wanted it to be.
  140. 13:33Like, what do you mean?
  141. 13:34You didn't tell me that before.
  142. 13:35Like, and then and then so convince him like, "Okay, this is a new approach."
  143. 13:38And then, you know, he does it and it's good.
  144. 13:41Two months later, uh, we we're we're actually shipping the product uh on on Tuesday.
  145. 13:45And then I was like, "Okay, uh, guys, on Wednesday we're going to rebuild it again on the new approach."
  146. 13:50And they're like, "What are you talking about?"
  147. 13:51Like, like, um, then they'll say, like, it's it's almost hard on everybody like, "Wait, wait, give me more time.
  148. 13:56I'll I'll make the new way the old way do it better."
  149. 13:57Um, uh, like, and then also they're skeptical.
  150. 14:00Like, now you say that, but like this is going to change again, right?
  151. 14:03Like, who are you to like make these choices?
  152. 14:05And the answer is, yeah, I'm pretty sure it's going to change again.
  153. 14:08So, this is, I think, a leadership problem.
  154. 14:11It's a technology problem.
  155. 14:12It's a morale problem.
  156. 14:14It's a team problem.
  157. 14:15It's a company problem and if you're not careful, it is actually can destroy you.
  158. 14:19It can destroy a lot of things because people lose faith, they lose morale.
  159. 14:22It's a problem.
  160. 14:24So, um if my advice is change um and be ready for change, how are you going to do it?
  161. 14:31Three things to give you.
  162. 14:33One, um you just got to prepare people.
  163. 14:35Well, this is a kind of a people challenge.
  164. 14:37So when you build your teams, when you talk to them, when you prepare them, if they're in AI world, you got to tell them like expect change.
  165. 14:44It's normal.
  166. 14:45It's not a problem.
  167. 14:46It's not that you did something wrong.
  168. 14:48This is is weirdly like um like helps people like I have a a technology review team and and then and then they're like we can't like change.
  169. 14:55We don't know.
  170. 14:55We're not sure.
  171. 14:55We can't tell you that in two years from now this is going to be best.
  172. 14:58Like that's okay.
  173. 14:59Uh we're gonna we're gonna build these things that change.
  174. 15:01So just go with it.
  175. 15:02You have to pick something.
  176. 15:04Um, also whenever possible if you can build an abstraction so that it lets you swap out what's underneath.
  177. 15:09We have an agent extraction in box and you're able to go through and be like uh like select things underneath and the agent still works the same for the customers but it it's better underneath.
  178. 15:18Um, and the idea is that change is not a mistake and and I highlight like that's very hard for most people and and I and I would sort of just you just I tell them all the time change is not a mistake.
  179. 15:29You wouldn't nobody knew six months ago.
  180. 15:31Nobody today will know six months from now.
  181. 15:32It's Seems very true.
  182. 15:35So uh at Box we are now in the habit of reviewing every six months no matter what.
  183. 15:39This is great technology.
  184. 15:40We love it.
  185. 15:40Review in six months like because uh which is just completely crazy for everything else that we're doing.
  186. 15:46Everything else is like three years.
  187. 15:48Um also even though change is critical you um you need to define what you mean when change.
  188. 15:54If you just change all the time there's a new paper it's awesome.
  189. 15:57You know our CEO Aaron is very active on all the newest things.
  190. 16:01He's like check this out.
  191. 16:02Like don't change just because of that.
  192. 16:04Like don't change just because it's a trend.
  193. 16:05Change because you know it matters.
  194. 16:07And how do you know it matters?
  195. 16:09Probably pitch you on eval sets.
  196. 16:10If you're building agents, if you're building AI, make sure that you know what people have.
  197. 16:14You have the ability to give the same input, expect certain output.
  198. 16:17Grade that cost, speed, quality, capabilities.
  199. 16:19These are the things that you probably are going to to be wanting.
  200. 16:22So for us, it's easy.
  201. 16:24Does the new approach work better for our eval sets?
  202. 16:28What the customer cares about?
  203. 16:29If the answer is yes, strongly consider switching.
  204. 16:31If the answer is no, don't bother like or or keep working on a little bit of work to see if you can make sure that you you've fully explored it.
  205. 16:38Um and then so the idea is uh build a system that lets you be able to change.
  206. 16:44And then the third uh and final piece of advice here is um almost certainly none of us can keep up with everything.
  207. 16:52It is very hard.
  208. 16:53Um I think I heard uh Andre Kaparthy uh he he was like everything changes so fast I can't keep up.
  209. 16:59and you're like you're sort of quite famously good at keeping up and so like what's the hope for everybody else if if that's the case.
  210. 17:04Um and so but then so what you do is you rely on somebody else.
  211. 17:08You rely on a technology, you rely on a vendor, you rely on a platform.
  212. 17:12Um you when you select it and um and then here I think very use I mean like whenever you whenever anybody's bought technology in the past I would had advised them like
  213. 17:22look at what they do now.
  214. 17:24Double check the road map.
  215. 17:25Make sure it's good.
  216. 17:25Make sure it's on the path you want but just focus on what's available now.
  217. 17:28But I think something else here is um should do that of course that's most important thing but like look back how have they handled change what's their attitude towards change how can what can you when you talk to them when you read about their stuff like what happened six months ago what happened a year ago how did
  218. 17:45they handle that transition many of the vendors that I really like right now have reinvented themselves three times in the last year and I now trust that if something else comes along they're very good at this they understand agent technologies they understand the the eval sets they understand the the observability systems and then you can say ah
  219. 18:01okay good I hope that they keep up and then I now my sort of thing I need to do is just evaluate whether or not that's a good platform
  220. 18:09so um making sure that you have this sort of platforms that do well is is is critical um and um if anybody's interested in unstructured content and AI associated with it uh Box has a booth downstairs happy to talk to you about those kind of things
  221. 18:24um and then um I I'll leave you with this is um I actually I fully bet and I believe that um a company that's born this year was born last year
  222. 18:33um will or maybe even a company a medium-sized company or a big company will will they they'll shoot very high the company that will dominate tomorrow is is is now born today.
  223. 18:44Uh but I kind of bet you that the technology approach that they have right now is probably going to change multiple times before they do that.
  224. 18:52So interestingly it's like the challenge the advice the thought here is build for change adaptability arguably that's the moat that you have until that changes.
  225. 19:05Okay thank you everyone.
  226. 19:08[applause]