deepagents==0.4.4
langchain-ai/deepagentsdeepagents==0.4.4Feb 26, 2026by github-actions[bot]
AI Summary
This patch release focuses on SDK stability with multiple bug fixes for path handling, tool validation, and performance optimizations. The release includes security-related path sanitization improvements and performance enhancements for summarization and memory loading.
Key Highlights
- Fix path stripping consistency in CompositeBackend grep and glob operations
- Add timeout to glob in FilesystemMiddleware for better control
- Validate tool_call_id before subagent invocation
- Parallelize summarization offload and LLM summary generation
- Batch memory source loading into single download_files call
New Features
- Path handling fixes for grep, glob, and filesystem operations
- Tool call validation before subagent invocation
- Template param bundling into base64 payload
- Performance optimizations for summarization and memory loading
Full Release Notes
Changes since deepagents==0.4.3 release(deepagents): 0.4.4 (#1519) fix(sdk): use consistent path stripping in CompositeBackend grep and glob (#1504) fix(sdk): add timeout to glob in FilesystemMiddleware (#1508) fix(sdk): validate tool_call_id before subagent invocation (#1506) fix(sdk): bundle read template params into single base64 payload (#1500) fix(deepagents): preserve ToolMessage artifact when evicting large outputs (#1482) fix(sdk): fix glob matching with ** in _python_search fallback (#1350) fix(sdk): sanitize paths in BaseSandbox ls_info and read templates (#1484) docs(sdk): fix SkillsMiddleware.before_agent docstring to reflect caching behavior (#1495) perf(sdk): parallelize summarization offload and LLM summary generation (#1488) chore(sdk): add coverage to Makefile (#1493) perf(sdk): batch memory source loading into a single download_files call (#1490) --- Thanks to our contributors: @dotuananh0712, @AdemBoukhris457, @OiPunk