Tools/corsairdev/corsair

corsair

Your Agent's Integration Layer

15.6k ★growthTypeScriptApache License 2.0 →trending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Oct 2026

Corsair is a TypeScript library that connects your product, or the AI agent inside it, to your users' Gmail, Slack, Notion, GitHub and hundreds of other apps with one syntax. It handles OAuth, token refresh, webhooks and per-user credentials, and your agent never sees the API keys. Apache 2.0, and the full SDK self-hosts free.

Self-hosting means it runs inside your app on SQLite or Postgres, not a separate server. You build the connect, OAuth callback and approval pages yourself. The permission model is the best part: each integration gets a mode (open, cautious or strict), destructive calls can wait on a single-use approval link, and one flag isolates every user's data.

Hub, the hosted option, builds those pages. Hobby is $0 for 50 connections, 100k webhook events and 3 team members; Pro is $200/mo for unlimited. Solo: free. Small teams: free until 50 connections or 3 people. Larger teams: Pro, or self-host. Composio and Nango sell the same layer.

The catch: it's a 0.1.x package in a repo about a year old, and an approval gate only works if each endpoint's risk level is labeled right. Check the endpoints you rely on before giving it production accounts.

Free vs Self-Hosted vs Paid

free self hosted paid cloud

Free: The full SDK under Apache 2.0: every integration plugin, the open/cautious/strict permission modes, approval flow, multi-tenancy and per-tenant caching. Corsair's site says "Run the full SDK on your own infrastructure at no cost. No per-seat pricing." Hub Hobby is also $0/mo: unlimited tool calls, 50 connections, 100k webhook events, unlimited managed permission and auth pages, up to 3 team members, Corsair branding on the consent screen, Discord community support. No credit card required.

Self-hosted: "Manual" mode. Corsair runs inside your app (npm packages per integration) and stores data in five tables in SQLite or PostgreSQL, with credentials encrypted under a key (KEK) you generate. Lose the KEK and you lose every stored credential. You build and host the connect page, the OAuth callback route (one per environment, registered with each provider) and the approval review page. Without the permissions table, any endpoint that needs approval falls back to deny.

Paid: Hub Pro is $200/mo (listed monthly; no annual option shown): unlimited connections, webhooks and team members, custom consent-screen branding, Slack support, and custom integrations built by the Corsair team. Enterprise is custom. On Hub, your users' tokens still land in your database; Hub keeps your app's OAuth client ID and secret, not your tenants' tokens.

Self-hosting the full SDK is free, but you build the connect and approval pages. Hub is $0 up to 50 connections and 3 team members, then $200/mo Pro with nothing in between.

What to do by team size

Solo
free; Hobby covers 50 connections, or self-host
Small team
free on Hobby until you pass 50 connections or 3 team members
Medium team
Pro at $200/mo, or self-host and build the connect and approval pages yourself
Large team
Enterprise for custom limits and support, or self-host when no OAuth hop can leave your domain
Self-hosting ops:moderate

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Similar Tools

Score
86/100 · A
Adoption25/30
Maintenance25/25
Community11/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

High adoption: 10,376 starsCommunity discussions enabledOrganization account (5 public repos)

License: Apache License 2.0

GitHub reports NOASSERTION; the LICENSE file is Apache 2.0.

Commercial use: ✓ Yes

About

Owner
corsairdev (Organization)
Stars
15,604
Forks
733

Explore Further

More tools in the directory