Adaptive runtime for knowledge work agents

Connect your agent to apps and tools so it can find information, update records and run code. Composio handles auth, tool search and execution.

~/your-agent
Waiting for your agent · 0 of 4
  • AWS
  • Google
  • Kimi
  • Zoom
  • Wix
  • Nous Research
  • Emergent
  • Island
  • Athena
  • Hostinger
  • Arizona State University
  • ClickFunnels

Connect the accounts your agent needs

Composio handles OAuth and token refresh, supporting multiple accounts for the same app with credentials scoped to each user.

~/your-agent
❯send the report from our work Gmail, then a copy to me from my personal account
Gmail "personal" isn't connected. Opening the authorization page in your browser.
connect.composio.dev/link/lk_8f2a9cauthorized
active connections
alex@gmail.compersonal
ops@acme.comwork
finance@acme.comwork
eng@acme.com

Your agent gets its own computer

Browsers and sandboxes to run your tasks. Built to scale, optimised for cost and reliability.

Run tasks across the web, including sites without APIs.

Become a vendor · Acme
portal.acme.com/vendors/newA
AcmeSuppliersOrdersHelpSign in
Become an Acme vendorTell us who you are and what you supply.
CompanyComposio
Emailvendors@composio.dev
CategorySoftware
Submitted · VND-2291
Thanks. Acme reviews new vendors within two business days.

Run code and process files in isolation. Bring only the results your agent needs into context.

sandbox_a · crunch the contacts
exit 0
out/hot_leads.csv37 rows
companyownerscore
Acme Corpdana96
Globexlee93
Initechsam91
Umbrellaana88
Hooliraj86
Vandelaykim84
Soylentjoe81
Wonkamei79
+ 29 more rows
fetch contacts1,480 · 3 pages
research companies1,480 enriched
score leads37 hot
sandbox reaped · snapshotted1,480 / 1,480

Find tools and guidance for each task

Your agent describes a task, searches for matching tools and follows any returned plan. Composio handles account connections and tool execution.

~/your-agent
❯Summarize everything important from Slack in the last 48 hours and send a digest to #daily-digest
Working…
Sessionuser_123
  1. COMPOSIO_SEARCH_TOOLS

    3 tools
  2. SKILL.MD

    slack-digest
  3. COMPOSIO_MANAGE_CONNECTIONS

    Slack connected
  4. COMPOSIO_SANDBOX

    2,480 msgs
  5. COMPOSIO_EXECUTE_TOOL

    200 OK

Triggers for your background agents

Subscribe to events across connected apps. Composio delivers them to one endpoint, with retries built in.

GmailNew email
DL
Dana Leedana@acme.com
10:42

A demo for our sales team

Hi, can we set up a demo for Acme’s sales team next week?

GMAIL_NEW_GMAIL_MESSAGE
Your handler200 OK
POST /api/events
~/background-agent
Done

New email → run_82b1

⏺HUBSPOT_CREATE_CONTACT
⏺SLACK_SEND_MESSAGE

Contacts

Dana Lee · Acme

Created
#salesPosted

New inbound from Dana Lee at Acme. Contact added to HubSpot.

Give your agent access to paid tools

Search, scrape, enrich and generate without separate provider accounts or API keys. Pay per tool call from a single wallet.

~/your-agent
❯Research tomorrow’s prospects and make a short audio brief on each company before my calls.
⏺EXA_SEARCH$0.005
⏺FIRECRAWL_SCRAPE$0.01
⏺APOLLO_PEOPLE_ENRICHMENT$0.03
⏺ELEVENLABS_TEXT_TO_SPEECH$0.05

Audio briefs for all 3 prospects are ready in prospects.mp3.

WalletAvailable balance$18.37−$0.05 · ELEVENLABS_TEXT_TO_SPEECH
  • EXA_SEARCH$0.005 / call
  • FIRECRAWL_SCRAPE$0.01 / call
  • APOLLO_PEOPLE_ENRICHMENT$0.03 / call
  • ELEVENLABS_TEXT_TO_SPEECH$0.05 / call
This task $0.095Illustrative costs
Animated demo. An agent asks for research on tomorrow's prospects and an audio brief. It makes paid Instant tool calls for search, enrichment and audio generation. A price board lists the illustrative cost of each call and a wallet balance drops as each call completes. Instant calls run on Composio's provider accounts and charge the organization's Composio balance.

Skills that improve with execution

A skill is a read-only playbook for a task: the tools to use, in what order, and what to avoid. It comes back with matching tool searches.

~/your-agent
❯When a HubSpot deal closes, invoice it, start onboarding and tell #sales
⏺COMPOSIO_SEARCH_TOOLS
skill: Closed-won deal handoff
⏺HUBSPOT_GET_DEAL
step 01 done, following the guide
closed-won-deal-handoff/SKILL.md
  1. 01

    HUBSPOT_GET_DEAL

  2. 02

    STRIPE_LIST_CUSTOMERS

  3. Fallback

    If they aren't in Stripe yet

    Create them with STRIPE_CREATE_CUSTOMER.

  4. 03

    STRIPE_CREATE_INVOICE

    WarningNew invoices start as drafts; finalize one before it can be paid.

  5. 04

    ASANA_GET_MULTIPLE_PROJECTSASANA_CREATE_A_TASK

  6. 05

    SLACK_SEND_MESSAGE

slack-catch-up-digest/SKILL.md
book-a-meeting-from-an-email/SKILL.md
Animated demo. A coding agent receives tasks such as closing a HubSpot deal. For each task, Composio returns a SKILL.md playbook listing the steps, the tools to call in order and known pitfalls. The agent then makes the tool calls in that order.

A firewall that understands intent

Composio checks tool results for prompt injections and agent actions against the user’s request, with rules you set per session.

How Firewall works
GMAIL_FETCH_EMAILSDana Lee · Re: Q3 invoice, attachedin
firewall
full response· Q3 board deckclean
1{
2 "tool": "NOTION_FETCH_PAGE",
3 "source": "Q3 board deck",
4 "content": [
5 "Comments resolved, ready for review.",
6 "Final numbers are in the appendix."
7 ]
8}
clean · passed to your agent
~/your-agent
GMAIL_FETCH_EMAILS
Animated demo. An agent triages an inbox. Composio Firewall sits between the agent and its tools and reads each tool call and each tool result. A result carrying a hidden instruction, such as an email telling the agent to forward every invoice to an outside address, is blocked whole before the agent sees it. Safe results pass through.

Observability for every tool call

Every step of execution, linked in one trace you can query.

~/your-agent
❯Qualify the demo request from dana@acme.com and post it to #sales
⏺GMAIL_NEW_GMAIL_MESSAGE
⏺COMPOSIO_SEARCH_TOOLS
⏺COMPOSIO_MANAGE_CONNECTIONS
⏺EXA_SEARCH
⏺COMPOSIO_REMOTE_WORKBENCH
⏺BROWSER_TOOL_CREATE_TASK
⏺SLACK_SEND_MESSAGE✕
session_id == trs_8f2k9x9 steps
surface
App tools
status
failed
duration
190 ms
user_id
user_123
session_id
trs_8f2k9x
trace_id
7c1e04b2
credential
connected_account
source
openai-agents · typescript

Swap the model without losing connections, rules or history

More
$npm install @composio/core @composio/openai openai
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({
  apiKey: process.env.COMPOSIO_API_KEY,
  provider: new OpenAIResponsesProvider(),
});
const client = new OpenAI({ apiKey: process.env.OPENAI_API_KEY });

// Replace with your authenticated, stable application user ID.
const session = await composio.create("user_123");
const tools = await session.tools();

const response = await client.responses.create({
  model: "gpt-6-astra",
  tools,
  input: "List my GitHub repositories.",
});
Setup & execution
  • Run OpenAI code on your server. Set COMPOSIO_API_KEY from project Settings → API Keys and OPENAI_API_KEY from OpenAI. Keep both keys out of browser code.
  • user_123 is your stable application user ID, not a Composio login or session ID. Derive it from your authenticated user.
  • This requests a response, not tool execution. Continue with the full tool-call loop.

Frequently asked questions

What is a skill?

A read-only execution playbook for one task: which tools to call, in what order, and what to watch for. Composio returns matching skills with COMPOSIO_SEARCH_TOOLS results. It derives them from real usage, so there is nothing to install or configure and no API for writing your own. Plans and pitfalls appear only when a skill matches the task.

What does Firewall check?

Firewall screens tool calls before they run and tool results after. Add before_execute or after_execute session hooks to block content that matches a natural-language condition, or to detect prompt injection in a result. A check after execution cannot undo the call. Firewall is available on paid plans.

How do user approvals differ from Firewall?

Approvals ask the user before a tool runs. They are experimental and configured separately, with session rules for specific tools or tool hints. With session.execute(), show the returned questions using their schema, then resend the same call with the answers and request state. Approvals need composio > 0.27.0 or @composio/core > 0.24.0. Workbench and Bash scripts can skip approval checks, so disable the sandbox for strict gating. Proxy execution is disabled for affected toolkits, and SDK framework providers do not handle approvals yet.

What do Instant credits cover?

Supported paid tool calls such as search, scraping, enrichment and audio. Instant runs them on Composio's provider accounts, so your users need no provider accounts or API keys of their own. Credits are balance for those calls, not a platform plan.

Who pays for Instant calls, and is there a spending cap?

Instant calls charge your organization's Composio balance. Enable Instant Toolkits in project Settings and check the balance under Billing. There is no built-in per-session dollar cap, and a prepaid balance is not a hard spending limit.

Ship your agent in minutes with Composio