MongoDB Developer Blog
Deep dives into technical concepts, architectures, and innovations with MongoDB.
Fighting Tool Sprawl: The Case for AI Tool Registries
As enterprise AI agent adoption scales, the absence of centralized, organization-level tool infrastructure is producing compounding costs. When adoption is built around optimizing for deployment speed, enterprises expose themselves to a combination of risks: duplicated engineering effort, security exposure, and operational opacity.
The 5 MongoDB Atlas Alerts You Should Actually Pay Attention To
MongoDB Atlas ships with a large set of built-in alerts, but many teams turn them on without being fully clear on what each one is actually telling them. The result is predictable: either alert fatigue or missed signals.
MoE & Shared Embedding Spaces: How Voyage-4 Scales Smarter
In the relentless race to build more powerful AI, the standard playbook has been simple: bigger is better. To make a model smarter, we’ve historically just made it larger by adding more layers, more neurons, and more parameters. But this dense approach hits a massive wall. If you scale a model to trillions of parameters, and every single one has to fire for every single token, you end up with a system that is prohibitively slow and expensive.
3 Lightbulb Moments for Performant Data Modeling and Indexing
When you begin your MongoDB journey, don't be surprised if it takes a few steps along the path before you’re struck by the power and flexibility of the document model. The real leaps in query performance and scalability happen when developers move beyond traditional relational thinking and start designing their data model to match their application’s access patterns.
How Columnar Storage in Time Series Collection Delivers Real Cost Savings
A sensor measuring temperatures once a second generates 86,400 readings each day. Normally, every reading is stored in a full document structure even when the temperature changes by a tenth of a degree, or the loss value shifts by 0.001. But for time series workloads—whether IoT sensors or AI training pipelines—it's quietly expensive. And it gets worse the more data you retain.
Why I Prefer MongoDB For AI Applications
MongoDB is excited to feature this guest post from Andrei Radulescu-Banu, the builder behind DocRouter.AI and SigAgent.AI. Andrei walks through why MongoDB works well for his AI applications, especially for document- and log-heavy data and shares practical implementation details, including how he approaches migrations, indexing, and vector search–powered knowledge bases in production.
Breaking the Dense Ceiling: How voyage-4-large Uses MoE to Scale
Efficient scaling of embedding models has been a core research focus of Voyage AI by MongoDB: Rather than simply scaling up, we aim to improve the quality-cost trade-off—extending the Pareto frontier beyond what is possible with standard architectures. In the Voyage 3.5 series, we pushed the scaling trends of traditional dense embedding models to their practical limits. To further push the Pareto frontier, we introduced a mixture-of-experts (MoE) architecture in voyage-4-large.
Reduce AI Hallucinations with Tavily and MongoDB Hybrid Search
Artificial intelligence applications increasingly rely on retrieval‑augmented generation (RAG) to keep large language models grounded in trusted information. But not all RAG systems are created equal. Many rely solely on internal databases, while others depend exclusively on external APIs. Both approaches can introduce hallucinations, outdated information, or limited control over content sources.
Enhance Your In-IDE Data Browsing Experience With MongoDB
MongoDB is excited to announce the general availability of our enhanced data browsing experience in the MongoDB for Visual Studio (VS) Code extension. This new experience offers a unified workspace for developers to visually browse, query, and edit their data natively, streamlining workflows so they can manage their database right where they write their code. Evolving the developer workflow The modern developer’s workflow is incredibly fast-paced. With developers juggling an average of 14 different tools daily, the cognitive load of constantly jumping between applications can easily disrupt focus. When your application needs to evolve, working with your data shouldn’t force a break in your flow state. As the MongoDB for VS Code extension has grown to nearly 3 million downloads, we’ve seen firsthand how developers are pushing the boundaries of what an in-IDE (integrated development environment) database tool can do. While developers love accessing their data directly in the editor, we wanted to transform this experience to be even more visual, actionable, and seamless. Instead of switching to external terminals for quick tasks or taking the time to translate familiar MongoDB Shell commands into Extended JSON (EJSON), we are bringing a full-fledged, intuitive data management suite right to your VS Code sidebar. Exploring what’s new in the MongoDB for VS Code extension Here are the key improvements that transform the extension into a complete workflow solution: Paginated tree view and prescriptive titles Understanding complex data models at a glance is crucial for rapid development. We are transforming the document browsing experience by automatically detecting human-readable fields (like names or emails) to create prescriptive document titles, rather than just displaying standard _id hashes. Furthermore, you can now use a structured, paginated tree view to instantly browse collection data from the “Documents” tab, as well as interactively explore playground results when you run a script. This means you get the full context of your collections visually and instantly. Figure 1. Paginated tree view and prescriptive titles Powerful action menus and header controls Navigating your data should be inherently actionable. To give you full management capabilities without the need for you to write manual queries, we’ve added a new action header directly inside the tree view. This header equips you with buttons to instantly insert documents, refresh (to rerun the current query or playground script), sort ascending/descending by _id, paginate through results, and even bulk delete to empty a collection. Additionally, managing individual records is easier than ever. Simply hover over any document within the tree view to reveal a contextual action menu that allows you to instantly delete, copy, clone, and edit the document natively. Figure 2. Native action menus Native editing and shell syntax default We wanted to make interacting with your database as natural as possible. To remove the friction of translating your commands, we’ve added a setting that defaults to standard Shell syntax over EJSON for all insert, clone, edit, and clipboard functionalities. This guarantees that any document you copy or any quick fix you make in the extension is instantly compatible with your application code. Figure 3. Clone action. Stop context switching and start building Your database tools should adapt to your workflow, not disrupt it. By bringing native data editing, intelligent tree views, and standard Shell syntax directly into your sidebar, we’re bridging the gap between writing code and managing data. You no longer have to sacrifice your flow state just to make a quick database fix, verify a playground result, or translate verbose EJSON formats. This overhaul is another step in our commitment to making this MongoDB extension your ultimate command center—empowering you to spend less time wrestling with external tools and more time actually building your application.
Why MongoDB Atlas is the Native Home for ISO 20022 Compliance
For decades, global financial institutions relied on messaging standards defined by SWIFT to exchange information about cross-border payments. These legacy standards—aka MT messages designed in the 1970s—carried payment instructions in largely unstructured formats that required downstream systems to interpret free-text fields.