Deepseek

Connect Integrations to
Deepseek

Build advanced AI agents with Deepseek. Connect 600+ integrations, automate workflows, and deploy with ease using Metorial.

Back to Deepseek overview

Using Different AI Models with Metorial

Metorial works with any model supported by Vercel's AI SDK. This guide shows you how to use different model providers while keeping access to all 600+ integrations.

Supported Providers

The AI SDK supports many providers out of the box:

  • OpenAI (GPT-4, GPT-4o, GPT-3.5)
  • Anthropic (Claude)
  • Google (Gemini)
  • Mistral
  • And many more

Metorial works with all of them.

Using OpenAI Models

import { openai } from '@ai-sdk/openai';
import { generateText } from 'ai';

await metorial.withProviderSession(
  metorialAiSdk,
  { serverDeployments: ['your-deployment-id'] },
  async session => {
    const result = await generateText({
      model: openai('gpt-4-turbo'),
      messages: [{ role: 'user', content: 'Your prompt here' }],
      tools: session.tools
    });
  }
);

Using Anthropic Claude

import { anthropic } from '@ai-sdk/anthropic';

const result = await generateText({
  model: anthropic('claude-3-5-sonnet-20241022'),
  messages: messages,
  tools: session.tools
});

Using Google Gemini

import { google } from '@ai-sdk/google';

const result = await generateText({
  model: google('gemini-1.5-pro'),
  messages: messages,
  tools: session.tools
});

Choosing the Right Model

Different models have different strengths:

  • GPT-4/GPT-4o: Excellent for complex reasoning and tool use
  • Claude 3.5 Sonnet: Great for analysis and following instructions
  • Gemini Pro: Strong multimodal capabilities
  • Smaller models: Faster and cheaper for simpler tasks

Model Configuration

You can pass additional parameters to customize model behavior:

const result = await generateText({
  model: openai('gpt-4-turbo'),
  messages: messages,
  tools: session.tools,
  temperature: 0.7,
  maxTokens: 2000,
  topP: 0.9
});

API Keys

Make sure you have API keys for your chosen provider:

OPENAI_API_KEY=your-openai-key
ANTHROPIC_API_KEY=your-anthropic-key
GOOGLE_GENERATIVE_AI_API_KEY=your-google-key

The AI SDK will automatically use these environment variables.

Deepseek on Metorial

Power your Deepseek AI agents with Metorial's extensive integration library featuring over 600 tools and services. Our MCP-powered platform makes it incredibly simple to connect Deepseek models to the APIs and services your applications need. With Metorial's TypeScript and Python SDKs, you can add integrations to your Deepseek-based agents in just a couple of lines of code, eliminating weeks of custom integration development. Whether you're building code assistants, data analysis tools, or intelligent automation with Deepseek's advanced models, Metorial provides instant connectivity to productivity tools, databases, communication platforms, and more. Our open-source, developer-first approach means you maintain full control while we handle the complexity of authentication, rate limiting, error handling, and API versioning. Focus your engineering resources on creating unique AI experiences rather than maintaining integration code. Join the growing community of developers who trust Metorial to handle their integration needs while they concentrate on innovation and delivering value to their users.

Connect anything. Anywhere.

Ready to build with Metorial?

Let's take your AI-powered applications to the next level, together.

About Metorial

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.

Star us on GitHub