Connections

Let your agent connect any OAuth account

Connect Gmail, calendars, and other OAuth services on behalf of agents. Credentials are vaulted and scoped per user.

Run in your agent

Paste and ship

Drop this prompt into Cursor, Claude Code, or any coding agent. It reads the skill manifest and wires up Connections for you.

Agent prompt

Read https://usenaive.ai/skill.md and use the Naïve Connections primitive in my project. Start with: naive connections connect gmail

Drop into any agent

In action

Autonomous OAuth connections to third-party services.

  • OAuth flowsAgents connect without human copy-paste.
  • Per-user scopeMulti-tenant safe by default.
  • Vault-backedTokens stored encrypted.
  • Refresh handlingNaïve manages token rotation.
Exact code

One call to connections

Same primitive from the CLI, SDK, or REST — one bearer token, one credit balance.

CLI

Connections

Connect Gmail, calendars, and other OAuth services on behalf of agents. Credentials are vaulted and scoped per user.

OAuth flows
Agents connect without human copy-paste.
Per-user scope
Multi-tenant safe by default.
Vault-backed
Tokens stored encrypted.
Refresh handling
Naïve manages token rotation.
# Run with your API key exported
$ naive connections connect gmail

Related primitives

Start building with Connections

Get your API key and add connections to any agent in minutes — no infrastructure to run.