# Building agent memory can distract from the business logic

Markdown copy of https://realalpha.app/s/building-agent-memory-can-distract-from-the-business-logic/ on Real Alpha, the best minutes from long interviews with the people building AI. Cite and link the page, not this copy.

- Speaker: [Chirag Shah](https://realalpha.app/people/chirag-shah/) · Chirag Shah is SVP, GM, and head of AI platform at MongoDB.
- Host: [Theo Jaffee](https://realalpha.app/people/theo-jaffee/) · Co-founder & host, MTS · One of the first members of a16z's new media team; earlier hosted the Emergent Ventures-backed Theo Jaffee Podcast.
- Host: [Sophia Dew](https://realalpha.app/people/sophia-dew/) · Host, MTS
- Show: MTS
- Episode: [AI Agents Will Replace Full-Stack Backends | Chirag Shah](https://realalpha.app/v/DzEbNmQS8ws/), Nov 5, 2026
- Moment: 9:46 to 12:23 of the episode (3 min), playing on https://realalpha.app/s/building-agent-memory-can-distract-from-the-business-logic/; the episode from there: https://realalpha.app/v/DzEbNmQS8ws/?t=586

## Quote

> “they literally started to tell us that, hey, you give us this Lego pieces and **we stitch it together**.”
> — [Chirag Shah](https://realalpha.app/people/chirag-shah/) at [11:20](https://realalpha.app/v/DzEbNmQS8ws/?t=680) · MTS

## Takeaways

1. Agent memory can require vector search, embeddings and reranking.
2. Customers saw infrastructure plumbing as costly engineering work.
3. A packaged platform lets teams focus on business logic.

## About this segment

Chirag Shah says teams found memory pipelines expensive to build and maintain, even when the pieces were available. MongoDB built a packaged offering so developers could focus on their use cases instead.

From “AI Agents Will Replace Full-Stack Backends | Chirag Shah”, Nov 5, 2026. [Watch the full episode](https://realalpha.app/v/DzEbNmQS8ws/)

## Transcript

Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.

[9:53](https://realalpha.app/v/DzEbNmQS8ws/?t=593) Now, on to the episode. Can you give us the counter example here? How would all of this look like? Let's use this exact example you have of the builder. How does their build change if they're not using Atlas Asia Engine? That's a really good question. And one of the value problems that we believe in is why even we as a MongoDB decided to invest in this product. We introduced this brand new product in the market, right?

[10:21](https://realalpha.app/v/DzEbNmQS8ws/?t=621) Because as we started to talk to a lot of our customers, one of the things that became very clear that this whole usage and a need of a memory was out there. They were building their agents and they realized as they're starting to build these agents with some complex workflows and those long running agents and those use cases. one of them I just mentioned, they realize they need to build memory. And memory is, again, a complex data engineering data pipeline use case where you need vectoring ability.

[10:48](https://realalpha.app/v/DzEbNmQS8ws/?t=648) You need an ability to embed and re-rank your retrieval information against this episodic and semantic memory. And as you know, MongoDB has all those capabilities built over a course of our last multi-year roadmap investment. We have a vector search, we have acquired a company called Voyage less than a couple of years ago that brings that best-in-class embeddings as well as re-ranking capabilities.

[11:11](https://realalpha.app/v/DzEbNmQS8ws/?t=671) So these customers are starting to build on their own. And then they started to realize that it's expensive engineering effort. It's not the priority for them. The priority for them is to build the business logic for their business use cases and find the right solution in the industry. So they literally started to tell us that, hey, you give us this Lego pieces and we stitch it together. And then we have to maintain it and we have to operate it and we have to keep up to date with it versus why don't we just give us a castle and not worry about giving us all these Lego pieces?

[11:40](https://realalpha.app/v/DzEbNmQS8ws/?t=700) So that kind of gave us this starting point that, hey, instead of them building it, them creating this complex engineering effort, which is not a priority or a high-value ROI for them, we started to build because that's our strength. That's where we have built Atlas platform over the last 10-plus years, which is scalable, it's high. It's really performant. It's one of the best. It's built on JSON, which is literally the language that is in stock. So it's kind of like all the natural pieces of the foundations we already had. So like, yeah, this is like, it's almost like a no brainer. It's just staring at us saying these are the new products that we should be investing to make our developers in our AI usage life easy every day.
