Skip to main content
Corsair provides first-class adapters for the most popular AI SDKs and agent runtimes. Each adapter exposes Corsair’s tools in the format that framework expects — no manual schema wiring required.

Available Adapters

AdapterUse case
Anthropic SDKNative tool use with Claude models
Claude Agent SDKIn-process MCP with the Claude Agent SDK
OpenAI AgentsOpenAI Agents SDK tool integration
OpenAIOpenAI function calling
Vercel AI SDKTools for useChat and streamText
MastraMastra agent tool integration

Coding Agents

For coding agents that use the MCP stdio protocol, see the Coding Agents section.

Tools

Every adapter exposes the same four tools automatically:
ToolWhat it does
corsair_setupCheck auth status and get credential instructions
list_operationsDiscover every available API endpoint
get_schemaInspect parameters for a specific endpoint
run_scriptExecute a JS snippet with corsair in scope
Your agent calls corsair_setup first, then list_operations to discover what’s available, then run_script to execute. No code changes needed as you add plugins.

How the agent uses Corsair

Once connected, your agent follows this pattern automatically:
1. corsair_setup          → check auth, get instructions for missing credentials
2. list_operations        → discover available endpoints (github.repositories.list, slack.messages.post, ...)
3. get_schema             → inspect parameters for a specific endpoint
4. run_script             → execute: const repos = await corsair.github.api.repositories.list({ type: 'owner' })
No hard-coding required. As you add plugins, the agent discovers the new endpoints automatically.