Build advanced AI agents with Mistral. Connect 600+ integrations, automate workflows, and deploy with ease using Metorial.
Learn how to use Metorial's 600+ integrations as tools in your AI SDK applications.
When you create a provider session with Metorial, all configured integrations become available as tools:
import { metorialAiSdk } from '@metorial/ai-sdk';
import { Metorial } from 'metorial';
import { openai } from '@ai-sdk/openai';
import { generateText } from 'ai';
const metorial = new Metorial({
apiKey: 'your-metorial-api-key'
});
await metorial.withProviderSession(
metorialAiSdk,
{ serverDeployments: ['your-server-deployment-id'] },
async session => {
// session.tools contains all available integrations
const result = await generateText({
model: openai('gpt-4'),
tools: session.tools,
prompt: 'Create a new issue in GitHub for the bug I just described'
});
console.log(result.text);
}
);
The AI SDK supports streaming responses with Metorial tools:
import { streamText } from 'ai';
await metorial.withProviderSession(
metorialAiSdk,
{ serverDeployments: ['your-server-deployment-id'] },
async session => {
const result = streamText({
model: openai('gpt-4'),
tools: session.tools,
prompt: 'Summarize my recent emails and create calendar events for follow-ups'
});
for await (const chunk of result.textStream) {
process.stdout.write(chunk);
}
}
);
The AI SDK automatically handles multi-step tool calling. Your AI agent can use multiple tools in sequence:
const result = await generateText({
model: openai('gpt-4'),
tools: session.tools,
maxSteps: 10, // Allow up to 10 tool calls
prompt: 'Check my calendar, find free time this week, and schedule a meeting with the team'
});
Metorial automatically manages:
You just focus on building your AI application!
Connect Mistral AI to over 600 integrations with Metorial's developer-friendly platform built on the Model Context Protocol. Our open-source SDKs for Python and TypeScript make it effortless to give your Mistral-powered agents access to productivity tools, databases, APIs, and services without writing complex integration code. Add capabilities like calendar management, email automation, CRM access, and data retrieval to your Mistral applications in just a couple of lines of code. Metorial handles all the integration complexity—authentication, API calls, error handling, and maintenance—so you can focus on creating intelligent agent behaviors and exceptional user experiences. Whether you're building conversational AI, document analysis tools, or workflow automation with Mistral's efficient and powerful language models, Metorial provides the infrastructure to connect your agents to real-world tools seamlessly. Our MCP-native approach ensures your integrations are standardized, maintainable, and easy to extend. Stop spending valuable engineering time on integration plumbing and start shipping AI features that matter to your users.
Let's take your AI-powered applications to the next level, together.
Metorial provides developers with instant access to 600+ MCP servers for building AI agents that can interact with real-world tools and services. Built on MCP, Metorial simplifies agent tool integration by offering pre-configured connections to popular platforms like Google Drive, Slack, GitHub, Notion, and hundreds of other APIs. Our platform supports all major AI agent frameworks—including LangChain, AutoGen, CrewAI, and LangGraph—enabling developers to add tool calling capabilities to their agents in just a few lines of code. By eliminating the need for custom integration code, Metorial helps AI developers move from prototype to production faster while maintaining security and reliability. Whether you're building autonomous research agents, customer service bots, or workflow automation tools, Metorial's MCP server library provides the integrations you need to connect your agents to the real world.