Skip to main content

composio-openai-agents

Adapts Composio tools to the OpenAI Agents framework's native tool format, so your agents can take action across 1000+ apps.

Installation

pip install composio composio-openai-agents openai-agents

Set COMPOSIO_API_KEY (from the dashboard) and OPENAI_API_KEY in your environment.

Quickstart

from composio import Composio
from composio_openai_agents import OpenAIAgentsProvider
from agents import Agent, Runner

composio = Composio(provider=OpenAIAgentsProvider())

# Each session is scoped to one of your users
session = composio.create(user_id="user_123")
tools = session.tools()

agent = Agent(
    name="Personal Assistant",
    instructions="You are a helpful assistant. Use Composio tools to take action.",
    tools=tools,
)

result = Runner.run_sync(starting_agent=agent, input="Summarize my emails from today")
print(result.final_output)

By default a session gets meta tools that discover, authenticate, and execute app tools at runtime. For multi-turn use, store session.session_id and reuse it with composio.use(session_id) instead of calling create() again.

Metadata

Release files for composio-openai-agents 0.31.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for composio-openai-agents 0.31.0
File Size Uploaded Provenance Actions
composio_openai_agents-0.31.0.tar.gz 7.4 kB With provenance Details for composio_openai_agents-0.31.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for composio-openai-agents 0.31.0
File Interpreter ABI Platform Actions
composio_openai_agents-0.31.0-py3-none-any.whl Python 3 none any Details for composio_openai_agents-0.31.0-py3-none-any.whl

Total release size: 12.8 kB

Release files / composio_openai_agents-0.31.0.tar.gz

Download URL composio_openai_agents-0.31.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
32e4f4cdbf6c60d422710f15a03541d71e83da7c7be26ace523f92e398961f80
BLAKE2b-256 checksum
How to use checksums
5bab80a5437491d9906b73df3accf31dc2f04c2085bda95caac5b8557a6156cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / composio_openai_agents-0.31.0-py3-none-any.whl

Download URL composio_openai_agents-0.31.0-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10465e4d55edba0a1a0c7598c6cce7ba9452afe2e8b8a3fa5752359b921448e9
BLAKE2b-256 checksum
How to use checksums
1a31881904f6a9e9b2317e439c3495c3096f7172603b9dbe3a963bed9c33e442
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Security for composio-openai-agents 0.31.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for composio_openai_agents-0.31.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.31.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page