Mistral has just released Agents that allows you to easily use and customize their models for your tasks. This is the best way to create custom Mistral AI agents. Here’s how to create your own.
1. Access the Mistral platform
Head over to Mistral AI’s La Plateforme at mistral.ai. If you’re new, create an account and log in.
2. Create a new Mistral Agent
On the Mistral platform, click “Create an Agent” or “Agent”. (You can get free credits valid for 15 days).
3. Configure your Agent
This is where you bring your agent to life!
- Model: select your preferred large language model
(Mistral Large 2 is a solid choice for most tasks.) - Randomness: control how creative your agent’s responses are
- Instructions: Give your agent a clear purpose by writing a system prompt.
This is how you guide its behavior (example below).
- Demonstrations (optional): Provide a few-shot example to show your agent how to respond to specific inputs.
This helps it learn and adapt.
Instructions example:
“You’re an experienced Google Apps Script developer familiar with automating tasks in Google Sheets.
Write a custom Apps Script that automates the process of sending email notifications whenever a specific cell in a Google Sheet is updated.
The script should trigger an email to a predefined list of recipients, containing the cell’s updated value, the timestamp of the change, and a link to the sheet. Provide comments within the code to explain each section.
Use a clear and informative tone in the comments.”
4. Deploy your Agent
Click the “Deploy” button to make your agent live. Choose where you want to deploy it:
- API: to integrate your agent with other applications or services.
- Le Chat: this makes your agent available for direct interaction through Mistral’s chat interface.
You can build and deploy an army of AI agents to do tasks that used to take a lot of time!
Author: Paul Couvert
Read related articles: