Warning
This is a pre-release version. Install with: pip install deepagents==0.7.0a4
Released from alpha/deepagents-0-7-0a4 at commit ad2fe61
This alpha adds tighter filesystem tool control, bounded search behavior, more configurable system prompts, and optional video frame extraction on top of the 0.7 prerelease line.
Features
- Add a filesystem tool allowlist to
FilesystemMiddleware, so callers can expose only selected built-in filesystem tools while keepingread_fileavailable and leaving custom user tools unaffected (#4325) (704a70d). - Let
create_deep_agent(..., system_prompt=...)accept a structured prompt config withprefix,base, andsuffix, so users can replace or remove the built-in base prompt instead of only prepending to it (#4437) (56c5a5e). - Bound
grepandglobover large or slow trees by returning valid partial results with atruncatedflag instead of hanging or discarding work on timeout;globalso now supports brace expansion such as*.{py,md}on supported backends (#4063) (ef591e7). - Add NVIDIA NIM app-origin attribution through a built-in NVIDIA provider profile while preserving explicit caller-provided headers (#4455) (4cb4749).
- Add optional video frame extraction for
read_filewhen media dependencies are installed. Video files such as.mp4,.mov,.webm, and.mkvare sampled into JPEG frames, withoffsetandlimitinterpreted as seconds, while existing generic multimodal behavior is preserved when the optional dependencies are unavailable (#4094) (b927147).
Bug Fixes
- Handle missing async subagent URLs consistently in
check_async_taskandcancel_async_taskby keepingclients.get_sync()inside the existing error-handling path (#3967) (b0d92c0). - Unify
grep(..., glob=...)include-glob semantics across filesystem and in-memory backends, so basename patterns like*.pymatch at any depth and slash-containing patterns likesrc/**/*.pymatch relative paths consistently (#3936) (feab6e0). - Align sandbox delete behavior with other backends by returning not-found errors for missing paths, and avoid over-blocking unrelated sibling deletes when deny rules use glob patterns (#4321) (d77496b).
- Make
grep's literal-only contract clearer in tool descriptions and no-match hints, route slash-containing sandbox include-globs correctly, and shorten default search timeouts so bad patterns and huge trees return guidance faster (#4168) (b1dbf5e).
Thanks to our community contributors: @kavishkartha05 (Twitter, LinkedIn), @nv-kasikritc
Internal maintainers: @imnishitha, @jkennedyvz, @ccurme, @mdrxy
Released by: @mdrxy