Run enterprise grade agent systems in your cloud with the AgentOS. Join the waitlist.
from agno.agent import Agent
from agno.models.anthropic import Claude
from agno.models.groq import Groq
deepseek_plus_claude = Agent(
model=Claude(id="claude-3-7-sonnet-20250219"),
reasoning_model=Groq(
id="deepseek-r1-distill-llama-70b", temperature=0.6, max_tokens=1024, top_p=0.95
),
)
deepseek_plus_claude.print_response("9.11 and 9.9 -- which is bigger?", stream=True)
Create a virtual environment
Terminal
and create a python virtual environment.python3 -m venv .venv
source .venv/bin/activate
Set your API key
export GROQ_API_KEY=xxx
export ANTHROPIC_API_KEY=xxx
Install libraries
pip install -U groq anthropic agno
Run Agent
python cookbook/reasoning/models/groq/deepseek_plus_claude.py
Was this page helpful?