Deep Agents集成MongoDB虚拟文件系统
LangChain的Deep Agents现在用MongoDB做虚拟文件系统,代码不用改就能实现持久化存储。
Deep Agents的虚拟文件系统现在支持MongoDB Atlas。该实现遵循BackendProtocol,允许开发者使用read/write/glob/grep等操作。通过Atlas提供向量搜索、全文搜索和混合搜索功能,文件读写直接转发至S3。该系统支持长时间运行或多代理工作流,使计划、中间输出和知识工件在会话、部署和子代理交接之间持久化。
Agent workspaces should be durable, inspectable, and swappable Deep Agents’ virtual file system is intentionally behind a BackendProtocol, so the agent code can keep using read/write/glob/grep while teams choose the storage layer that fits production Nice to see MongoDB support this! MongoDB @MongoDB MongoDB now powers the virtual file system behind @LangChain 's Deep Agents. 🚀 This new integration lets you implement Deep Agents' BackendProtocol against MongoDB Atlas instead of building your own storage layer. And agent code calling read_file, write, glob, and grep don’t have to change. Your retrieval and storage run through one backend instead of a maze of stitched-together tools. Vector, full-text, and hybrid search (via $rankFusion) route through Atlas; file reads and writes forward directly to S3. For builders of long-running or multi-agent workflows: Plans, intermediate outputs, and knowledge artifacts persist across sessions, deployments, and sub-agent handoffs, so file-based context survives between runs instead of resetting each time. 🔗 View Quoted Tweet 💬 2 🔄 2 ❤️ 14 👀 1619 📊 4 ⚡