<overview Deep Agents use pluggable backends for file operations and memory: Short-term (StateBackend) : Persists within a single thread, lost when thread ends Long-term (StoreBackend) : Persists across threads and sessions Hybrid (CompositeBackend) : Route different paths to different backends FilesystemMiddleware provides tools: , , , , , </overview <backend-selection | Use Case | Backend | Why | |----------|---------|-----| | Temporary working files | StateBackend | Default, no setup | | Local development CLI | FilesystemBackend | Direct disk access | | Cross-session memory | StoreBackend…