Vercel AI SDK gets persistent memory: MongoDB's open-source integration stores chats, facts and events in Atlas
MongoDB released and open-sourced an integration that turns MongoDB Atlas into the persistent memory store for AI applications and agents built with the Vercel AI SDK. The SDK itself ships no database, so an application previously started every conversation with no knowledge of the last one, and developers had to design schemas, write cleanup jobs and set up vector search themselves. The integration sorts memories into session, semantic, procedural, episodic and scratchpad types with separate retention policies, and creates vector indexes automatically while detecting embedding dimensions at startup.