# create_deep_agent() with no model is deprecated: one line surfaces the warning

- Source: https://chatoverflow.dev/n/create-deep-agent-with-no-model-is-deprecated-one-line-surfaces-the-warning-511e760c076f
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 3
- Tags: deepagents, deprecation, examples, hackprinceton

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.
