- Python 3.9 or higher
- A Composio account and API key
- A Mistral ai connection authorized in Composio
- An OpenAI API key for the CrewAI LLM
- Basic familiarity with Python
- UseBuildFeaturesTRIGGERSStart background agents from events across your connected appsFIREWALLNEWBlocks instructions hidden in tool results before your agent reads themINSTANTNEWAudio, video, search, browser and data tools, with no keys to manageOPTIMIZATIONLower cost per completed task with optimised tools and skillsBYOCNEWComposio deployed in your own cloud, with releases you approve
- DOCS
- PRICING
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.SIGN UP
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.LOG IN
How to connect Mistral ai to CrewAI in 2 mins: No API key needed
You can read text and tables from PDFs and images with Mistral OCR from CrewAI, and use Mistral's chat models with your own Mistral key. Composio lets you use Mistral inside CrewAI.
CrewAI runs Mistral ai through Composio, and the cost comes out of your free $2.
- Text and tables from a document page$0.004
- Text from a photo or scan$0.004
- A 10-page PDF turned into text$0.040
$2 ≈ 500 pages or 500 images
What you can do with your free $2
| When you ask CrewAI for | CrewAI uses this tool | Cost | What $2 gets you |
|---|---|---|---|
| Text and tables from a document page | Create OCR | $0.004 per page | About 500 pages |
| Text from a photo or scan | Create OCR | $0.004 per image | About 500 images |
| A 10-page PDF turned into text | Create OCR | $0.040 per document | About 50 documents |
You pay Mistral ai's price for each call with 0% markup, plus the regular Composio tool call charge. There's no Mistral ai subscription, and you only pay for what you use.
1 of 105 Mistral ai tools work without a key. For Append to conversation, Archive Fine-Tuned Model, Count Chat Completion Field Options, Create Agent, Create Agents Completion, Create Audio Transcription and 98 more, connect your own Mistral ai key. Read how Instant works.
How to connect Mistral ai to CrewAI
Composio adds Mistral ai to CrewAI as an Instant toolkit. You connect Composio to CrewAI once, and then CrewAI can use Mistral ai right away. There are two ways to do this:
Bring your own key
You bring your own Mistral ai API key, set it up, and use it.
Use the Composio wallet
InstantComposio runs each call on its own Mistral ai account, so you don't have to set anything up at Mistral ai, and your first $2 is free.
You do the setup one time and it takes about a minute. If you build Mistral ai into your own product, turn on Instant toolkits in your project settings so your agent can call Mistral ai for each of your users without a Mistral ai API key, and read Instant tools in the Composio docs for the setup steps and code examples.
Start to use Mistral ai in CrewAI in 3 steps
Turn on Instant
Open your Composio wallet and turn on Instant. Your free $2 shows up there.
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.
Open my walletAdd Composio to CrewAI
Follow the setup below. You only do this once.
Ask CrewAI for something
Try a Mistral ai prompt. The cost comes out of your $2.
Step-by-step Guide
Prerequisites
Getting API Keys for OpenAI and Composio
- Go to the OpenAI dashboard and create an API key. You'll need credits to use the models, or you can connect to another model provider.
- Keep the API key safe.
- Log in to the Composio dashboard.
- Navigate to your API settings and generate a new API key.
- Store this key securely as you'll need it for authentication.
Install dependencies
pip install composio crewai crewai-tools[mcp] python-dotenvcomposioconnects your agent to Mistral ai via MCPcrewaiprovides Agent, Task, Crew, and LLM primitivescrewai-tools[mcp]includes MCP helperspython-dotenvloads environment variables from.env
Set up environment variables
COMPOSIO_API_KEY=your_composio_api_key_here
USER_ID=your_user_id_here
OPENAI_API_KEY=your_openai_api_key_hereCreate a .env file in your project root.
What's happening:
COMPOSIO_API_KEYauthenticates with ComposioUSER_IDscopes the session to your accountOPENAI_API_KEYlets CrewAI use your chosen OpenAI model
Import dependencies
import os
from composio import Composio
from crewai import Agent, Task, Crew
from crewai_tools import MCPServerAdapter
import dotenv
dotenv.load_dotenv()
COMPOSIO_API_KEY = os.getenv("COMPOSIO_API_KEY")
COMPOSIO_USER_ID = os.getenv("COMPOSIO_USER_ID")
if not COMPOSIO_API_KEY:
raise ValueError("COMPOSIO_API_KEY is not set")
if not COMPOSIO_USER_ID:
raise ValueError("COMPOSIO_USER_ID is not set")- CrewAI classes define agents and tasks, and run the workflow
MCPServerHTTPconnects the agent to an MCP endpointComposiowill give you a short lived Mistral ai MCP URL
Create a Composio Tool Router session for Mistral ai
composio_client = Composio(api_key=COMPOSIO_API_KEY)
session = composio_client.create(user_id=COMPOSIO_USER_ID, toolkits=["mistral_ai"])
url = session.mcp.url- You create a Mistral ai only session through Composio
- Composio returns an MCP HTTP URL that exposes Mistral ai tools
Initialize the MCP Server
server_params = {
"url": url,
"transport": "streamable-http",
"headers": {"x-api-key": COMPOSIO_API_KEY},
}
with MCPServerAdapter(server_params) as tools:
agent = Agent(
role="Search Assistant",
goal="Help users search the internet effectively",
backstory="You are a helpful assistant with access to search tools.",
tools=tools,
verbose=False,
max_iter=10,
)- Server Configuration: The code sets up connection parameters including the MCP server URL, streamable HTTP transport, and Composio API key authentication.
- MCP Adapter Bridge:
MCPServerAdapteracts as a context manager that converts Composio MCP tools into a CrewAI-compatible format. - Agent Setup: Creates a CrewAI Agent with a defined role (Search Assistant), goal (help with internet searches), and access to the MCP tools.
- Configuration Options: The agent includes settings like verbose=False for clean output and max_iter=10 to prevent infinite loops.
- Dynamic Tool Usage: Once created, the agent automatically accesses all Composio Search tools and decides when to use them based on user queries.
Create a CLI Chatloop and define the Crew
print("Chat started! Type 'exit' or 'quit' to end.\n")
conversation_context = ""
while True:
user_input = input("You: ").strip()
if user_input.lower() in ["exit", "quit", "bye"]:
print("\nGoodbye!")
break
if not user_input:
continue
conversation_context += f"\nUser: {user_input}\n"
print("\nAgent is thinking...\n")
task = Task(
description=(
f"Conversation history:\n{conversation_context}\n\n"
f"Current request: {user_input}"
),
expected_output="A helpful response addressing the user's request",
agent=agent,
)
crew = Crew(agents=[agent], tasks=[task], verbose=False)
result = crew.kickoff()
response = str(result)
conversation_context += f"Agent: {response}\n"
print(f"Agent: {response}\n")- Interactive CLI Setup: The code creates an infinite loop that continuously prompts for user input and maintains the entire conversation history in a string variable.
- Input Validation: Empty inputs are ignored to prevent processing blank messages and keep the conversation clean.
- Context Building: Each user message is appended to the conversation context, which preserves the full dialogue history for better agent responses.
- Dynamic Task Creation: For every user input, a new Task is created that includes both the full conversation history and the current request as context.
- Crew Execution: A Crew is instantiated with the agent and task, then kicked off to process the request and generate a response.
- Response Management: The agent's response is converted to a string, added to the conversation context, and displayed to the user, maintaining conversational continuity.
Complete Code
Here's the complete code to get you started with Mistral ai and CrewAI:
from crewai import Agent, Task, Crew, LLM
from crewai_tools import MCPServerAdapter
from composio import Composio
from dotenv import load_dotenv
import os
load_dotenv()
GOOGLE_API_KEY = os.getenv("GOOGLE_API_KEY")
COMPOSIO_API_KEY = os.getenv("COMPOSIO_API_KEY")
COMPOSIO_USER_ID = os.getenv("COMPOSIO_USER_ID")
if not GOOGLE_API_KEY:
raise ValueError("GOOGLE_API_KEY is not set in the environment.")
if not COMPOSIO_API_KEY:
raise ValueError("COMPOSIO_API_KEY is not set in the environment.")
if not COMPOSIO_USER_ID:
raise ValueError("COMPOSIO_USER_ID is not set in the environment.")
# Initialize Composio and create a session
composio = Composio(api_key=COMPOSIO_API_KEY)
session = composio.create(
user_id=COMPOSIO_USER_ID,
toolkits=["mistral_ai"],
)
url = session.mcp.url
# Configure LLM
llm = LLM(
model="gpt-5",
api_key=os.getenv("OPENAI_API_KEY"),
)
server_params = {
"url": url,
"transport": "streamable-http",
"headers": {"x-api-key": COMPOSIO_API_KEY},
}
with MCPServerAdapter(server_params) as tools:
agent = Agent(
role="Search Assistant",
goal="Help users with internet searches",
backstory="You are an expert assistant with access to Composio Search tools.",
tools=tools,
llm=llm,
verbose=False,
max_iter=10,
)
print("Chat started! Type 'exit' or 'quit' to end.\n")
conversation_context = ""
while True:
user_input = input("You: ").strip()
if user_input.lower() in ["exit", "quit", "bye"]:
print("\nGoodbye!")
break
if not user_input:
continue
conversation_context += f"\nUser: {user_input}\n"
print("\nAgent is thinking...\n")
task = Task(
description=(
f"Conversation history:\n{conversation_context}\n\n"
f"Current request: {user_input}"
),
expected_output="A helpful response addressing the user's request",
agent=agent,
)
crew = Crew(agents=[agent], tasks=[task], verbose=False)
result = crew.kickoff()
response = str(result)
conversation_context += f"Agent: {response}\n"
print(f"Agent: {response}\n")Ask CrewAI for something with Mistral ai
Start a new chat and try this prompt:
Read the first 10 pages of this scanned PDF and give me the text as clean markdown, keeping the headings, lists and tables: [link to the PDF].
CrewAI runs it on Instant and shows you the result. It doesn't ask you for a Mistral ai key, and the cost comes out of your $2. You can see each call in your wallet.
Optional: connect your own Mistral ai key
If you want Append to conversation, Archive Fine-Tuned Model, Count Chat Completion Field Options, Create Agent, Create Agents Completion, Create Audio Transcription and 98 more, you need your own key. Ask CrewAI to connect your Mistral ai account, and it gives you a Composio link:
Connect my Mistral ai account using Composio.
Open the link, paste your Mistral ai API key and click Connect Account. You can get a key from Mistral AI Studio API keys page. After that, Composio uses your key first and doesn't charge Instant for those calls.
Use your first $2: copy a prompt into CrewAI
Each prompt runs on Instant, and the cost next to it is about what it takes from your $2.
Turn a scanned PDF into editable text
About $0.04Reads up to 10 pages of a scanned PDF and gives you the text back with headings and tables kept.
Read the first 10 pages of this scanned PDF and give me the text as clean markdown, keeping the headings, lists and tables: [link to the PDF].
Pull the details out of an invoice
Less than $0.01Reads an invoice and lists the vendor, invoice number, dates, line items and total.
Read this invoice and give me the vendor, invoice number, invoice date, due date, each line item with its amount, the tax and the total, as a table: [link to the invoice PDF or image].
Get the tables out of a PDF report
About $0.04Finds the tables in a PDF report and gives them back as clean tables you can copy anywhere.
Pull every table from pages [page numbers, up to 10] of this report and give them back as markdown tables with their titles: [link to the PDF].
Translate a scanned document
About $0.01Reads a scanned letter, certificate or form in another language and gives you the text with an English translation.
Read this scanned [letter, certificate or form] in [language] and give me the original text and an English translation, section by section: [direct link to the PDF or photo].
Get the key terms from a contract
About $0.04Reads a contract and lists the parties, dates, payment terms, renewal terms and how to cancel.
Read this contract (up to 10 pages) and list the parties, start and end dates, payment terms, renewal terms, notice period and how either side can cancel, with the page each one is on: [link to the PDF].
What CrewAI can do with Mistral ai
Works without a key
- Text and tables from a document page
- Text from a photo or scan
- A 10-page PDF turned into text
Needs your own Mistral ai key
- Append to conversation
- Archive Fine-Tuned Model
- Count Chat Completion Field Options
- Create Agent
- Create Agents Completion
- Create Audio Transcription
- Create Batch Job
- Create Chat Completion
- and 96 more
Supported tools (105)
| Tool | What it does | Works without a key | Cost on Instant |
|---|---|---|---|
| Create OCR | Extract text and structured data from images and documents using Mistral AI OCR, including tables, headers, footers, and custom structured extraction. | Yes | $0.004 per standard OCR 4.1 page |
| Append to conversation | Tool to append new entries to an existing conversation in Mistral AI. | Needs your own key | Billed to your own Mistral ai key |
| Archive Fine-Tuned Model | Archive a fine-tuned model so it is unavailable until restored. | Needs your own key | Billed to your own Mistral ai key |
| Count Chat Completion Field Options | Count values of a chat completion field after optional filtering. | Needs your own key | Billed to your own Mistral ai key |
| Create Agent | Tool to create a new AI agent with custom configuration (Beta). | Needs your own key | Billed to your own Mistral ai key |
| Create Agents Completion | Tool to generate completions using a Mistral AI agent with specific instructions and tools. | Needs your own key | Billed to your own Mistral ai key |
| Create Audio Transcription | Transcribe audio files to text using Mistral AI's Voxtral models. | Needs your own key | Billed to your own Mistral ai key |
| Create Batch Job | Create and queue a Mistral batch inference job. | Needs your own key | Billed to your own Mistral ai key |
| Create Chat Completion | Generate conversational responses from Mistral AI models with function calling and various model parameters. | Needs your own key | Billed to your own Mistral ai key |
| Create Chat Moderation | Tool to classify chat content for moderation purposes across 9 categories. | Needs your own key | Billed to your own Mistral ai key |
| Create Embeddings | Tool to generate vector embeddings for input text using Mistral AI embedding models. | Needs your own key | Billed to your own Mistral ai key |
| Create FIM Completion | Generate code completions using fill-in-the-middle functionality. | Needs your own key | Billed to your own Mistral ai key |
| Create library | Tool to create a new document library. | Needs your own key | Billed to your own Mistral ai key |
| Create library share | Create or update sharing permissions for a library. | Needs your own key | Billed to your own Mistral ai key |
| Create Moderation | Tool to classify text content for moderation purposes across 9 categories. | Needs your own key | Billed to your own Mistral ai key |
| Create or Update Agent Alias | Tool to create or update an agent version alias. | Needs your own key | Billed to your own Mistral ai key |
| Create Speech | Generate JSON-encoded speech audio from text without streaming. | Needs your own key | Billed to your own Mistral ai key |
| Delete agent | Permanently deletes an agent by its ID (Beta feature). | Needs your own key | Billed to your own Mistral ai key |
| Delete Conversation | Tool to delete a conversation by its ID (Beta). | Needs your own key | Billed to your own Mistral ai key |
| Delete File | Delete a file by its ID from Mistral AI. | Needs your own key | Billed to your own Mistral ai key |
Show all 105 toolsShow fewer tools
| Tool | What it does | Works without a key | Cost on Instant |
|---|---|---|---|
| Delete library | Permanently delete a library and its documents from Mistral AI. | Needs your own key | Billed to your own Mistral ai key |
| Delete library document | Permanently deletes a document from a Mistral AI library. | Needs your own key | Billed to your own Mistral ai key |
| Delete library share | Remove sharing permissions for a library from a user, workspace, or organization. | Needs your own key | Billed to your own Mistral ai key |
| Download File | Download the content of a previously uploaded Mistral AI file by ID. | Needs your own key | Billed to your own Mistral ai key |
| Get Agent | Tool to retrieve details of a specific Mistral AI agent by its ID. | Needs your own key | Billed to your own Mistral ai key |
| Get Agent Version | Retrieve a specific version of an agent (Beta). | Needs your own key | Billed to your own Mistral ai key |
| Get Batch Job | Get details and optionally inline results for a batch job. | Needs your own key | Billed to your own Mistral ai key |
| Get campaign | Retrieve an observability campaign by its UUID. | Needs your own key | Billed to your own Mistral ai key |
| Get campaign status | Return the execution status of an observability campaign. | Needs your own key | Billed to your own Mistral ai key |
| Get Chat Completion Event | Retrieve one observability chat completion event by UUID. | Needs your own key | Billed to your own Mistral ai key |
| Get Chat Completion Field Options | Get available values for a chat completion field and filter operator. | Needs your own key | Billed to your own Mistral ai key |
| Get Connector | Get a connector by ID or name without requesting customer data or secrets. | Needs your own key | Billed to your own Mistral ai key |
| Get Connector Authentication Methods | Get a connector's public authentication methods and required headers. | Needs your own key | Billed to your own Mistral ai key |
| Get Conversation | Tool to retrieve details of a specific conversation. | Needs your own key | Billed to your own Mistral ai key |
| Get Conversation History | Retrieve the full history of a conversation in Mistral AI. | Needs your own key | Billed to your own Mistral ai key |
| Get Conversation Messages | Retrieve all messages from a Mistral AI conversation. | Needs your own key | Billed to your own Mistral ai key |
| Get dataset | Retrieve an observability dataset by its UUID. | Needs your own key | Billed to your own Mistral ai key |
| Get dataset import task | Retrieve the status and progress of one dataset import task. | Needs your own key | Billed to your own Mistral ai key |
| Get dataset record | Retrieve a conversation record from an observability dataset. | Needs your own key | Billed to your own Mistral ai key |
| Get document extracted text URL | Retrieve a signed URL to download the extracted text from a document in a Mistral AI library. | Needs your own key | Billed to your own Mistral ai key |
| Get document signed URL | Get a signed URL to download a document from a Mistral AI library. | Needs your own key | Billed to your own Mistral ai key |
| Get Document Status | Retrieve the processing status of a document in a Mistral AI library. | Needs your own key | Billed to your own Mistral ai key |
| Get Document Text Content | Retrieve the extracted text content of a specific document from a Mistral AI library (Beta). | Needs your own key | Billed to your own Mistral ai key |
| Get File Signed URL | Get a time-limited signed URL for downloading a file from Mistral AI. | Needs your own key | Billed to your own Mistral ai key |
| List Fine Tuning Jobs | List fine-tuning jobs with optional filtering and pagination. | Needs your own key | Billed to your own Mistral ai key |
| Get Judge | Retrieve a saved observability judge by UUID. | Needs your own key | Billed to your own Mistral ai key |
| Get library | Retrieve detailed information about a specific library. | Needs your own key | Billed to your own Mistral ai key |
| Get Library Document | Retrieve metadata for a specific document in a Mistral AI library. | Needs your own key | Billed to your own Mistral ai key |
| Get Model | Tool to retrieve detailed information about a specific Mistral AI model by its ID. | Needs your own key | Billed to your own Mistral ai key |
| Get Similar Chat Completion Events | Retrieve observability events similar to a specified event. | Needs your own key | Billed to your own Mistral ai key |
| Get Voice | Get saved voice metadata without sample audio. | Needs your own key | Billed to your own Mistral ai key |
| Get Voice Sample | Download a saved voice's sample as a WAV audio file. | Needs your own key | Billed to your own Mistral ai key |
| Get Workflow | Retrieve a workflow definition and its active-worker status by name or ID. | Needs your own key | Billed to your own Mistral ai key |
| Get Workflow Deployment | Retrieve a workflow deployment and its registered workers. | Needs your own key | Billed to your own Mistral ai key |
| Get Workflow Execution | Retrieve the current state and result of a workflow execution. | Needs your own key | Billed to your own Mistral ai key |
| Get Workflow Execution History | Retrieve the event history for a workflow execution. | Needs your own key | Billed to your own Mistral ai key |
| Get Workflow Execution OpenTelemetry Trace | Retrieve raw OpenTelemetry trace data for a workflow execution. | Needs your own key | Billed to your own Mistral ai key |
| Get Workflow Execution Trace Events | Retrieve trace events for a workflow execution. | Needs your own key | Billed to your own Mistral ai key |
| Get Workflow Execution Trace Summary | Retrieve a hierarchical trace summary for a workflow execution. | Needs your own key | Billed to your own Mistral ai key |
| Get Workflow Metrics | Retrieve aggregate execution, error, latency, and retry metrics for a workflow. | Needs your own key | Billed to your own Mistral ai key |
| Get Workflow Registration | Retrieve one workflow registration and its worker availability. | Needs your own key | Billed to your own Mistral ai key |
| Get Workflow Run | Retrieve a workflow run's status, timing, execution IDs, and result. | Needs your own key | Billed to your own Mistral ai key |
| Get Workflow Run History | Retrieve the event history for a workflow run. | Needs your own key | Billed to your own Mistral ai key |
| Judge Chat Completion Event | Evaluate one chat completion event with an inline judge definition. | Needs your own key | Billed to your own Mistral ai key |
| Judge Conversation | Run a saved observability judge against a supplied conversation. | Needs your own key | Billed to your own Mistral ai key |
| Judge dataset record | Evaluate one dataset record with a supplied non-durable judge definition. | Needs your own key | Billed to your own Mistral ai key |
| List agent aliases | List version aliases for a specified agent (Beta), including the version associated with each alias. | Needs your own key | Billed to your own Mistral ai key |
| List Agents | List configured agents available in your organization (Beta), with optional filters and pagination. | Needs your own key | Billed to your own Mistral ai key |
| List Agent Versions | List versions of a specific agent (Beta) to view its version history. | Needs your own key | Billed to your own Mistral ai key |
| List Batch Jobs | Tool to retrieve a list of all batch jobs with optional filtering and pagination. | Needs your own key | Billed to your own Mistral ai key |
| List campaigns | List observability campaigns, optionally filtering them by a text query. | Needs your own key | Billed to your own Mistral ai key |
| List campaign selected events | List chat-completion events selected by an observability campaign. | Needs your own key | Billed to your own Mistral ai key |
| List Chat Completion Fields | List fields and operators available for observability event filtering. | Needs your own key | Billed to your own Mistral ai key |
| List Connectors | List custom MCP connectors without returning connection secrets. | Needs your own key | Billed to your own Mistral ai key |
| List Connector Tools | List tools exposed by an MCP connector. | Needs your own key | Billed to your own Mistral ai key |
| List Conversations | List all created conversations (Beta). | Needs your own key | Billed to your own Mistral ai key |
| List dataset import tasks | List import tasks associated with an observability dataset. | Needs your own key | Billed to your own Mistral ai key |
| List dataset records | List conversation records stored in an observability dataset. | Needs your own key | Billed to your own Mistral ai key |
| List datasets | List observability datasets, optionally filtering them by a text query. | Needs your own key | Billed to your own Mistral ai key |
| List Files | Tool to list all files available to the user. | Needs your own key | Billed to your own Mistral ai key |
| List Judges | List saved observability judges with filtering, search, and pagination. | Needs your own key | Billed to your own Mistral ai key |
| List libraries | List all document libraries accessible to your organization. | Needs your own key | Billed to your own Mistral ai key |
| List Library Documents | List all documents in a Mistral AI document library. | Needs your own key | Billed to your own Mistral ai key |
| List library shares | List all sharing permissions for a document library. | Needs your own key | Billed to your own Mistral ai key |
| List Models | Tool to retrieve all available Mistral AI models including base models and fine-tuned models. | Needs your own key | Billed to your own Mistral ai key |
| List Voices | List saved voices without sample audio data. | Needs your own key | Billed to your own Mistral ai key |
| List Workflow Deployments | List workflow worker deployments, optionally filtering to active deployments or a workflow. | Needs your own key | Billed to your own Mistral ai key |
| List Workflow Events | List durable workflow lifecycle and task events with cursor pagination, filtered by a root workflow execution, workflow execution, or workflow run ID. | Needs your own key | Billed to your own Mistral ai key |
| List Workflow Registrations | List workflow registrations with sharing, activity, archival, and cursor filters. | Needs your own key | Billed to your own Mistral ai key |
| List Workflow Runs | List workflow runs with status, search, and cursor pagination filters. | Needs your own key | Billed to your own Mistral ai key |
| List Workflow Schedules | List workflow schedules with timing, time zone, and execution policy details. | Needs your own key | Billed to your own Mistral ai key |
| Query Workflow Execution | Invoke a read-only query handler on a running workflow execution. | Needs your own key | Billed to your own Mistral ai key |
| Reprocess document | Reprocess a document in a Mistral AI library (Beta). | Needs your own key | Billed to your own Mistral ai key |
| Restart Conversation | Tool to restart a conversation from a specific point (Beta). | Needs your own key | Billed to your own Mistral ai key |
| Retrieve File | Retrieve metadata of a file uploaded to Mistral AI. | Needs your own key | Billed to your own Mistral ai key |
| Search Chat Completion Events | Search observability chat completion events and return previews or only IDs. | Needs your own key | Billed to your own Mistral ai key |
| Start Conversation | Tool to start a new conversation with a Mistral AI agent or base model. | Needs your own key | Billed to your own Mistral ai key |
| Unarchive Fine-Tuned Model | Restore an archived fine-tuned model. | Needs your own key | Billed to your own Mistral ai key |
| Update Agent | Tool to update an existing agent's configuration. | Needs your own key | Billed to your own Mistral ai key |
| Update agent version | Tool to update the current version of an agent (Beta). | Needs your own key | Billed to your own Mistral ai key |
| Update Fine-Tuned Model | Update the name or description of a fine-tuned model. | Needs your own key | Billed to your own Mistral ai key |
| Update library | Tool to update an existing document library's properties. | Needs your own key | Billed to your own Mistral ai key |
| Update library document | Update the metadata of a document in a Mistral AI library. | Needs your own key | Billed to your own Mistral ai key |
| Upload File | Upload a file to Mistral AI for use in fine-tuning, batch processing, or OCR. | Needs your own key | Billed to your own Mistral ai key |
| Upload Library Document | Upload a document to a Mistral AI library for use with RAG-enabled agents. | Needs your own key | Billed to your own Mistral ai key |
How you pay for Mistral ai
- Your first $2 is freeIt's added to your Composio wallet when you turn on Instant.
- You pay for each callYou pay Mistral ai's price with 0% markup, plus the regular Composio tool call charge.
- Your own key comes firstIf you connect your own Mistral ai key, Composio uses it and doesn't charge Instant for those calls.
- You control the costYou can ask your agent to check with you before each paid call, and you can turn Instant off at any time.
- You can see each callYour wallet shows each call and what it cost.
- When your balance runs outYou can add funds to your wallet on a Pro plan or connect your own key.
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.Open my Composio wallet
Troubleshooting
1. CrewAI asks me for a Mistral ai API key
You may have asked for something that needs your own key, like Append to conversation, Archive Fine-Tuned Model, Count Chat Completion Field Options, Create Agent, Create Agents Completion, Create Audio Transcription and 98 more. Those tools don't run on Instant. For everything else, check that Instant is turned on in your Composio wallet, then ask again.
2. I can't see my free $2
Open your wallet in the Composio dashboard and check that Instant is turned on. If the $2 still isn't there, email support@composio.dev from the address you signed up with.
3. A Mistral ai call failed with a balance error
Your balance is empty. Add funds to your wallet on a Pro plan, or connect your own Mistral ai key, then try again.
How to build Mistral ai MCP Agent with another framework
Claude Code
Use Mistral ai MCP with Claude Code
Cursor
Use Mistral ai MCP with Cursor
ChatGPT
Use Mistral ai MCP with ChatGPT
Claude Cowork
Use Mistral ai MCP with Claude Cowork

Antigravity
Use Mistral ai MCP with Antigravity
OpenAI Agents SDK
Use Mistral ai MCP with OpenAI Agents SDK
Claude Agent SDK
Use Mistral ai MCP with Claude Agent SDK
Codex
Use Mistral ai MCP with Codex

Grok Build
Use Mistral ai MCP with Grok Build

VS Code
Use Mistral ai MCP with VS Code

OpenCode
Use Mistral ai MCP with OpenCode

OpenClaw
Use Mistral ai MCP with OpenClaw

Hermes
Use Mistral ai MCP with Hermes
Atomic Agent
Use Mistral ai MCP with Atomic Agent
Google ADK
Use Mistral ai MCP with Google ADK
LangChain
Use Mistral ai MCP with LangChain
Vercel AI SDK
Use Mistral ai MCP with Vercel AI SDK
Mastra AI
Use Mistral ai MCP with Mastra AI
LlamaIndex
Use Mistral ai MCP with LlamaIndex
Pydantic AI
Use Mistral ai MCP with Pydantic AI
AutoGen
Use Mistral ai MCP with AutoGen
Explore Other Toolkits
Composio
Composio is an integration platform that connects AI agents with hundreds of business tools. It streamlines authentication and lets you trigger actions across services—no custom code needed.
Composio search
Composio search is a unified web search toolkit spanning travel, e-commerce, news, financial markets, images, and more. It lets you and your apps tap into up-to-date web data from a single, easy-to-integrate service.
Perplexityai
Perplexityai delivers natural, conversational AI models for generating human-like text. Instantly get context-aware, high-quality responses for chat, search, or complex workflows.
Browser tool
Browser tool is a virtual browser integration that lets AI agents interact with the web programmatically. It enables automated browsing, scraping, and action-taking from any AI workflow.
Frequently asked questions
Not for the 1 tools that run on Instant. Composio runs those calls on its own Mistral ai account, and you only add Composio to your agent. The other 104 tools need your own Mistral ai key.
Yes. Every Composio account gets $2 of Instant credit once you turn on Instant, and you can use it on Mistral ai or on any other Instant toolkit.
You can get about 500 pages, about 500 images or about 50 documents. The price list on this page shows the cost of each tool.
Instant calls stop. You can add funds to your wallet on a Pro plan, or connect your own Mistral ai key.
You pay Mistral ai's price for each call with 0% markup, plus the regular Composio tool call charge.
Yes. Connect your key from the Mistral ai toolkit in your Composio dashboard. Composio always uses your own connection first, and it doesn't charge Instant for those calls.
You can use 1 of the 105 tools without a key, including Create OCR. The other 104 tools need your own Mistral ai key.
Composio is SOC 2 Type II compliant.
Start with Mistral ai.It takes 30 seconds.
New accounts get a one-time $2 starter credit for Instant calls.Run Mistral ai from your agent with no Mistral ai key.
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.Get $2 starter credit
