Skip to main content
Providers wrap Composio tools in the format expected by your AI framework. Composio supports 10+ popular AI frameworks out of the box.

What are Providers?

Providers transform Composio tools into framework-specific formats:
  • OpenAI: OpenAI function calling format
  • Anthropic: Claude tool use format
  • Vercel AI SDK: Vercel AI tool format
  • LangChain: DynamicStructuredTool
  • LlamaIndex: LlamaIndex tool format
  • Google GenAI: Google function declarations
  • Mastra: Mastra tool format
  • Cloudflare: Cloudflare Workers AI format

Quick Start

Available Providers

OpenAI

OpenAI GPT-4 and function calling

OpenAI Agents

OpenAI Agents SDK (Swarm)

Anthropic

Claude with tool use

Vercel AI SDK

Vercel AI SDK integration

LangChain

LangChain.js tools

LlamaIndex

LlamaIndex.TS tools

Google GenAI

Google Gemini integration

Mastra

Mastra.ai framework

Cloudflare

Cloudflare Workers AI

Custom Provider

Build your own provider

Provider Types

Agentic Providers

Agentic providers handle tool execution automatically:
  • LangChain: Tools execute when agents call them
  • LlamaIndex: Tools execute during agent runs
  • Vercel AI SDK: Tools execute in the AI SDK flow
  • Mastra: Tools execute in Mastra workflows

Non-Agentic Providers

Non-agentic providers require manual tool execution:
  • OpenAI: You handle tool calls from the response
  • Anthropic: You process tool_use blocks
  • Google GenAI: You handle function calls
  • Cloudflare: You process tool calls

Choosing a Provider

Provider Configuration

Some providers accept configuration options:

Multiple Providers

You can use multiple providers in the same application:

Default Provider

If no provider is specified, OpenAIProvider is used by default:

Next Steps

OpenAI Provider

Get started with OpenAI

Anthropic Provider

Use Claude with tools

Vercel AI SDK

Build with Vercel AI

Custom Provider

Create your own provider