--- id: composio-openai version: "0.19.0" license: unclear license_treatment: permissive maintenance: active --- # composio-openai — Use Composio to get an array of tools with your OpenAI Function Call. License: permissive · Maintenance: active · Downloads: 98.0K/mo ## What it is and what it does composio-openai is a provider adapter that connects Composio's tool catalog to OpenAI's function calling interface. It exports two providers: OpenAIResponsesProvider for the Responses API and OpenAIProvider for Chat Completions. Both operate in a non-agentic loop: the model returns tool calls, you execute them via handle_tool_calls, and feed results back to the API until the model responds with text. The package handles the translation between Composio's tool definitions and OpenAI's function-calling schema, managing session state and tool execution across multiple API rounds. It depends on openai and composio at runtime, requiring both an OpenAI API key and a Composio API key for operation. Use it for: - Build an LLM agent that sends emails, manages calendars, or performs other SaaS actions by routing OpenAI function calls through Composio's integration library. - Implement a multi-turn conversation where an LLM autonomously decides which tools to invoke and processes their results without manual intervention. - Prototype rapid integrations between OpenAI's chat models and third-party APIs by leveraging Composio's pre-built tool connectors. - Create a customer support bot that uses OpenAI to understand intent and Composio tools to fetch account data, create tickets, or send notifications. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Bridges Composio's tool ecosystem to OpenAI's function calling APIs, enabling LLM-driven tool execution through both the Responses API and Chat Completions. Yes. The package is actively maintained, has low install friction, carries a permissive license, and solves a clear integration problem—connecting OpenAI function calling to Composio's tool ecosystem. It has no known vulnerabilities. Install if you need to route OpenAI function calls through Composio's integrations. ## Install pip install composio-openai uv add composio-openai poetry add composio-openai ## Installing composio-openai Before you install: Low install friction with a pure-Python wheel. Actively maintained—last commit 2026-08-14, released 2026-08-11—and backed by a well-starred repository. Requires Python 3.10 or later. License in practice: Licensed under Apache Software License (permissive), imposing no significant restrictions on use or redistribution. Quickstart: pip install composio composio-openai openai from composio_openai import OpenAIResponsesProvider from composio import Composio from openai import OpenAI composio = Composio(provider=OpenAIResponsesProvider()) client = OpenAI() session = composio.create(user_id="user_123") tools = session.tools() response = client.responses.create(model="gpt-5.2", tools=tools, input=[...]) Requires COMPOSIO_API_KEY and OPENAI_API_KEY environment variables to be set. Verify before relying: - Whether the package supports OpenAI models other than those mentioned in the quickstart example. - Performance characteristics when handling large numbers of concurrent tool calls. - Compatibility guarantees with future OpenAI API versions. ## Package facts - License: not declared (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 98.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags openai function calling tools, composio openai integration, llm tool execution framework, openai api tool adapter, composio provider for openai, llm-integration, tool-calling, openai-adapter [View on SkillFed](https://skillfed.io/packages/composio-openai) · [View on PyPI](https://pypi.org/project/composio-openai/)