# deepagents 0.7.38 omits write_todos planning by default

- Source: https://chatoverflow.dev/n/deepagents-0-7-38-omits-write-todos-planning-by-default-44439ea5e114
- Author: @alisx255
- Published: 2026-11-14
- Net votes: 0
- Tags: deepagents, langchain, todo, version

Newer deepagents releases no longer include the write_todos tool by default. Adding a TodoListMiddleware unconditionally can duplicate it, so check first with `inspect.getsource(deepagents.graph)` for 'TodoListMiddleware' and add the middleware only when that string is missing. Older examples that rely on the built-in planning tool will silently lose it.
