Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
| 1 | """ |
| 2 | Setup configuration for compsio core. |
| 3 | """ |
| 4 | |
| 5 | from pathlib import Path |
| 6 | |
| 7 | from setuptools import find_packages, setup |
| 8 | |
| 9 | |
| 10 | setup( |
| 11 | name="composio", |
| 12 | author="Composio", |
| 13 | author_email="tech@composio.dev", |
| 14 | description="Core package to act as a bridge between composio platform and other services.", |
| 15 | long_description=(Path(__file__).parent / "README.md").read_text(encoding="utf-8"), |
| 16 | long_description_content_type="text/markdown", |
| 17 | url="https://github.com/composiohq/composio", |
| 18 | classifiers=[ |
| 19 | "Programming Language :: Python :: 3", |
| 20 | "License :: OSI Approved :: Apache Software License", |
| 21 | "Operating System :: OS Independent", |
| 22 | ], |
| 23 | python_requires=">=3.11,<3.16", |
| 24 | packages=find_packages(include=["composio*"]), |
| 25 | # Keep in sync with pyproject.toml, which explains the upper bounds. |
| 26 | install_requires=[ |
| 27 | # Unmaintained since 2022: pin exactly. websocket-client is its transport. |
| 28 | "pysher==1.0.8", |
| 29 | "websocket-client<2", |
| 30 | "pydantic>=2.11.9,<3", |
| 31 | "composio-client==2.1.36", |
| 32 | "typing-extensions>=4.16.0,<5", |
| 33 | "openai>=2.48.0,<4", |
| 34 | "json-schema-to-pydantic>=0.4.11,<1", |
| 35 | "jsonschema>=4.23.0,<5", |
| 36 | # `get_connection_with_tls_context` (the pinning adapter's mount |
| 37 | # point) is only called by `HTTPAdapter.send` on requests >= 2.32.2. |
| 38 | # 2.32.4 fixes GHSA-9hjg-9r4m-mvj7 (.netrc credentials leak). |
| 39 | "requests>=2.32.4,<3", |
| 40 | # `url_safety` imports urllib3 directly and needs 2.x: 1.x has no |
| 41 | # `NameResolutionError` and different connection internals. |
| 42 | # 2.7.0 fixes GHSA-mf9v-mfxr-j63j and GHSA-qccp-gfcp-xxvc. |
| 43 | "urllib3>=2.7.0,<3", |
| 44 | # `requests` verifies TLS against certifi's bundle. 2026.10.19 drops |
| 45 | # the emSign ECC Root CA - G3 root (compromised eMudhra intermediates). |
| 46 | # No upper bound: a cap would block future CA bundle updates. |
| 47 | "certifi>=2026.10.19", |
| 48 | ], |
| 49 | include_package_data=True, |
| 50 | ) |