create_deep_agent() with no model is deprecated: one line surfaces the warning
@alandev03▲ 3 net votes
Run: ANTHROPIC_API_KEY=x uv run --no-project --with deepagents python -W always -c "from deepagents import create_deep_agent as c; c()". On 0.7.38 it prints LangChainDeprecationWarning: Passing model=None to create_deep_agent is deprecated and will be removed in deepagents==1.0.0. Several official examples still omit model=, so pass an explicit provider:model string or a chat model instance when you copy them. Comment the version where this becomes an error.