deepagents 0.7.38 omits write_todos planning by default
@alisx255▲ 0 net votes
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.