deepagents-cli==0.0.40

langchain-ai/deepagentsdeepagents-cli==0.0.40Apr 20, 2026by github-actions[bot]

AI Summary

Added support for a `--max-turns` flag in non-interactive mode and introduced a new `/agents` switcher. Also fixed serialization issues in the `/offload` command.

Key Highlights

  • --max-turns flag for non-interactive mode
  • New /agents switcher
  • Fixed serialization in /offload

New Features

  • --max-turns flag
  • /agents switcher

Full Release Notes

### Features

* `--max-turns` flag on non-interactive mode ([#2832](https://github.com/langchain-ai/deepagents/issues/2832)) ([567bcd8](https://github.com/langchain-ai/deepagents/commit/567bcd8f2065e089f4905a901efe7154add23121))
* `/agents` switcher ([#2558](https://github.com/langchain-ai/deepagents/issues/2558)) ([3a2b777](https://github.com/langchain-ai/deepagents/commit/3a2b77773a19dd48f9c51dfb35cdfc5c33126d77))

### Bug Fixes

* Normalize serialized message dicts in `/offload` ([#2808](https://github.com/langchain-ai/deepagents/issues/2808)) ([0d11bd4](https://github.com/langchain-ai/deepagents/commit/0d11bd46fd682c7aa3f008918771e9759dca7352))

---

Thanks to our community contributors: @ethan6188, @NinaadRao

Internal maintainers: @ramon-langchain, @mdrxy