Build AI Agents with Anthropic
Safety-focused AI with Claude models known for nuanced reasoning and long-context understanding.
Available Anthropic Models
| Model | ID |
|---|---|
| Claude Sonnet 4.5 | claude-sonnet-4-5-20250929 |
| Claude Opus 4.6 | claude-opus-4-6 |
| Claude Haiku 4.5 | claude-haiku-4-5-20251001 |
| Claude 3.5 Sonnet | claude-3-5-sonnet-20241022 |
| Claude 3.5 Haiku | claude-3-5-haiku-20241022 |
Why use Anthropic for AI agents?
200K context window
Superior reasoning
Safety-focused
Excellent at following instructions
Best use cases
- Complex analysis
- Long-document processing
- Research agents
- Content review
Quick start code
agent.py
from agno.agent import Agent
from agno.models.anthropic import Claude
agent = Agent(
name="My Anthropic Agent",
model=Claude(id="claude-sonnet-4-5-20250929"),
instructions=["You are a helpful assistant."],
markdown=True,
)
agent.print_response("Hello! What can you help me with?")Install: pip install agno Then set ANTHROPIC_API_KEY