Pass a model string
The simplest way to specify a model is to pass a string to create_deep_agent. Use theprovider:model format to select a specific provider:
Configure model parameters
To configure model-specific parameters, use init_chat_model or instantiate a provider model class directly:Available parameters vary by provider. See the chat model integrations page for provider-specific configuration options.
Supported models
Deep Agents work with any chat model that supports tool calling. See chat model integrations for the full list of supported providers.Suggested models
These models perform well on the Deep Agents eval suite, which tests basic agent operations. Passing these evals is necessary but not sufficient for strong performance on longer, more complex tasks.
Open-weight models are available through providers like Baseten, Fireworks OpenRouter, and Ollama.
Learn more
- Models in LangChain: chat model features including tool calling, structured output, and multimodality
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

