Anthropic
Jupyter AI Agents supports Claude models from Anthropic.
To use Anthropic Claude directly, you'll need to:
- Get an API key from Anthropic's Console
- Set up your environment variables:
export ANTHROPIC_API_KEY="..."
Example usage with direct Anthropic integration:
# Prompt agent example with Anthropic Claude
jupyter-ai-agents prompt \
--url http://localhost:8888 \
--token MY_TOKEN \
--model-provider anthropic \
--model-name claude-3-5-sonnet-20241022 \
--path test.ipynb \
--input "Create a matplotlib example"
Available Claude Models
You can use any of the following Claude models:
claude-3-haiku-20240307
- Fastest and most compact Claude modelclaude-3-sonnet-20240229
- Balanced model for most tasksclaude-3-opus-20240229
- Most powerful Claude modelclaude-3-5-sonnet-20241022
- Previous most intelligent Claude 3.5 modelclaude-3-7-sonnet-20250219
- Most intelligent model Claude 3.7 model (recommended)