Loading…

MongoDB
Database technology company providing a document-oriented database and cloud data platform for application development.
- 160 posts summarised
- latest
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
From their blog
Latest articles
DataGrip: a great database IDE to work with MongoDB Atlas
JetBrains released a new version of DataGrip that includes support for MongoDB and ships with the MongoDB Shell out of the box. Users of other JetBrains IDEs can install the Database Tools plugin to work with MongoDB inside their existing development environment. The integration uses an embeddable MongoDB Shell as the engine behind database consoles, providing a console experience consistent with the terminal and other MongoDB developer tools. DataGrip also works with Atlas Data Lake, allowing users to query data stored in Amazon S3 using MQL. Users can connect to a free Atlas cluster by grabbing a connection string from the Atlas UI and adding a new data source in DataGrip.
Scanning 7.25 Million Public Repositories on China's Largest Git Platform for Secrets
An independent security researcher scanned 7,256,531 public repositories on Gitee, China’s largest indigenous Git hosting platform, using both TruffleHog and Kingfisher. The dual-scanner pipeline found 26,400 unique verified-live credentials after deduplication, with Alibaba Cloud AccessKey pairs being the most common leaked type. Repository enumeration required combining Gitee’s limited REST API, per-user page scraping, and the platform’s internal Elasticsearch widget, using bucket splitting to work around a 200-result cap. The scan cost roughly $3,000 and ran for one month on Modal’s serverless compute platform. Gitee’s per-repository credential density of 3.64 per 1,000 repos exceeded comparable published scans of GitLab and Bitbucket.
How MongoDB Fits into the EU Sovereign Cloud Ecosystem
The European Commission awarded sovereign-cloud contracts in April 2026 under the Cloud III DPS, using SEAL-2 and SEAL-3 from the CSF as benchmarks. Three provider groups achieved SEAL-3 and one attained SEAL-2, showing sovereignty as a spectrum rather than a binary threshold. Infrastructure certification under such frameworks does not cover the database tier, which requires separate evaluation for data paths, encryption, key management, and control-plane dependencies. MongoDB fits into this ecosystem through three deployment models: Certified DBaaS on SEAL-3 providers, MongoDB Atlas with client-side and queryable encryption, and Enterprise Advanced for self-managed deployment. Each model preserves the same core document model and query semantics, enabling workload portability across tiers without redesign effort.
Introducing the MongoDB Claude SDK Session Adapter: Durable Session Storage for Agents
The Claude Agent SDK embeds Claude Code’s agent loop into applications, providing tools like web search and MCP connections without manual tool definition. It automatically persists session transcripts to the local file system, but this is unsuitable for stateless deployments like Lambda functions where each invocation is a disposable instance. The MongoDB Claude SDK Session Adapter solves this by implementing the SDK’s SessionStore interface to mirror every conversation turn to MongoDB in real time. This enables cross-environment continuity, resilience to host failures, and auditability under existing access controls, without requiring a separate system for agent memory. The adapter can be configured with a few lines of code, making agent sessions portable across any instance with access to the MongoDB cluster.
Give Deep Agents a Searchable Filesystem on MongoDB Atlas
A multi-agent pipeline with a coordinator, three search sub-agents, and a reconciler searches a 2,900-page, 45-file federal docket on room air cleaner efficiency standards from the U.S. Department of Energy using a virtual filesystem on MongoDB Atlas. The VFS backend routes search operations like glob and grep to Atlas Search and Vector Search, where $rankFusion combines full-text and vector results natively in a single database-side query, while S3 holds the original bytes as the source of truth. A polling watcher keeps the Atlas index aligned with S3 bucket changes. Agents work incrementally through ls, glob, grep, read, write, and edit operations without loading the entire corpus into their context window. The pipeline can be interrupted and resumes from the last completed stage using saved run state, costing $2 to $5 in API calls over about 45 minutes.
Introducing AptMQL-Bench: A Text-to-MQL Benchmark
Large language models must reliably translate natural language requests into database query languages, but MQL, MongoDB’s query language, has lacked a dedicated benchmark. The authors introduce AptMQL-Bench, a Text-to-MQL benchmark derived from the BIRD Text-to-SQL dataset, comprising 21 MongoDB databases and 3,186 natural-language requests across domains like commerce and science. They present an agent-driven conversion pipeline that treats schema design as a first-class step, using access-pattern analysis to produce schemas that follow MongoDB’s golden rule of storing accessed-together data together. The pipeline includes automated validation checks and a second optimization pass that rewrote 45% of translated MQL queries to use embedded fields and precomputed aggregates. Evaluations of eight LLMs show the benchmark is challenging, with the best model (Claude Opus 4.5) achieving 70.34% soft execution accuracy with external knowledge, and the authors propose Soft-EX as a more appropriate metric for MQL than strict execution accuracy.
Build AI-Powered Applications with MongoDB Atlas in Grok Build
Grok Build redefines software development by letting autonomous agents handle mechanical coding while humans own consequential decisions through Plan Mode and Agent mode. This tutorial demonstrates combining that workflow with MongoDB Atlas as the operational database, memory layer, and retrieval engine for a knowledge assistant. The MongoDB Atlas Managed MCP Server provides over 40 tools across database operations, Atlas management, and assistant capabilities, enabling agents to interact directly with Atlas deployments. Developers can provision clusters, load seed data, and query using natural language, with read-only defaults and explicit opt-in for mutations. The result is a repeatable delivery loop from specification to deployment, with Atlas supplying durable state, semantic retrieval via Vector Search, and managed infrastructure.
Introducing MongoDB Agents: Open Source Agent Templates for Atlas Agent Engine
Teams increasingly want agents that handle routine database work—such as checking cluster alerts, reviewing slow queries, and answering questions about a schema—but building agents takes much more than a prompt, including credential handling, access scoping, tool orchestration, approval flows, and more. Today MongoDB launched MongoDB Agents, a collection of open source agent templates that combine the MongoDB MCP Server and MongoDB Agent Skills with the plumbing you would otherwise build yourself. Each template includes scoped MongoDB Atlas credentials, approval flows for writes, and a ready-to-run deployment configuration for Atlas Agent Engine. Built-in guardrails give each agent its own Atlas identity, default read-only access, require human approval for every write tool, block outbound traffic to unallowed hosts, and prevent shell execution. You can use the agents in the Agent Engine Playground, via the agentengine CLI, or integrate with Slack using the optional bot to ask questions, approve writes, and schedule reports.
Modernize Your Insurance Data Models With MongoDB Relational Migrator
Legacy mainframe systems using COBOL and CICS still dominate core insurance functions, creating high maintenance costs and slow innovation due to data trapped in outdated 21-table relational schemas. This tutorial demonstrates how the document model simplifies insurance data models by refactoring the Object Management Group’s Party Role model, which defines how people and organizations are involved in policies, claims, and insurable objects. MongoDB’s Relational Migrator transforms the 21-table relational schema into a lean five-collection MongoDB model for Party, Policy, Claim, Litigation, and roles. The process covers connecting to PostgreSQL, replicating the Party Role model via psql and pg_restore, and using Relational Migrator’s schema design and data migration to refactor and migrate data. After migration, insurers gain faster product launches, swift regulatory adaptation, and enhanced customer experiences through a modernized data infrastructure.
Composable Banking, Canonical Payments: A Foundation for Agentic Operations
Legacy payment architectures in financial institutions are fragmented, rigid, and deeply siloed, making adaptation to new payment rails and AI operations difficult. Banks can overcome this by adopting a composable business-capability architecture based on the BIAN standard, decoupling payment logic from tightly coupled systems. A canonical payment model gives each payment a common business vocabulary and identity throughout its lifecycle, accumulating context from validations, enrichments, and exceptions. MongoDB’s flexible document model, with search, vector search, change streams, and multi-document transactions, provides the unified data layer that enables these capabilities and agentic operations. For example, a cutoff-exception event allows an agent to read canonical context and recommend same-day processing with human review, and new rails like ACH are added by extending the canonical model rather than creating new silos.
Building AI with MongoDB and Patronus AI
Large language models can be unreliable, with serious consequences in regulated industries. Patronus AI, an industry-first automated evaluation platform, enables engineers to score and benchmark LLM performance on real-world scenarios, generate adversarial test cases, and monitor hallucinations and PII. Research using FinanceBench found that state-of-the-art LLMs hallucinated or incorrectly answered up to 81% of financial analysts’ questions, even with RAG and external context. Patronus partnered with MongoDB Atlas to offer a RAG evaluation API and published a 10-minute guide demonstrating evaluation of a RAG system built with LlamaIndex and Atlas Vector Search on an SEC 10-K filing. Developers can improve RAG performance by adjusting indexes, chunking sizes, prompts, or fine-tuning embedding models, and should continuously test to maintain improvements.
Italian Enterprises Leading in AI
AI models depend on flexible, high-performance data infrastructure. Leading Italian enterprises including TeamSystem, altermAInd, Brembo Solutions, and Eni are using MongoDB Atlas to power their AI initiatives. TeamSystem built a centralized AI platform with hybrid search combining full-text and vector search that delivers precise, context-aware results while minimizing hallucinations, scaling from 50,000 to 500,000 users and cutting task times by 30–40%. altermAInd solved GDPR and EU AI Act compliance at the database layer, enabling secure innovation for over 200,000 customers. Brembo Solutions uses ALCHEMIX to slash R&D formulation from months to minutes by leveraging MongoDB’s document model for diverse material data. Eni uses Atlas Search and vector search to instantly analyze years of geoscience data and Atlas Charts for real-time interactive visualizations without hand-coded dashboards. These companies show that a robust, secure, and scalable data platform is foundational to enterprise AI success.
How to Encrypt LangGraph Checkpoints With MongoDB CSFLE
LangGraph checkpoints persist agent state, including user messages and tool results, as plaintext BSON in MongoDB by default, leaving sensitive data accessible to anyone who can read the database. MongoDB Client-Side Field Level Encryption (CSFLE) encrypts data on the client before transmission, ensuring the database engine never sees plaintext values and protecting against privileged database users or data breaches. This post demonstrates implementing a custom CipherProtocol for LangGraph’s EncryptedSerializer that uses explicit CSFLE with randomized encryption, configured with AWS KMS and a data encryption key stored in a key vault collection for envelope encryption. The encrypted payload replaces the default Base64 encoding, while only thread IDs, checkpoint IDs, and namespaces remain unencrypted to support runtime lookups without exposing sensitive content. This approach aligns with enterprise security and compliance requirements for customer-facing AI agents, preserving resumable sessions and human-in-the-loop workflows while preventing database administrators or attackers from reading the state.
Enriching Product Catalogs For Agentic Commerce Discovery with MongoDB
AI agents are transforming retail discovery, requiring product catalogs to be machine-readable and context-rich for systematic retrieval, with McKinsey estimating AI agents could orchestrate $3 trillion to $5 trillion globally by 2030. Retailers need a single enriched catalog that projects consistently to three surfaces: outbound product feeds, agentic commerce endpoints via REST APIs or MCP, and product detail pages with schema.org JSON-LD. MongoDB’s document model supports three tiers of enrichment—identity and transactability, filterable attributes, and agentic context such as use cases and semantic embeddings—to help AI agents reason over products. Change streams and aggregation pipelines keep projections current across surfaces, ensuring consistency that AI agents cross-check. MongoDB Search and Vector Search enable hybrid retrieval for intent-based queries, helping retailers improve discoverability and gain a competitive advantage in the agentic commerce era.
MongoDB Extension for Hibernate ORM is Now GA
The MongoDB Extension for Hibernate ORM is now generally available as a first-party, open-source library, giving Java teams a production-ready way to use familiar Hibernate APIs with MongoDB’s document model. Developers can continue using @Entity annotations, HQL, Criteria Queries, and Session APIs while building new applications or migrating existing Hibernate workloads from relational databases. The GA release adds JOIN support (INNER and LEFT OUTER) via standard HQL/JPQL syntax, optimistic locking with @Version, Spring Boot auto-configuration that auto-detects dialect and connection provider from the MongoDB JDBC URL, and clearer exception messaging and logging. The extension transparently translates Hibernate operations into MongoDB aggregation pipelines and requires Hibernate ORM 7.4 LTS. It also supports native embedded documents for faster reads and allows dropping into MongoDB’s native Query API for advanced operations like vector search and geospatial queries.
Building A Culture Of Growth: MongoDB's Massive Opportunity In APAC
MongoDB’s go-to-market organization in APAC has nearly tripled in size over the past three years, driven by the region’s massive database opportunity. IDC forecasts the global database market will grow to $137 billion by 2027, and MongoDB has reached $1 billion in annual recurring revenue, with APAC containing five of the world’s top 13 economies by GDP. To serve diverse markets like India, Australia, and Singapore, MongoDB deploys regionalized business leaders who tailor go-to-market strategies while collaborating on shared best practices at the leadership level. The company’s culture, shaped by six core values including “Embrace the Power of Differences,” emphasizes psychological safety and accountability, encouraging teams to learn from setbacks. MongoDB’s APAC teams prioritize three goals: ensuring customer success, building technical champions, and driving new workloads, as exemplified by Cathay Pacific’s Flight Folder application powered by MongoDB.
Code Mode Without the Interpreter: Agents That Write Aggregation Pipelines
Fixed-tool document agents suffer multiple round trips and context window bloat because each call returns raw data, and cross-document relationships require pulling all files into the context. The author’s solution lets the agent write a MongoDB aggregation pipeline instead of arbitrary code, avoiding the security risks of a code interpreter. A handler validates the pipeline, prepends a tenancy filter, and executes it server-side, returning only the reshaped result. The agent uses a two-pass approach, often computing booleans or concatenating fields with $addFields so comparisons happen in the database. Limitations include regex not being semantic search and $limit silently truncating results, but the bounded language of nine permitted stages improves both safety and accuracy.
Intelligent Workload Management: Keeping Your Clusters Available When It Matters
MongoDB Atlas announced Intelligent Workload Management (IWM) as GA in MongoDB 9.0, a managed availability capability that keeps clusters responsive and predictable under overload. When demand exceeds safe processing, IWM limits incoming work and queues surplus requests by default, keeps short-running operations moving while managing long-running ones conservatively, and adjusts memory and cache management to preserve cluster health. It works with or without auto-scaling, helping clusters stay stable while additional capacity provisions, closing the gap between a traffic spike and new capacity coming online. Default protections are enabled at no extra cost on eligible dedicated clusters and require no application changes; optional Load Shedding can reject excess operations for sustained overload, and Coinbase’s VP of Engineering cited confidence during peak trading windows. Observability metrics in Atlas track IWM interventions, and a test validates driver compatibility and application handling before enabling Load Shedding in production.
The Ground Beneath the Database
On September 29th, MongoDB announced the public preview of Atlas Infinite, a new deployment option built on disaggregated storage where compute and storage run on separate machines. The shared storage layer consists of three services: a Log Service for write consensus, a Page Service keeping materialized pages warm, and an Object Index Service managing object storage. This architecture was necessary because WiredTiger’s speculative eviction and deferred writes made conventional approaches impossible. Data is encrypted on the compute node before reaching the storage layer, preventing shared services from reading documents. Benefits include unlimited storage scaling, read replicas without disk copying, and constant-time snapshots.
Data Modeling and Schema Design for MongoDB Search Part 1: Practical Considerations
Data modeling for MongoDB Search requires balancing conceptual, logical, and physical schema decisions against workload demands and system constraints. The $search stage must be the first in an aggregation pipeline, queries a single Search index, and runs against a single collection, with results returned in relevancy order. The underlying Lucene engine supports two mappings for arrays of sub-documents: default document mapping flattens fields into one index object, while embeddedDocuments mapping creates separate Lucene index objects per sub-document. Embedded mapping enables cross-field matching within sub-documents but explodes the index object count and causes heavy reindexing on any update, as the entire block is deleted and re-added. This post establishes the foundational concepts and physical constraints that will inform schema patterns in Part 2.
Topics they write about
All topics →Weekly digest
The best engineering reads, once a week.