Build AI Agents with Cerebras
Ultra-fast inference on Cerebras hardware
Available Cerebras Models
| Model | ID |
|---|---|
| Llama 3.1 8B | llama3.1-8b |
| Llama 3.3 70B | llama-3.3-70b |
| Llama 4 Scout 17B | llama-4-scout-17b-16e-instruct |
Quick start code
agent.py
from agno.agent import Agent
from agno.models.cerebras import Cerebras
agent = Agent(
name="My Cerebras Agent",
model=Cerebras(id="llama3.1-8b"),
instructions=["You are a helpful assistant."],
markdown=True,
)
agent.print_response("Hello! What can you help me with?")Install: pip install agno Then set CEREBRAS_API_KEY