composio-openai-agents-1.0.0rc9
1.0.0rc9
1.0.0rc8
1.0.0rc7
1.0.0rc6
1.0.0rc5
1.0.0rc4
1.0.0rc2
1.0.0rc10
1.0.0rc1
0.9.5rc3
0.9.5rc2
0.9.5rc1
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.9
0.8.8
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
0.8.20
0.8.2
0.8.19
0.8.16
0.8.15
0.8.14
0.8.13
0.8.12
0.8.11
0.8.10
0.8.1
0.8.0
0.7.9
0.7.8
0.7.7
0.7.20
0.7.19rc1
0.7.19
0.7.18
0.7.17
0.7.16rc1
0.7.16
0.7.15
0.7.14
0.7.13
0.7.12
0.7.11
0.7.10
0.11.1
0.11.0
0.10.9
0.10.8
0.10.7
0.10.6
0.10.5
0.10.4
0.10.3
0.10.2
0.10.10
0.10.1
0.10.0
1.0.0rc9
1.0.0rc8
1.0.0rc7
1.0.0rc6
1.0.0rc5
1.0.0rc4
1.0.0rc2
1.0.0rc10
1.0.0rc1
0.9.5rc3
0.9.5rc2
0.9.5rc1
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.9
0.8.8
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
0.8.20
0.8.2
0.8.19
0.8.16
0.8.15
0.8.14
0.8.13
0.8.12
0.8.11
0.8.10
0.8.1
0.8.0
0.7.9
0.7.8
0.7.7
0.7.20
0.7.19rc1
0.7.19
0.7.18
0.7.17
0.7.16rc1
0.7.16
0.7.15
0.7.14
0.7.13
0.7.12
0.7.11
0.7.10
0.11.1
0.11.0
0.10.9
0.10.8
0.10.7
0.10.6
0.10.5
0.10.4
0.10.3
0.10.2
0.10.10
0.10.1
0.10.0
توضیحات
Use Composio to get array of strongly typed tools for OpenAI Agents
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | composio-openai-agents-1.0.0rc9 |
| نام | composio-openai-agents |
| نسخه کتابخانه | 1.0.0rc9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Composio |
| ایمیل نویسنده | Composio <tech@composio.dev> |
| آدرس صفحه اصلی | https://github.com/ComposioHQ/composio |
| آدرس اینترنتی | https://pypi.org/project/composio-openai-agents/ |
| مجوز | - |
# Composio Integration for OpenAI Agents
This package integrates the OpenAI Agents framework with Composio, allowing you to use Composio's rich set of tools with the OpenAI Agents framework.
## Installation
```bash
pip install composio_openai_agents
```
## Usage
```python
import asyncio
import dotenv
from agents import Agent, Runner
from composio_openai_agents import Action, ComposioToolSet
# Load environment variables from .env
dotenv.load_dotenv()
# Initialize Composio toolset
composio_toolset = ComposioToolSet()
# Get all the tools
tools = composio_toolset.get_tools(actions=[Action.GITHUB_STAR_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER])
# Create an agent with the tools
agent = Agent(
name="GitHub Agent",
instructions="You are a helpful assistant that helps users with GitHub tasks.",
tools=tools,
)
# Run the agent
async def main():
result = await Runner.run(agent, "Star the repository composiohq/composio on GitHub")
print(result.final_output)
asyncio.run(main())
```
## Features
- Seamlessly integrate Composio's tools with OpenAI Agents
- Access hundreds of pre-built API integrations
- Maintain consistent schema formats between frameworks
- Error handling for validation issues
- Proper type annotations that work with mypy and pylance
## Requirements
- Python 3.9+
- OpenAI Agents framework
- Composio (with valid API key)
## License
Apache 2.0
نیازمندی
| مقدار | نام |
|---|---|
| - | openai-agents>=0.0.3 |
| - | composio |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| <4,>=3.9 | Python |
نحوه نصب
نصب پکیج whl composio-openai-agents-1.0.0rc9:
pip install composio-openai-agents-1.0.0rc9.whl
نصب پکیج tar.gz composio-openai-agents-1.0.0rc9:
pip install composio-openai-agents-1.0.0rc9.tar.gz