Package com.google.genkit.plugins.mongodb.session


package com.google.genkit.plugins.mongodb.session
MongoDB-backed agent session persistence.

MongoSessionStore implements the Genkit SessionStore contract using the sharded checkpoint + RFC-6902 diff + pointer layout shared with the Firestore, DynamoDB, Cosmos DB, and PostgreSQL backends. Construct it directly from a com.mongodb.client.MongoClient and pass it to an agent via AgentConfig.store(...).