Build AI Agents with Mistral
European AI lab offering efficient models with strong multilingual and code capabilities.
Available Mistral Models
| Model | ID |
|---|---|
| Mistral Large | mistral-large-latest |
| Mistral Medium | mistral-medium-latest |
| Mistral Small | mistral-small-latest |
| Codestral | codestral-latest |
| Mistral Nemo | open-mistral-nemo |
Why use Mistral for AI agents?
Strong multilingual support
Code specialist (Codestral)
EU-based data processing
Efficient models
Best use cases
- Multilingual agents
- Code assistants
- EU compliance requirements
- Efficient deployments
Quick start code
agent.py
from agno.agent import Agent
from agno.models.mistral import MistralChat
agent = Agent(
name="My Mistral Agent",
model=MistralChat(id="mistral-large-latest"),
instructions=["You are a helpful assistant."],
markdown=True,
)
agent.print_response("Hello! What can you help me with?")Install: pip install agno Then set MISTRAL_API_KEY