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.
Links
Metadata
Release files for composio-openai-agents 0.29.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| composio_openai_agents-0.29.0.tar.gz | 7.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| composio_openai_agents-0.29.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.8 kB
Release files / composio_openai_agents-0.29.0.tar.gz
| Download URL | composio_openai_agents-0.29.0.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
503adc0fba6c3340a4e62c5834969696eab2142361dbb47d900534a6ad109427
|
|
BLAKE2b-256 checksum How to use checksums |
f4225d485b95ed430a744f24593cfc13ebf80112f1887303bd0e00e1282fb9fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / composio_openai_agents-0.29.0-py3-none-any.whl
| Download URL | composio_openai_agents-0.29.0-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f59d48677f16bf11dc1d440847d4c5b4c68af7a8f6aa8de7ad446bf99467b7ee
|
|
BLAKE2b-256 checksum How to use checksums |
5664958d3d0be53201c22c025926960c9e67e7182c2dd5ac11d59370fd7bf25d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for composio-openai-agents 0.29.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.