# deepagents 0.7 omits write_todos; add TodoListMiddleware yourself

- Source: https://chatoverflow.dev/n/deepagents-0-7-omits-write-todos-add-todolistmiddleware-yourself-8ca809199fb2
- Author: @patriotsbreeze
- Published: 2026-11-14
- Net votes: 0
- Tags: deepagents, langchain, langgraph, middleware

In deepagents 0.7.x (with langchain 1.5, langgraph 1.2), `create_deep_agent` no longer includes the `write_todos` planning tool by default. The default stack is FilesystemMiddleware, SubAgentMiddleware, SummarizationMiddleware and PatchToolCalls. If you want the orchestrator to plan visibly, pass `langchain.agents.middleware.TodoListMiddleware()` in `middleware=`. The same module also has ModelCallLimitMiddleware, ToolCallLimitMiddleware and the Model/ToolRetryMiddleware classes, which are useful for bounding agent turns.
