deepagents==0.7.18

langchain-ai/deepagentsdeepagents==0.7.18Sep 23, 2026by github-actions[bot]

Upgrading?

AI Summary

This release focuses on bug fixes regarding tool previews, argument validation, and file size reporting to improve the clarity of truncated output displays and ensure strict argument handling for task tools.

Key Highlights

  • Large tool result previews now clearly explain truncation, byte losses, and per-line clipping.
  • Task tool calls now reject unknown argument keys instead of silently dropping unexpected input.
  • Fixed FileInfo.size to accurately represent file sizes in bytes across backends.

Full Release Notes

### Bug Fixes

- Large tool result previews now more clearly explain when output was clipped or truncated, including byte-cap losses, per-line clipping, and showing truncation notices only when truncation occurs. Legacy large-result preview templates are preserved behind a deprecation path. ([#5567](https://github.com/langchain-ai/deepagents/pull/5567), [#5564](https://github.com/langchain-ai/deepagents/pull/5564), [#5563](https://github.com/langchain-ai/deepagents/pull/5563), [#5568](https://github.com/langchain-ai/deepagents/pull/5568))
- Task tool calls now reject unknown argument keys instead of silently dropping unexpected input. ([#6299](https://github.com/langchain-ai/deepagents/pull/6299))
- Correct `FileInfo.size` to represent the file size in bytes across backends. ([#6258](https://github.com/langchain-ai/deepagents/pull/6258))

---

Thanks to our community contributors: @burakeyler, @eknathmali

**Special thanks** to everyone who reported the issues addressed in this release: @BogdanSliskovic ([#6286](https://github.com/langchain-ai/deepagents/issues/6286)), @eknathmali ([#6042](https://github.com/langchain-ai/deepagents/issues/6042))

Internal maintainers: @mdrxy

Released by: @mdrxy

<details>
<summary>Git log since deepagents==0.7.17</summary>

This commit history includes changes to this package. Commits are listed newest first.

- [`c172018`](https://github.com/langchain-ai/deepagents/commit/c17201847dd65390662a763ddd93ed84bbb8931c) release(deepagents): 0.7.18 (#6491)
- [`9a50bf5`](https://github.com/langchain-ai/deepagents/commit/9a50bf5c966fb599e240a6c52167133daaff5565) chore(deps): raise dependency minimums for `all` (#6498)
- [`00fef9c`](https://github.com/langchain-ai/deepagents/commit/00fef9c012b20f91785dc5e83c642fb439832178) fix(sdk): reject unknown keys in the task tool arguments (#6299)
- [`5bac4aa`](https://github.com/langchain-ai/deepagents/commit/5bac4aae53494329a533294564353b10c3385244) fix(sdk): report UTF-8 byte sizes (#6258)
- [`4932d70`](https://github.com/langchain-ai/deepagents/commit/4932d7066fc9f3464921ab72d5d86922ea4b26ec) fix(sdk): preserve legacy large-result templates behind deprecation (#5568)
- [`dbdd6fb`](https://github.com/langchain-ai/deepagents/commit/dbdd6fbb47f340de8d23092187aa2882242963f8) fix(sdk): disclose byte-cap losses in capture-offload execute previews (#5567)
- [`5014cf7`](https://github.com/langchain-ai/deepagents/commit/5014cf7f7480c5e080095c9e3396e4ce93421053) fix(sdk): disclose per-line clipping in large-result previews (#5564)
- [`7b4fcd3`](https://github.com/langchain-ai/deepagents/commit/7b4fcd398b2a9bcd875b193c32d1eb97f152ce21) fix(sdk): explain truncation markers only when preview omits lines (#5563)
- [`2caefbc`](https://github.com/langchain-ai/deepagents/commit/2caefbcc8637982e9683b38ca77f95a2d9e85bc5) docs(sdk): clarify `trim_tokens_to_summarize` (#6484)

</details>

Related Repositories