Products & Tools

Google and MongoDB ship session, memory and search layer for AI agents

Google and MongoDB have released an ADK integration adding session storage, memory and hybrid search for AI agents, targeting MongoDB Atlas and self-managed 8.0+ deployments from 24 November 2026.

Google & MongoDB launch AI agent integration
Google & MongoDB launch AI agent integrationFirmbee / pixabay
By Marcus Bennett4 min read

Why it matters

  • Google and MongoDB launched an ADK integration for AI agent sessions, memory and retrieval on 24 November 2026.
  • The release targets ADK 2.0, Google's orchestration layer for multi-agent systems, available in Python, TypeScript, Go, Java and Kotlin.
  • Support covers MongoDB Atlas and self-managed MongoDB 8.0+ for vector and hybrid search.
  • The package installs via pip as google-adk[mongodb].
  • The platform integrates Gemini 4 Argon for multi-step reasoning and Gemini 3.8 Flash for lower-latency execution.

Google and MongoDB have released a native integration for Google's Agent Development Kit, giving AI agents built on the open-source framework a single data layer for sessions, long-term memory and retrieval. The announcement, dated 24 November 2026, lands squarely on the problem that has stalled most agent deployments: preserving user context across interactions once a prototype moves into production.

The integration connects MongoDB with Google's ADK, the framework Google positions for building, debugging and deploying AI agents. According to the companies, the goal is a unified data layer covering application data, agent state and retrieval tasks. That matters because it removes a familiar source of engineering pain — separate databases and synchronisation pipelines that developers otherwise wire together when an agent graduates from demo to operational system.

Google's ADK is available in Python, TypeScript, Go, Java and Kotlin. The new integration centres on ADK 2.0, which Google describes as the orchestration layer for multi-agent systems — the software that coordinates several specialised agents working on one task. MongoDB now sits beneath that layer as the persistence backbone for sessions and memory.

What does the release actually contain?

The integration ships three principal components. The first is MongoDbSessionService, a class that stores sessions, events, and application, user and session state directly in MongoDB. It includes optimistic concurrency control (a technique that lets multiple processes update the same record safely by rejecting conflicting writes) and configurable collections, so teams can fit the storage layer into existing data architectures rather than reshaping their schemas around it.

The second component is MongoDbMemoryService, aimed at agents that need memory beyond a single session. The service ingests session events into MongoDB collections and retrieves relevant memories through keyword matching. MongoDB says the ingestion process is idempotent, meaning an application can add the same session more than once without creating duplicate records. Developers can use the service to add a session to memory and then search stored memory for information tied to a specific user or application — the mechanism behind agents that remember a customer across conversations.

The third piece is MongoDbToolset, which covers agents that need access to product catalogues, documents or other operational records already stored in MongoDB. Agents can call search tools within ADK while the application retains control of the database connection, configuration and index settings — a design choice that keeps infrastructure ownership with the platform team rather than the agent.

How does retrieval work?

According to the companies, the search component supports both semantic and hybrid retrieval. Semantic search matches by meaning using vector embeddings; hybrid search combines that with keyword-based matching. In practice, the companies say, this lets developers build agents for product discovery, knowledge assistance, support workflows and specialised copilots on top of the same database layer that already holds their operational data.

Support covers MongoDB Atlas, the company's managed cloud database, as well as self-managed MongoDB 8.0 and newer deployments for vector and hybrid search. Developers can connect through a connection string or reuse an existing PyMongo client, and can configure index names, embedding fields, result limits and candidate counts through MongoDbToolSettings — a level of tuning aimed at teams with established search infrastructure.

Installation is deliberately simple: the package installs through the Python package manager as google-adk[mongodb], adding MongoDB support directly into existing ADK development environments.

Why does persistence matter now?

The release reflects a broader shift in the AI software market, as companies attempt to move agents from demonstrations into operational systems that preserve user context across multiple interactions. In that environment, session persistence and memory have become central design questions alongside model choice itself. An agent that forgets everything between messages is a toy; an agent that carries a user's history across sessions and machines is a product.

Google frames the division of labour explicitly. ADK supplies the framework and tool interface; the MongoDB integration provides the persistence layer beneath it. The setup is intended to support agents that maintain conversation history independently of a single machine — so a restart, a redeploy or a load-balanced handoff does not wipe the user's context.

The underlying ADK platform integrates with Google's Gemini models, including Gemini 4 Argon for multi-step reasoning and Gemini 3.8 Flash for lower-latency execution. The companies say ADK 2.0 also provides standardised tool-calling interfaces, native telemetry and access controls — the operational plumbing that distinguishes a managed agent framework from a research notebook.

What happens next?

The integration is available now, and its terms are telling: no new database product, no new model, just a connection between two systems that already hold developer mindshare. For teams already running MongoDB 8.0+ or Atlas, the effective cost of adding agent memory is one pip install. For Google, the move extends ADK's reach into production data infrastructure at the moment when agent persistence, not raw model capability, is becoming the gating factor for deployment — and every agent built on this stack deepens MongoDB's position in a market where the database is increasingly the place where AI state lives.

Source: itbrief.com.au

Share this article:

More from Marcus Bennett

Marcus Bennett

Show full bio

Senior reporter covering companies, deals and strategy in artificial intelligence and machine learning at AI In Context.

873 articles

Related articles

  1. Google Cloud Puts Agent Telemetry in Customer-Owned BigQuery Tables
  2. Google Cloud hands Agent Substrate, gVisor and OpenRL to CNCF
  3. Google Cloud previews self-learning context tools for AI agents
  4. SyncHub says plain-English AI queries are replacing dashboards
  5. Google opens Android Studio to 40-plus coding agents

« Previous article