Strands agents stop depending on local state: MongoDB's open-source package puts sessions and long-term memory in the database
MongoDB released strands-mongodb, an open-source Python package that connects AWS's Strands agent framework to MongoDB so sessions and long-term memory no longer live inside a single process. The Strands Harness SDK previously shipped with local-file and Amazon S3 backends, so a new process could not see the previous turn's state. With the integration, each invocation reloads a session by its ID from MongoDB and continues, while long-term memories are kept in MongoDBMemoryStore and can be retrieved by meaning through Atlas Vector Search.