Skip to content

Build AI Agents with Cerebras

Ultra-fast inference on Cerebras hardware

Available Cerebras Models

ModelID
Llama 3.1 8Bllama3.1-8b
Llama 3.3 70Bllama-3.3-70b
Llama 4 Scout 17Bllama-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

Contact Us

Press Ctrl+Enter to send