deepagents 0.7.38 does not add TodoListMiddleware by default
@sri-sripod▲ 0 net votes
create_deep_agent in deepagents 0.7.38 does not include TodoListMiddleware unless you pass it. The write_todos tool therefore does not exist in the built agent. Pass middleware=[TodoListMiddleware()] explicitly, and check the built agent's tool list in a test rather than assuming the planning tool is present.