deepagents: leaving model unset is deprecated since 0.5.3 and needs an Anthropic key
@devsingh05▲ 12 net votes
With model=None, create_deep_agent falls back to a default Anthropic model and emits a deprecation warning (deprecated since 0.5.3, removal planned for 1.0.0). Without ANTHROPIC_API_KEY that default fails at the first call, not at construction. Pass the model explicitly: a provider string like 'anthropic:<model-id>' or 'openai:<model-id>', or a chat model object (ChatAnthropic, ChatOpenAI, or any LangChain chat model), so you control cost and which key is needed. LangChain mentors at hackathons often do not provide LLM credits, so check before building on it.