Latest / Agentic Conversations (formally mlops.community) / Context engineering 2.0, Agents + Structured Data, and the Redis Context Engine
Transcript
- 0:00Biggest engineering part of right.
- 0:25So feature form got acquired by Redis.
- 0:29Does that signal the death of the feature store?
- 0:33It doesn't. It's funny because you made this
- 0:35LinkedIn post about this. And I was trolling you.
- 0:37You were trolling me. I knew I knew you were baiting
- 0:40me, so I didn't, I didn't take the bait.
- 0:42One like let's talk about where going back to ML OPS in general,
- 0:45like where did ML OPS work and where did it not work?
- 0:49I think the promise of ML OPS from the early days, which you
- 0:52remember, was that we were going to have models everywhere.
- 0:55We're going to have these like hyper intelligent apps where
- 0:57every time you're using an app, you would interact with like
- 1:00hundreds and hundreds of models. That was the idea.
- 1:02So you needed ML OPS to be able to operationalize all those
- 1:06models. The reality is, is that did
- 1:10actually happen, but not because of ML OPS.
- 1:13It happened because of. Transformers came.
- 1:17Yeah, and and Transformers like are I mean are old, but like
- 1:21specifically like like DPT style Transformers worked.
- 1:25And the nice thing about them is the bar to get them in
- 1:28production is weight lower because there's no you don't
- 1:30need to train them. They this kind of generically
- 1:33work. So the bar of how much Roy you
- 1:37need to justify doing it is so low.
- 1:40Yeah, and you can just hit an API.
- 1:42Exactly. So it's just like, so now where
- 1:46do you actually need or where does it make sense for a
- 1:49business to actually invest to maybe have an entire ML OPS
- 1:53team, which is an expensive team and it's an operational team.
- 1:57So it's like a team that's whole job is to help other teams do
- 2:01things. So if you start thinking of like
- 2:02this economics of where that would actually make sense, one,
- 2:06it tends to happen at scale. 2, the the use cases that we see
- 2:11very often, there's many, but the ones that come up a lot, 1
- 2:14is recommended systems. Yeah, which makes complete
- 2:17sense. Like if your recommendations are
- 2:19better, you make more money. There's a very short line
- 2:22between recommendations being better and money.
- 2:25And the other place you see is fraud.
- 2:27Same thing if you, yeah, screw up, you know, if your fraud is
- 2:31better, that literally equals money.
- 2:33And so and at scale like for every single user of your
- 2:36application or every single transaction that goes through.
- 2:39So that's where we've seen envelops work.
- 2:41And we're still seeing to this day, a lot of companies are
- 2:45deploying new feature stores, very doing, very existing
- 2:49feature stores. We're actually seeing some of
- 2:52the most demand we've ever seen for feature stores now.
- 2:57And I think that's, that's partly because that's forgotten
- 3:02a bit. And so when in the early days
- 3:04when people went and built their own, it's like the maintenance
- 3:07cost of those things is kind of a why did we build this thing
- 3:10when there are all these solutions out there?
- 3:11Yeah. And the maturity?
- 3:13Curve Maturity curve. You start to see that people
- 3:15understand the concept and they realize that it's not just like
- 3:19a Postgres database. Yeah, people are starting to
- 3:21really feel the problems and it's it's less like we need this
- 3:27thing because LinkedIn said so and like hype driven development
- 3:31and we're getting into like this actually is a huge pain.
- 3:34And if we solve this, there would be true ROI wait.
- 3:36Wait, there's there's things I want to know about the
- 3:38acquisition one being just like, what's it like to sell a
- 3:42company? How much of a pain is it?
- 3:44I've heard due diligence takes years off of your life.
- 3:49So in general, I mean raising around we've raised multiple
- 3:53rounds. Acquisition I would say is more
- 3:56intensive than raising around. It just it depends.
- 4:01I think it depends on a lot of things you can't really say.
- 4:04Anyway, I think the acquisition here it, it made sense for a lot
- 4:08of reasons. One being just as a team is like
- 4:12Adna match. I think of Redis.
- 4:15I think we, we, we Redis is known for usability, developer
- 4:20experience. It's like really has that dev
- 4:22love that we, we really think about a feature form, something
- 4:24that we obsess on. And I mean, the cool thing, the
- 4:29acquisition for us is like, we got to keep the whole team is
- 4:31there. So the feature form team came as
- 4:33a whole, which from the product continues, it will continue to
- 4:37exist. It's getting doubled down on.
- 4:39We're actually getting more resources to keep doing what
- 4:41we're doing and build on top of it.
- 4:44Our product enrich MCP is kind of transforming into something
- 4:49even bigger with contacts engine than what we're working on
- 4:53there. And I just think Redis is a
- 4:56company. It's just in such a cool spot
- 4:58because it's kind of moving and and up leveling from becoming
- 5:00just Redis, which again is is powerful.
- 5:04It's sorry, but it's like providing that platform layer
- 5:07the solutions on top and becoming this kind of AI and ML
- 5:11data platform and or a context platform.
- 5:15So I think it just was the right fit at the right time and it's
- 5:21just a really good match. And I mean, it's only been a
- 5:24month or so since it's happened. And like I'm wearing a red
- 5:28sweatshirt. I'm like, I really it just has
- 5:31been even better than I expected.
- 5:33Yeah, I'm stoked for you and hopefully we'll get to talk to
- 5:36you in two years and hear all about how you've evolved through
- 5:40the company and all that fun stuff.
- 5:42Yeah, it's, it's, it's, it's really awesome.
- 5:44And I think I think that's probably important part.
- 5:47I mean, my biggest thing of feedback is same with
- 5:49fundraising, like your partner, who you work with is all that
- 5:52matters because I also know a lot of companies that have been
- 5:54acquired. And the partner in the company
- 5:57that acquired? Yeah, partner.
- 5:58So I was thinking more like VC partner, but both like whoever
- 6:01like who, who are you working with?
- 6:03Who is like your champion there? Who is who cares about this?
- 6:08Are they investing in this? Are they not investing in it?
- 6:10How are they thinking about it? Because you can kind of get in
- 6:13your own head like what you want them to think and what is
- 6:16reality. And I think it's really
- 6:18important to go figure out what is reality, what is actually
- 6:20happening. So you make the right decision
- 6:22for yourself and your team and your invest and just everyone
- 6:24make sure that it's it's a all win.
- 6:27And, and unfortunately that rarely happens.
- 6:30And we, I think, are super fortunate that it did for us.
- 6:34Wait, so Redis already had a feature store, right?
- 6:37Or Redis was doing stuff? I know.
- 6:39I remember them talking a lot about feature stores back in the
- 6:43day. Yeah, feature form now is just
- 6:46folding into Redis. What does that path look like
- 6:48now that you're part of Redis? Yeah.
- 6:50So on the feature store part, how it looks is this.
- 6:53So Redis is always powered the online store.
- 6:56So a lot of companies come to us for like we're building a
- 6:58feature store, we're going to use one.
- 7:00Maybe we're going to use feature form, maybe we're going to use
- 7:04Feast, whatever they're going to, or if we're going to build
- 7:07something in house, we need an online store.
- 7:10And Redis is the best for a variety of reasons.
- 7:13But the general vision is like, well, why don't we meet our
- 7:18customers and prospects where we're at?
- 7:20If we're trying to solve this thing, why don't we meet them
- 7:23there and have a solution for them that's custom built with
- 7:26Redis? So rather than them having to go
- 7:28figure it out and just use this as a component, we can actually
- 7:31give them the full solution. And features and feature form
- 7:35traditionally was something that played nicely with everybody,
- 7:38right? It was one of those things where
- 7:40you said the engine, the compute, the storage, it doesn't
- 7:44really matter. We can just be on top of that.
- 7:46Yes. And that's so true.
- 7:48In fact, we still have customers on like other online stores
- 7:52today and that will continue to be true because Red, this is
- 7:55strategy, which I really appreciate and this is something
- 7:58that I again, really resonated with me and drew me to the
- 8:01company was we want to win on our merits.
- 8:04We don't want to win on like we own this thing.
- 8:06So therefore, you know, we're going to like shut off Cassandra
- 8:11support. It's actually no, let's get in
- 8:14and make it. I mean, the other thing with
- 8:16feature form on the flip side is because it's all unified, it
- 8:19makes it really easy to have like Cassandra next to Reddis
- 8:21and have both. So you don't have to kind of
- 8:23choose one online store or the other.
- 8:26Oh nice. And so then it's like, great,
- 8:27well, if we get people on feature form, if they just use
- 8:30feature form and pay for feature form, fine.
- 8:32I mean, it's still revenue for Redis, but our view and it's,
- 8:36it's showing to be true is actually now that it's easier to
- 8:39try Redis, you are more likely to one, just try it because you
- 8:43have it, you have a contract with us to get feature form and
- 8:47they will show you, we'll put like our kind of our money where
- 8:50our mouth is. We'll do a comparison on cost,
- 8:52on speed, on all these things and you'll see that we are
- 8:56actually the best online store for best.
- 8:58And if we're not, you know, for certain use cases, then that's
- 9:01fine too. Think they call that the Trojan
- 9:03Horse strategy. It it is, but I wouldn't say
- 9:07it's, I mean it's, it's sure like there is some aspect to
- 9:10that. But I think it's it's actually
- 9:12what I like is it's in in really good faith.
- 9:15It's like, yeah, like, yeah, we want to compete, we want to win.
- 9:17I mean, of course we do, like every company does, but it's
- 9:20not, it's like, let's just make it easier for them to compare,
- 9:25not lose due to just like, you know, walls that actually limit
- 9:30competition. Like, Oh well, like it's so hard
- 9:33for us to move over to this thing.
- 9:35So we can never, we can't, you know, we have to not only be
- 9:37bettering whatever we're using, we also have to justify the move
- 9:41cost. And now we don't have to, we can
- 9:42just be like, cool, what's actually better for you?
- 9:45And you can choose that. And so it's not just a Trojan
- 9:48horse. It's actually a simplicity to
- 9:49allow the best online store to win.
- 9:52And we believe that's us and and we've been building towards that
- 9:54for a long time. So talk to me about Redis and
- 9:58Elastic Cash because I'm not sure I fully understand what the
- 10:01difference is between the two. Elastic Cash and this isn't true
- 10:06for all the clouds. So I'll talk about Elastic Cash.
- 10:08Like for example, on Azure, we have AMR which is managed Redis
- 10:12and that actually is Redis. That's us of Elastic Cash.
- 10:18They have, there's a fork of Reddis on the older version of
- 10:22Reddis. And that's actually what's
- 10:26powering Elastic Cash. And there's a lot of things like
- 10:32availability, speed, etcetera, even just like general
- 10:35capabilities, Reddis, core Reddis, Reddis, we released
- 10:39Reddis 8 recently. Like core Reddis has really
- 10:42pulled away in a lot of places. The other thing though, isn't
- 10:47just Redis the, the, the kind of open source product that is also
- 10:52Redis the company. And I think one thing and
- 10:55everything that really is interesting to me about Redis
- 10:57coming in and then everything that really the vision that I
- 11:00really liked is think of like like feature form and feature
- 11:05stores. Like Redis has always just been
- 11:06like that database, the core database, which people
- 11:08developers have always used, we've always loved.
- 11:11And that continues to be true. But we're kind of like having
- 11:15this our almost like a platform moment.
- 11:17We're like, cool, what are people using Redis for?
- 11:20What more can we do to provide more value, maybe a higher
- 11:23levels of abstractions and solutions for both agents for ML
- 11:29via feature stores in a variety of like we have Flex which is
- 11:33like close stores in SSD, which is really powerful, especially
- 11:37actually for feature service cases where you might have
- 11:39massive data sets. Vector database.
- 11:42I remember back in the day we did a whole before LLMS came
- 11:46out, we had a vector search or some I think it was similarity
- 11:50search hackathon where we were using archive and it was with
- 11:56Redis. You know, what's funny is the
- 11:58use case with Rexis and actually a lot of the vector DBS, you
- 12:03know, people think of them As for RAG.
- 12:04But my sense, I actually don't know what's true at Redis, but
- 12:08I, I have seen actually just other companies in my sense is
- 12:12actually about a lot of revenue still comes from recommender
- 12:14systems for Vector DVS and not actually for Rag as people would
- 12:17think, which is kind of for features for what you'll do is
- 12:21you will generate like user embeddings or item embeddings
- 12:25and then you will see, you know, very simple thing might be I
- 12:28have an item embedding for like a, a shirt.
- 12:31If I do a nearest neighbor search on that I can get similar
- 12:35shirts and so they'll do candid generation and then re ranking.
- 12:39And this is like how 2 tower recommenders.
- 12:41Work. Yeah, I remember the two tower
- 12:44stuff that you mentioned back in the day and I totally had
- 12:47forgotten about that. Yeah, because I think funny
- 12:50enough, you were the first person to talk to me about
- 12:54embeddings and you had what, an embedding stores what you were
- 12:58calling it or? Embedding hub.
- 13:00Embedding hub? Dude that was what, like 2021?
- 13:03Yeah, we were like, I think fish from we were like one of the
- 13:06first factor databases, which is really funny.
- 13:10And it's because at that point I built like three of them.
- 13:12So I was just like, this needs to exist.
- 13:14What I would, I couldn't have guessed is that, oh, you know,
- 13:18in like 6 months or a year, this is actually going to be like
- 13:21super huge market because of Rag and LLM such hadn't even like
- 13:25crossed my mind. I built it again for access use
- 13:28cases because we were seeing people using feature source for
- 13:30our commander systems. So that's why we built it.
- 13:34And it's really funny how that worked out.
- 13:35And then we kind of bowed out because it became like a
- 13:38database thing and feature form itself.
- 13:42We just weren't like a true database company.
- 13:44We didn't really have that DNA, but I've always kind of wished
- 13:49we did and then kind of feel very fortunate now that like now
- 13:52like they're, you know, those people are to call away for me.
- 13:55So I understand the platform idea.
- 13:57I also know that in your talk when we were in London, you kind
- 14:01of broke down this vision of we've got all of these assets
- 14:04with Redis. And so now how can we unify them
- 14:08for the new generation of agents?
- 14:11Yeah, I've been calling it Context Engineering 2.0, which I
- 14:15don't know if I love that yet, but that's what I'm going with.
- 14:17It's catchy. It's catchy.
- 14:19I'll work with it. Yeah, you got to find, find the
- 14:23hype words, so you got to make new terms together.
- 14:25But, but really what I'm seeing is OK.
- 14:29So when we started with LMS, I think from the earliest point, I
- 14:34realized that the only thing, not the only thing, but one of
- 14:37the most important things is context.
- 14:40And when I think of context engineering in RAG, actually, I
- 14:43always felt like we over, we were too specific.
- 14:47Typically when we talked about RAG, people talk about RAG.
- 14:50We're like vector DB nearest neighbor look up on like
- 14:53paragraph chunks based on the user query.
- 14:55That's kind of like what people think when they think RAG.
- 14:58And but really the problem isn't that.
- 15:03The problem is I have a context window.
- 15:05It's yay big. I need to fill it with the most
- 15:09relevant and insightful information for the LLM to be
- 15:14able to do what it needs to do. And I needed to be also not not
- 15:20relevant because then they can throw again cause
- 15:22hallucinations. Now it just turns out that a
- 15:25really really good baseline way to do this is just grab a lot
- 15:30like a tax corpus and chunk it up and and kind of do rag.
- 15:35So RAG works naively just like weirdly well for how like kind
- 15:40of like cookie cutter of a solution it is.
- 15:43It kind of just works well for everyone.
- 15:46But that's just a baseline and we're clearly like moving past
- 15:50that. And the other parts of context
- 15:52have come up are like memory. It's a big one.
- 15:55And I think the newest frontier is structured data for agents.
- 16:00So it's kind of like kind of as MCP, but not really.
- 16:04I think it's a, it's actually a more general concept, which is
- 16:08how do I get, if someone asks? I mean, it could be something as
- 16:11simple as I'm building a support agent, someone's like, why is my
- 16:14order late? Go and find the order, find all
- 16:17the information about the order, which could be in like Postgres,
- 16:20like it could be in the structured database, get that
- 16:23into context because the agents going to need it to be able to
- 16:26solve the problem at hand. So we have these three things,
- 16:29unstructured data, memory, structured data.
- 16:32And today if we're going to do that, you would build like a rag
- 16:35pipeline here, then you would build like a memory service, and
- 16:39then you would deploy like some MCP servers.
- 16:42And these things don't really talk to each other or almost
- 16:45like kind of disjointed context. And they're all kind of work
- 16:49differently. And so my sense is we should
- 16:53build relationships between this context, like a memory can be
- 16:56associated with a document. There could be a row of data
- 17:01that kind of points to, you know, few paragraphs in the in
- 17:05the in the rag store. So almost like knowledge graph
- 17:08type of. Thing almost like knowledge
- 17:09graph. I don't like using knowledge
- 17:11graph purely because it's so overloaded in in this space.
- 17:14People mean they start thinking graph rag, which is not what
- 17:17this is and not how I would describe it.
- 17:18It's more just treating context as a holistic thing.
- 17:23There's all these indices and like different ways to, let's
- 17:25say, retrieve data, and you also need some sort of like semantic
- 17:32layer on top to understand that data.
- 17:34I kind of think of it. I've been thinking of it as what
- 17:37I wish I had was graph QL for agents.
- 17:41What's graph QL? Graph QL was kind of one of
- 17:44these things that was really high, but never I think fully
- 17:46took off. And graph QL is a different way
- 17:49of building like Rus AP is. Rus AP is a very like kind of
- 17:52input output graph. QL allows you to almost create
- 17:56and and unify a lot of data from different places and write kind
- 17:59of almost like ad hoc queries. And the reason why I didn't take
- 18:03off was this kind of complex to do.
- 18:05It could be slow and humans in general, like the especially
- 18:10engineers be like input outputs much clearer and cleaner to
- 18:12understand. The thing is, is does axis of
- 18:15freedom a graph QL gave us is extremely powerful for agents.
- 18:19Agents love having axis of freedom because they can
- 18:21actually take advantage of all of that.
- 18:23And the speed to like parse a graph QL query, you know,
- 18:26doesn't matter anymore because it's, I mean, the agents, the
- 18:29slow part, it's not the the the, yeah, typically not the data
- 18:33retrieval or the query. So graph QL I'm trying to wrap
- 18:36my mind around, but also how would that even work with
- 18:40agents? So how I imagine it is this you
- 18:43would define like let's say you're an e-commerce store, you
- 18:45have users, you have items, you have orders.
- 18:48These things are all. Yeah.
- 18:52There could be, yeah, very tabular, but they might also
- 18:54have documents in them, right? Like order might have
- 18:57descriptions or might have specifications or any other.
- 19:01There's a mix of things, but it's like you have attributes
- 19:05and you have relationships. So you can define this whole
- 19:08thing out. You can kind of define or
- 19:12explain somehow how to get to that data.
- 19:15Then you expose this knowledge graph or semantic graph to the
- 19:20agent. So agent can be like, cool, I
- 19:22can navigate and figure out what data exists.
- 19:25So I can go ask for exactly what I need to be able to resolve
- 19:30what's at hand. The nice thing there is there's
- 19:33two parts, one or there's many parts, but one part is control.
- 19:38You as the user can really control the contextual view that
- 19:43the agent has, which you can't do like Texas Sequel, which is
- 19:46like a whole nother thing. You can't really do it with API
- 19:50to MCP because you're just kind of stuck to every API has and
- 19:55the surface area there. And so this allows you to build
- 19:59a surface area that is tailored to agents with like the right
- 20:02kind of abstractions and semantic layer for an agent.
- 20:06But you see this almost being like an abstraction above all of
- 20:10that stuff that is behind the veil.
- 20:14It's a single pane and glass. So I'm calling it today, I call
- 20:17it, I'm calling it context engine, but it's a single pane
- 20:20and glass to all of your contacts or about structure
- 20:22data, unstructured data or memory.
- 20:23So you disconnect it, it speaks MCP, but that's this
- 20:26implementation detail. But the agent can connect to
- 20:29this thing and they can go and figure out, OK, what context
- 20:33exists in the world that I have access to and what does it mean,
- 20:37How is it related? How do I get it?
- 20:39They can go and retrieve what it needs in that way.
- 20:42And you're letting the agents figure out the semantic layer on
- 20:45top so that they understand, or is it humans that are kind of
- 20:48creating a document that says, well, this is this data, If
- 20:52you're getting these kind of queries, you should reference
- 20:54this. Yeah, it's written in Python, so
- 20:57you the the the developer would write it in Python.
- 21:01They could use an agent to help them do it, but I think it's
- 21:04really important that the humans kind of build this to control
- 21:09it. So I think that's a lot of what
- 21:13engineering becomes is, is, is that for agents, which is again,
- 21:16I think most of the, the biggest engineering part of agents for
- 21:20for builders becomes the engine like the context engineering.
- 21:25And this is my view of what context engineering looks like,
- 21:28at least for the next 5-10 years.
- 21:30Interesting. It's more the descriptions and
- 21:32the pointers and the understanding of the data.
- 21:34It's still being intimate with the data and understanding where
- 21:38and what you need, but it's not necessarily writing scripts or
- 21:43writing different functions to get to that data.
- 21:47It's describing that data in a way that an agent is going to be
- 21:51able to understand to get it when it needs it.
- 21:53For someone maybe like if you're listening to this and you want
- 21:56it to maybe see it more clearly, we feature form had it still has
- 22:02open source product called Enrich MCP which is widely used
- 22:06for and it it really captures that.
- 22:10Now Enrich MCP and how it was built originally is really
- 22:15generic. Now when you allow Redis to
- 22:20become a dependency, you get. So because now you get a vector
- 22:24database, you get all of the, the, the abstractions that Redis
- 22:27provides underneath the hood and the caching that you might need
- 22:31for AP is all of that stuff becomes part of it.
- 22:34And that's I think what context engine becomes is like this
- 22:38layer which maybe mimics or looks like enrich MCP or is that
- 22:42kind of a continuation of it but with the power of the Reddis
- 22:47database behind it? Yeah, almost like the Reddis
- 22:49ecosystem because it's, I really like how you've shifted my
- 22:53thinking from Reddis as this cache and just something that's
- 22:57super fast when you need it to. OK.
- 23:00Reddis has these other things though, and now you can look at
- 23:03it as an ecosystem. And how can we use all of the
- 23:07assets that Reddit Reddis has to leverage our agentic use cases?
- 23:12Yes, when you think of why people like Reddis, there's two
- 23:16things. One which we talk a lot about
- 23:17speed, which is like well understood Redis is in remain
- 23:22pretty much the fastest thing you can deploy for data.
- 23:25And the second is the founder is kind of a legend in his own
- 23:29right. Yeah.
- 23:30What was his name? Salvatore.
- 23:32Salvatore. That's it.
- 23:33The guy's. Like he's an employee of Redis
- 23:36again. Oh boy.
- 23:37Yeah, he's awesome. So that's the second reason.
- 23:40Or what was the? Second reason?
- 23:41No, that would be the third reason.
- 23:43The second reason is the abstractions that people that
- 23:46you have. It's like the simplicity.
- 23:50It's almost like when you look at Redis, you're like, oh, cool,
- 23:53I have all these types of things I can use like these different
- 23:55types of data structures that are built into Redis and I can
- 23:58pick and choose what I want. And it's really, really simple.
- 24:01It's all tax. It's just nice.
- 24:03Like the UX of Redis is always been really nice.
- 24:08And so now you have a really nice UX that's super, it's like
- 24:12Swiss Army knife and like it does so many things and they all
- 24:16kind of work really quickly. And we've read this cloud like
- 24:19now you get high availability and all this other stuff you'd
- 24:22need for a production setting. So you combine all that and then
- 24:25you build a layer on top, which is again, that kind of almost
- 24:28like data platform for agents. That's kind of where we're
- 24:30going. And I talked about context
- 24:32engine, which is a huge part of it.
- 24:33And I think a big, the point of context engine is, hey, agents
- 24:37give agents a single pin and glass to get to the data that
- 24:40they need to solve real problems.
- 24:44There are other things we do even to like our caching
- 24:47heritage, like we have lane cache, which is a lot of people
- 24:52have problems with spending too much money on tokens, right?
- 24:56Ones are very expensive. And when you go look at what
- 25:00people are using like your customer support for, you'll
- 25:02find that like a massive percentage of questions are like
- 25:06the same thing. 8020 Principle, but again.
- 25:09If you were to cash naively, you're like, oh, if this exact
- 25:13query gets written, it's not going to work for two reasons.
- 25:16One is if someone changes one word and doesn't, it doesn't
- 25:20match. 2 is if someone's like what's the weather today, then,
- 25:25well, you can't use the cached answer because yesterday the
- 25:28lever was different today. So what lane cache is is it uses
- 25:37actually it uses the vector DB, the vector DB under the hood
- 25:40again showing building these solution layers on top.
- 25:43And it enables us to actually see is this equivalent?
- 25:47And we look at a lot of different axes.
- 25:49There's negation, which is another thing, which is like
- 25:51something can be similar, but if you add the word not in it, it's
- 25:54actually the completely the opposite.
- 25:56If you're like, you know, what's the weather in San Francisco
- 25:58versus what's the weather in San Diego, It's like it looks pretty
- 26:01much the same. But that Francisco or Diego is
- 26:03completely changes the the context.
- 26:08And so, yeah, I mean, we're just doing well.
- 26:10I mean there's just so much happening at Redis and I think
- 26:13the, the vision is to continue. We've we've been the Swiss Army
- 26:16knife for the web age for things like sessions, rate limiting,
- 26:22just everything around making web apps reliable, fast at
- 26:27scale. I think now like the vision
- 26:30continues to be that and I think that's that is still a a huge
- 26:33part of our business, but also thinking of the future and where
- 26:36things are going. And I think the future of Redis
- 26:38is providing context to agents. What I am still caught up on is
- 26:44the single plane of glass and the let's say whether it's
- 26:49enrich MCP or it is this context engine, How do you basically
- 26:54give the data to the enrich MCP? Is it through tools you
- 26:59mentioned that enrich MCP, Obviously it speaks MCP, it's
- 27:03kind of in the name. So it's a dead giveaway.
- 27:06It's a giveaway. But is that just like on your
- 27:10side tools going into the different databases?
- 27:14Is it like? How does that actually work?
- 27:18Yeah. So there's Enrich MCP, but I'll
- 27:20actually talk about more like the broader vision of context
- 27:22engine. So think of how a rack pipeline
- 27:28works. You take documents in S3, let's
- 27:31say somewhere you transform them, which is just chunking,
- 27:36embedding, get them in a vector database.
- 27:40That thing you have in the vector DB is actually, if you
- 27:44zoom out a little bit, it's a, this is a materialized view.
- 27:47You're projecting documents in S3 into embedding space.
- 27:52And so that's a weird, you know, historically would have been a
- 27:54really weird transformation to do, but it's, it's the same,
- 27:57it's a materialized view. Online stores, features in
- 28:01online stores. These are just essentially
- 28:02materialized views. And so one aspect is just kind
- 28:06of materializing views that you want your agents to be able to
- 28:10see into Redis, making those queryable.
- 28:14Redis has a query engine called RQE, which powers the vector DB
- 28:17and the law of the other stuff, search, Redis search and other
- 28:20things. But if you project into Redis,
- 28:25you can then and then you explain what are these things
- 28:28and how they're related, how are they associated to each other.
- 28:31You they become accessible. But it's not just that, because
- 28:34some things you don't want to materialize into Redis for
- 28:36whatever reason, you can still support AP is calls or other MCB
- 28:41servers like backed. But when you're projecting into
- 28:44Redis, yeah, and then the agent is going to get that.
- 28:47Is that just through a tool called to Redis?
- 28:49It's like. Yes, it would be through context
- 28:52engine, but it would be backed by Redis.
- 28:55So it would just be like MCP in the end creates tool calls and
- 28:59another way to actually think about what enriched MCP is or
- 29:02the I guess thing behind it. I've talked about the graph QL
- 29:05thing. The other thing that I was
- 29:07thinking about was for a lot of use cases for MCP, it's really
- 29:12just data retrieval. And you find that it's actually
- 29:16very repetitive to write these tools sometimes because you have
- 29:19get user list users, get users by the, you know, you kind of
- 29:22end up with like a very repetitive code and and and and
- 29:27just a very kind of annoying to write code base and.
- 29:29Bloated. And it's bloated.
- 29:32But if you do it from the data first to define the schema first
- 29:37and then kind of attach the MCP stuff on top, you end up of MCP.
- 29:42It's still again becomes a set of tools, It becomes an MCP
- 29:44server, but it is data first. You start with the data and you
- 29:48define the MCP server from data first.
- 29:52That becomes tools as opposed to tool 1st and then trying to kind
- 29:55of map that to data. So the data first, as in you
- 29:59understand the data, you see what the data is almost like
- 30:03trying to tell you. And going back to this, maybe we
- 30:05can use the store example, online store as a perfect
- 30:09example where you've got different SKUs, you've got
- 30:11descriptions, but you've also got numbers and orders and all
- 30:15of that. You see that you also are
- 30:19embedding all of these descriptions or the SKUs or?
- 30:23You could embed things, but no, a lot of it is just like gets
- 30:28because that's The thing is like it's structured data.
- 30:30Not everything has to be like I've seen people do things like
- 30:33they have they put into Jason that they do like a nearest,
- 30:35like a like a rag on top of Jason documents, which is
- 30:39doesn't work for a variety of reasons.
- 30:41It's also just not natively how you would typically want an
- 30:44agent to access. That kind of data search has its
- 30:47place, and it's extremely powerful for agents, but it's
- 30:49not the answer to everything. I think we've gotten to the
- 30:52point where we have a hammer and everything looks like a nail.
- 30:55So it's not just embedding things.
- 30:58It's more like an ORM, if anyone's ever like, used an ORM.
- 31:03In fact, like Enrich MCP supports Sequel Alchemy
- 31:05directly. If you have a Sequel Alchemy
- 31:09ORM, you can actually just turn that into an enriched MCP
- 31:11server. It's an RM.
- 31:14If someone's not familiar is you would have your you would define
- 31:21your database schema as classes in Python.
- 31:24OK, and then you define what each field is and like the type
- 31:28and like the indices that you'd have on it.
- 31:30And then rather than writing SQL queries yourself, you kind of
- 31:34interact with it as you would in Python.
- 31:36And it under the hood, it always maps down the SQL queries, but
- 31:40when you're in the Python layer, it feels way more natural to
- 31:43work of classes and data objects and so inert, just kind of the
- 31:47same idea. It's much more natural for MCP,
- 31:50which is really just data retrieval, to think at the
- 31:53classes and data retrieval function layer than the writing.
- 31:58You know, tools that just run ad hoc queries or or whatever.
- 32:03One thing that I saw in the talks yesterday was that Jason
- 32:10consumes a ton of tokens and when you're trying to search or
- 32:13you're giving agents tools to search or just you're giving
- 32:16them access to data. Donae was talking about how they
- 32:21switched to CSV and it consumes way less tokens and therefore is
- 32:26faster and cheaper and all the benefits, right?
- 32:30In this case though, I'm I'm not sure how you would look at that.
- 32:36It wouldn't even be that you're giving the data like that to the
- 32:40agent, or you would. Could, but it doesn't.
- 32:43It's like what some people do that they'll dump an entire CSV
- 32:46to the agent. Yeah, like I've seen this
- 32:48before. People build this giant object
- 32:50and they'll just dump all of because they don't know how to
- 32:52make the agent go find structure data.
- 32:54So they'll just dump all the structure data that they think
- 32:57is relevant just into the prompt itself.
- 33:01And then in that case it becomes really important to like
- 33:03optimize those sort of things. But my sense has always been
- 33:09that rather than one shot queries where you just go and
- 33:14grab as much context as possible based on some query and just
- 33:17throw it into the context window.
- 33:19The the correct way to build agents for a lot of use cases is
- 33:22actually don't do that. Let give the agent an interface
- 33:26that window to go find the data it needs when it needs it.
- 33:30Like the agent is plenty intelligent, right?
- 33:33And nowadays LLMS are, are, are so smart and it's very rare.
- 33:38Like you're very unlikely to have a use case that you're
- 33:41building an agent for where the agent isn't smart enough.
- 33:44The issue has is almost always. The system.
- 33:47The context, yeah, it doesn't have the right information or
- 33:51data to be able to do something smart, even code generation
- 33:54right. Like a lot of people complain
- 33:56like, oh, like it, you know, uses too many try catches and we
- 33:58don't like doing that or, or our our style is different.
- 34:02And it's not like the agent's wrong.
- 34:04You know, the code that generates is likely good and,
- 34:07and and fine, but it doesn't have all of the the context
- 34:12about how you like your style guide and all these things that
- 34:14it needs to do well, or it's like, oh, it didn't, you know,
- 34:16it made-up a function or API that doesn't exist.
- 34:19Hallucinated that. And my sense is like, well, it's
- 34:22probably, it's like pretty much scheming your code and it's
- 34:24guessing what functions should be there.
- 34:27Chances are that function probably should be in your API
- 34:30if it hallucinated it. And if it can't be in your API,
- 34:34then that's more of, again, it's a context thing.
- 34:37There's some stuff that's missing.
- 34:38It doesn't really understand. It's not like if you didn't give
- 34:40it enough information it wouldn't be able to reason about
- 34:44your stuff. It just doesn't have that.
- 34:48And some of the problem is like, how do you get that to it and
- 34:50the way that's efficient without just dumping your entire code
- 34:52base in the context. Yeah.
- 34:54So when you say, hey, that function doesn't exist, you
- 34:57hallucinated it, it responds and says you're welcome.
- 35:00Yeah, well, I'm serious. Like I do this like sometimes it
- 35:03will hallucinate the function and I'll be like, oh, actually,
- 35:06you know, that function is actually probably fine having on
- 35:08a library. I just didn't think of it or
- 35:10didn't bother implementing it and I was be like go make it and
- 35:12and like. That's totally fine.
- 35:14Yeah, no mistakes. Don't mess up.
- 35:18OK, so I think there's a fascinating thread to pull on
- 35:22here with the ways that you're using search right and the ways
- 35:27that you're exposing the context, the right context at
- 35:30the right time. We heard it last night a bunch.
- 35:34How you, just because you have access, that doesn't mean you
- 35:40have like intelligence to the right type of answers.
- 35:46And I think you're, you're hitting on that point.
- 35:49And that's why Rag was a disaster, because it was like,
- 35:53Oh, well, we'll just embed everything, throw it in the
- 35:55vector store, and then we give access to the vector store and
- 36:00we give the LLM access to it and it's off to the races.
- 36:04But then you're like, OK, how much do we chunk?
- 36:07Where do we break the chunks? And it starts getting really
- 36:10confusing. And that's exactly why is that
- 36:13we're, we need to like almost dynamically be doing this.
- 36:16And instead of saying Rag is the solution, let's just give agents
- 36:22the search tool when they need it.
- 36:25Yeah, if they need it. And then we can also give them
- 36:28other tools that are going to be valuable at the same time.
- 36:33The the first iteration of Rag where alums that didn't run in a
- 36:36loop, which means that they weren't really able to like make
- 36:39tool calls and and and do all the things that you might want
- 36:42it to do what they would. So what you would do if you have
- 36:48one shot 1 pass is you're like, well, OK, I need to just put
- 36:52everything possible into this prompt.
- 36:54And so given that problem statement, brag was a good way
- 36:59to solve that. But now we're past that.
- 37:03Like we can really trust. I mean, yesterday when we were
- 37:06at the conference and there's some point where I needed to
- 37:09move from one library to another library and I literally let it
- 37:12run and it ran for 10 minutes and it came back and it had all
- 37:16my tests passing. I was shocked that this thing
- 37:19ran for 10 minutes and did it all for me and got it all
- 37:22working. So I mean, if you get an agent
- 37:25to run the loop, actually, I heard this thing from Anthropic
- 37:28where they're saying that the metric for tracking nowadays is
- 37:31more about how how long can you trust an agent to work
- 37:35independently, autonomously, without, you know, a human
- 37:39intervening and still making forward progress.
- 37:42What were they calling it? Yeah, last night they were
- 37:44talking about it was like interruption, amount of
- 37:48interruptions or something like that.
- 37:49And so if you interrupt it, then that trust and that metric is
- 37:55lower, right? Yes, I think I actually didn't
- 37:57see that talk yesterday, but I I think that it's all referencing
- 38:00the same thing. Yeah, that's a way to to track
- 38:02that is that they killed the job and they killed the job.
- 38:05That means that it started doing it circling off the rails or it
- 38:08just was got confused. And so that's a metric to track.
- 38:12And then if you're tracking that metric, they're saying it's
- 38:15doubling. I forget what they said.
- 38:16If it was every six months or every year, doesn't really
- 38:18matter. The fact that it's doubling is
- 38:20nuts because let's say today, you know.
- 38:23It's 10 minutes. Yeah, a few minutes, like 5
- 38:25minutes is what I got, yes. Or I got 10, but let's just say
- 38:28it's 5 minutes, OK, that's fine. But if we're at 30 minutes in a
- 38:33few years, like how different is that going to be?
- 38:38So and when you start thinking like, OK, well, I need something
- 38:42to run for 30 minutes, it's not like you can just leave it with
- 38:46thoughts for 30 minutes and it's just going to do something
- 38:49really smart. You kind of need to give it a
- 38:52lot of access to data, the Internet, all these things like
- 38:57how does pro work? Like the way Pro is so smart is
- 38:59that like like GPT Pro is that if you watch what it's doing,
- 39:02it's really just going and like searching the web.
- 39:05If you didn't let search the web and just sat there and thought
- 39:07and kind of in a loop, I might do better, but I just don't
- 39:10really think it would be a lot better.
- 39:13Yeah, it wouldn't be that useful.
- 39:14Yeah, it's, it's probably, it's more powerful to just give it
- 39:20access to. It's just context.
- 39:21It's all. I mean, it's, it's so funny
- 39:23because like we say the word so much, it almost sounds like it
- 39:26almost like doesn't sound like a real word anymore.
- 39:28But it's just all that matters is context.
- 39:30And if you can build proper context, you can get it to work.
- 39:35And especially now we know people are thinking about small
- 39:37models. There's a lot of things people
- 39:38are thinking about, but that will always be true.
- 39:42The better context you have, the better results you're going to
- 39:44end up with. So talk to me about MC pay.
- 39:49I would love to talk to you about M CP/M CP is like.
- 39:53MC Pay. MC pay is a is a dirty word in
- 39:56in in the in in the LinkedIn world, I think now.
- 40:00That's whenever I see you online, whether it's on X or
- 40:03LinkedIn, people talking about MCPI just insert that voice and
- 40:08I remember like, yeah, this is the type word of the moment.
- 40:13So MC pay it is. You know, The funny thing about
- 40:19MCP is really all it is, is like you're moving tools remotely and
- 40:23why that matters? I think the thing that people
- 40:25miss is like, oh, this thing's so simple.
- 40:26I already had tools, whatever. Like why are we doing this new
- 40:29MCP thing? We already had REST.
- 40:31The idea is, is this one like just tool discovery?
- 40:34All this, There's like all these concepts that exist in MCP but
- 40:38don't exist in REST. Some people would argue, well,
- 40:40couldn't we just build us on top of REST?
- 40:42The answer is probably, but for better or worse, we've all kind
- 40:46of standardized around MCP and that's important because getting
- 40:50entropic and open AI to agree on something a standard in having
- 40:56all the enterprise companies kind of come and accept it as as
- 40:59as the way forward, that rarely happens.
- 41:02So that's a big deal and what it's doing and it's almost this
- 41:06is it's such a minor change in some ways if it doesn't worth
- 41:09putting the tools in a in a server that that's the only way
- 41:13you could actually make something so monumental happen
- 41:16on the standards what MCP is actually doing.
- 41:20Let's think about what it actually means at scale, at
- 41:25enterprise scale to do MCP. Well, what it turns into is
- 41:31you're separating the agent from the context layer essentially
- 41:36and you are enabling teams to build and maintain in parallel
- 41:41MCP servers, which are really again the state access or tool
- 41:44access that any agent can come and connect to and get value
- 41:48from. So it's actually like an
- 41:50engineering. It's almost like microservices.
- 41:52Yeah, it's almost like databases like you now have access to my
- 41:56database. Or in another way, you could
- 41:59look at it as my knowledge, like here's my knowledge base, I can
- 42:03just have this for you. Yeah, I mean, yes.
- 42:06And and there's other piece of it which is like we how did we
- 42:09just before, well, we just put these tools directly into the
- 42:11agent. The problem is like
- 42:12organizationally that doesn't scale.
- 42:14No, like if you're doing many agents, you don't really want,
- 42:17you know, to be installing libraries or maintaining
- 42:19libraries and then trying to like kind of fit these into
- 42:21every single agent separately. Yeah, it's much cleaner to just
- 42:24say here connect to these five things that you have access to
- 42:27and we start thinking of off and discovery and all these other
- 42:29things. It, it just becomes a lot more
- 42:33scalable. It's suppose we have a large
- 42:36team to have all of these MCPN points and even in a small team,
- 42:42it's just like you're just creating a separation of
- 42:46concerns. There's the agent.
- 42:48How I think of it is like where's the agent?
- 42:50And like a land graph or whatever you use, there's kind
- 42:53of the, the agent framework, which is really explaining how
- 42:56the agents, what should be doing, which agents exist, how
- 42:59they should be thinking and what they should be connecting to.
- 43:02There's the context engine, which is again, providing the
- 43:04window to the data, which is typically backed by AP is data,
- 43:08maybe other MCPS. And that's, that's again, the
- 43:09thing that we're inventing and, and, and, and, and, and have at
- 43:14Redis. And then on the other side,
- 43:19there's the LM itself. And so those are the three
- 43:21components of an ejectic system where the agent workflow, the
- 43:25context workflow, and then the LM workflow and.
- 43:29That's it. So that's it.
- 43:31I mean, that's all it is. Like all an engine is, is it's
- 43:33a, it's a LLM running in some sort of like scheduled loop or
- 43:39orchestrated loop that gets data it needs to be able to solve
- 43:44hard problems. So it's really just taking this
- 43:47powerful thing, which is an LLM and turning it into actual
- 43:50enterprise solutions. To do that, you need to give
- 43:53access to ability to do things and ability to learn things.
- 43:57And then you need something to like.
- 43:59So you have multiple agents, multiple tasks, you just need to
- 44:01give it a system prompt. Perhaps you have a few different
- 44:04agents that create separation of concerns there, which is really
- 44:06interesting, but maybe conversation for another time.
- 44:10But that's it. It really is that simple.
- 44:13And so if you separate the MCP layer or just a context layer
- 44:19and endpoints and AP is away from the agent layer, it makes
- 44:24it way easier to be able to kind of iterate on these things
- 44:29separately each other. It's not like, oh, we added a
- 44:31new API, we want to change this. I need to go like make APR to
- 44:34every single agent or change this library and have all the
- 44:36agents update to this new. It's just much cleaner to just
- 44:40maintain the service and just say connect to this thing and we
- 44:43will make sure it's up to date and it provides these tools or
- 44:46access to this kind of data. Yeah, yeah.
- 44:48Like like APIs or like even just like separating storage and
- 44:52compute? Yeah, it is another way to think
- 44:55of it like you're separating storage and compute.
- 44:57You're separating the action, the intelligence, and the
- 45:00context. I like that.
- 45:01Yes. And and I think that's that's
- 45:05that's how you should build agents.
- 45:07And I think we're just handling the context layer amongst other
- 45:10things, but the context layer is personally what I'm I'm thinking
- 45:12about. We're good.
- 45:15I think we're good. I'm Sepe.
- 45:26I'm say I'm also not surprised you have multiple voices in your
- 45:30head knowing you as well as I do.