- UseBuildFeaturesTRIGGERSStart background agents from events across your connected appsFIREWALLNEWBlocks instructions hidden in tool results before your agent reads themINSTANTNEWAudio, video, search, browser and data tools, with no keys to manageOPTIMIZATIONLower cost per completed task with optimised tools and skills
- DOCS
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.SIGN UP
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.LOG IN
Openai API
Give your agents access to Openai API. Bring your own Openai key, or skip the signup and pay per call from your Composio balance with Composio Instant.
Openai is a powerful AI platform offering advanced language, vision, and multimodal APIs. It's your gateway to building, managing, and scaling intelligent assistants and workflows.
What is Composio Instant?
Composio Instant lets your agent use paid APIs like Openai without a separate account or API key for each one. New accounts start with $2 of free credit.
Connect the Openai API to your AI assistant
Use Openai from the AI assistant you already work in. Connect Composio once, then paste the prompt.
- 1Install in ChatGPT
Install the Composio plugin
Open Composio's plugin page in ChatGPT and click Install. Sign in to ChatGPT first if it asks. - 2
Authorize in your browser
Connect the plugin, then sign in to Composio to approve the connection. - 3
Turn on Composio in your chat
In a new chat, click +, then More, and select Composio. - 4
Paste the prompt
Paste the prompt into that chat. ChatGPT runs the call on Composio Instant.
- 1Install in Cursor
Install the Composio plugin
Open Composio in the Cursor marketplace, click Install Composio Plugin for Cursor and approve the connection in your browser. - 2
Paste the prompt
Open the Agent chat and paste the prompt. Cursor runs the call on Composio Instant.
- 1Add to Grok Bot
Add the Composio plugin
Open Composio's listing on x.ai and click Add to Grok Bot. When Grok Bot opens the plugin, click Add. - 2
Authenticate
Go to Installed, open Composio and click Authenticate. Sign in to Composio and click Authorize. - 3
Paste the prompt
Paste the prompt into your bot's chat. Grok Bot runs the call on Composio Instant.
- 1
Paste the setup prompt
Copy this into your Hermes chat. Hermes adds the Composio MCP server for you.Set up Composio from composio.dev/hermes - 2
Authorize in your browser
A browser window opens. Sign in to Composio to approve the connection. - 3
Paste the prompt
Start a new chat and paste the prompt. Hermes runs the call on Composio Instant.
Paste this prompt
Use OpenAI through Composio Instant to evaluate this evidence: Photosynthesis is the process by which plants use sunlight, water, and carbon dioxide to make sugars and release oxygen. Does it support that photosynthesis stores energy in sugars? Return yes or no.
What success looks like
OPENAI_CREATE_DECISIONYour assistant runs OpenAI and replies with whether the evidence supports that photosynthesis stores energy in sugars.
Use the Openai API in your code
Call Openai from your own agent with the Composio SDK. Four steps and one tool call.
- 1
Set up Composio
Turn on Instant Toolkits in your project settings and check your prepaid balance in Billing. Then set your API key.export COMPOSIO_API_KEY="your_composio_api_key" - 2
Install the SDK
The Python SDK needs Python 3.11 through 3.15.The TypeScript SDK is ESM-only and needs Node.js 22.22.3 or newer.pip install composionpm install @composio/core - 3OPENAI_CREATE_DECISION
Run the call
Create a session that keeps Instant to this toolkit and reports the charge, then run the tool on the Instant account. - 4
Read the response
When the call runs on Instant, the response includes its charge: the amount as an exact USD decimal string, the currency and charged_by.
import { Composio } from "@composio/core";
const composio = new Composio();
const session = await composio.create("user_123", {
toolkits: ["openai"],
instant: {
toolkits: { enable: ["openai"] },
returnInstantCharge: true,
},
});
const result = await session.execute(
"OPENAI_CREATE_DECISION",
{
"input": "Photosynthesis is the process by which plants use sunlight, water, and carbon dioxide to make sugars and release oxygen.",
"model": "gpt-6-luna",
"questions": [
{
"type": "predicate",
"question": "Does the evidence support that photosynthesis stores energy in sugars?"
}
]
},
{ account: "instant_account" },
);
console.log(result);
console.log("Instant charge:", result.instantCharge);{
"data": "<decision result>",
"error": "<error or null>",
"successful": "<true or false>",
"instant_charge": {
"amount": "<usd amount>",
"currency": "USD",
"charged_by": "<provider>"
}
}Available Openai API tools
1 Openai tool runs on Instant, priced per call with no Openai key. Tools marked Your key need your own Openai account.
| Action | Tool slug | What it does | Availability |
|---|---|---|---|
| Create Decision | OPENAI_CREATE_DECISION | Evaluate evidence against typed questions and return decisions. | Instant$0.10 per 1M input tokens ($0.20 long context); cache and output free; $2 max. |
| Create Response | OPENAI_CREATE_RESPONSE | Generate a model response from text or image input. | Your key |
| Create Embeddings | OPENAI_CREATE_EMBEDDINGS | Turn text into embeddings with the OpenAI embeddings endpoint. | Your key |
| Generate Image | OPENAI_CREATE_IMAGE | Generate an image and return its URL and metadata. | Your key |
| Transcribe Audio | OPENAI_CREATE_AUDIO_TRANSCRIPTION | Convert an audio file to text, with optional timestamps. | Your key |
| Generate Speech | OPENAI_CREATE_SPEECH | Convert text to audio with the OpenAI Audio API. | Your key |
| Classify Content | OPENAI_CREATE_MODERATION | Classify text or image input for potentially harmful content. | Your key |
Instant prices are Openai's list prices with 0% markup, paid from your Composio balance and updated every hour. Instant calls also count toward your plan's tool calls. See all plans on the pricing page.
Openai API use cases and example prompts
Copy a prompt into your agent. Each one uses Openai with apps you connect through Composio.
Review launch readiness
Use OpenAI to evaluate the evidence in my Launch Readiness tracker in Google Sheets against its readiness questions. Add each decision to the tracker, then post a summary in Slack's #launch channel.
Apps used: Openai, Google Sheets, Slack
Turn review recordings into notes
Use OpenAI to transcribe the launch review recording in my Launch Reviews folder in Google Drive. Save the transcript as a document in Google Docs named Launch Review Notes.
Apps used: Openai, Google Drive, Google Docs
Create launch image assets
Use OpenAI to generate an image for the Acme product launch using the brief in my Launch Assets tracker in Google Sheets. Add the image URL to the tracker and post it in Slack's #launch channel.
Apps used: Openai, Google Sheets, Slack
Screen submitted campaign copy
Use OpenAI to classify the campaign copy files in my Review Queue folder in Google Drive for potentially harmful content. Add each file name and its classification to my Content Review tracker in Google Sheets.
Apps used: Openai, Google Drive, Google Sheets
Openai API troubleshooting
Still stuck? The Instant tools docs cover limits, charges and session settings.
Set model to gpt-6-luna in OPENAI_CREATE_DECISION.
Set response_format to verbose_json and request timestamp_granularities in OPENAI_CREATE_AUDIO_TRANSCRIPTION.
Check its availability in the tools table. If it runs on Instant, check that Instant Toolkits is on for your project, your session allows the action and you use the latest toolkit version.
Your Composio balance is empty. Add funds in Billing if your plan supports it, or connect your own Openai account.
Check credential_source and instant_charge in the Composio execution log.
Other tools on Instant
These tools also run on Composio Instant and use the same Composio balance.
Black Forest Labs
Black Forest Labs provides hosted FLUX models for generating and editing images and videos. It offers fast, flexible media creation with asynchronous processing and fine-tuning support.
Deepgram
Deepgram is an AI-powered speech recognition platform for accurate audio transcription and understanding. It enables fast, scalable speech-to-text with advanced audio intelligence features.
DeepSeek
DeepSeek offers AI-powered chat, search, and language model services. It delivers advanced conversational and information retrieval tools for smarter workflows.
Fal.ai
Fal.ai is a generative media platform offering 600+ AI models for images, video, voice, and audio. Developers use Fal.ai for fast, scalable access to cutting-edge generative AI tools.
Start with Openai.It takes 30 seconds.
Managed auth, hosted MCP servers, and every Openai tool your agent needs.Free to start.
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.Start building

