Skip to main content

composio-google-adk

Adapts Composio tools to Google ADK FunctionTool objects, so your ADK agents can take action across 1000+ apps.

Installation

pip install composio composio-google-adk google-adk

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

Quickstart

from composio import Composio
from composio_google_adk import GoogleAdkProvider
from google.adk.agents import Agent
from google.adk.runners import Runner
from google.adk.sessions import InMemorySessionService
from google.genai import types

composio = Composio(provider=GoogleAdkProvider())

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

agent = Agent(
    name="personal_assistant",
    model="gemini-2.0-flash",
    instruction="You are a helpful assistant. Use Composio tools to take action.",
    tools=tools,
)

session_service = InMemorySessionService()
session_service.create_session_sync(
    app_name="personal_assistant",
    user_id="user_123",
    session_id="1234",
)
runner = Runner(
    agent=agent,
    app_name="personal_assistant",
    session_service=session_service,
)

events = runner.run(
    user_id="user_123",
    session_id="1234",
    new_message=types.Content(
        role="user",
        parts=[types.Part(text="Star the repository composiohq/composio on GitHub")],
    ),
)
for event in events:
    if event.is_final_response() and event.content and event.content.parts:
        print(event.content.parts[0].text)

For multi-turn use, store composio_session.session_id and reuse it with composio.use(session_id) instead of calling create() again.

How tools are wrapped

GoogleAdkProvider turns each Composio tool into a google.adk.tools.FunctionTool with a Python signature and docstring generated from the tool's schema, so ADK can pass them to Gemini as regular function declarations.

Metadata

Release files for composio-google-adk 0.29.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-google-adk 0.29.0
File Size Uploaded Provenance
composio_google_adk-0.29.0.tar.gz 4.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for composio-google-adk 0.29.0
File Interpreter ABI Platform
composio_google_adk-0.29.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / composio_google_adk-0.29.0.tar.gz

Download URL composio_google_adk-0.29.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4355998d5ad22c045d72e796d37a37460f676340dcc5f76094e0fb59f5c363bf
BLAKE2b-256 checksum
How to use checksums
935bcacf1fbc3ba71581b33c8aae3aada49679c4d591c4b28207296e04590543
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / composio_google_adk-0.29.0-py3-none-any.whl

Download URL composio_google_adk-0.29.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5411601395474c39883a8cf4adc4696a527c6d3a18e3e1d6e2d40c4cb1ac0026
BLAKE2b-256 checksum
How to use checksums
9d4cc0c6b185161d245bd8bc6113c9214ed265f1dc0284b67c7f007f7e432538
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for composio-google-adk 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.

Release history Release notifications | RSS feed

This release

0.29.0 This release

2 release files No 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