Skip to main content

Arcade Integration for Google ADK

Project description

Arcade Integration for OpenAI Agents

License PyPI

Arcade DocumentationToolkitsArcade Python Clienthttps://google.github.io/adk-docs/

agents-arcade

agents-arcade provides an integration between Arcade and the Google ADK Python. This allows you to enhance your AI agents with Arcade's extensive toolkit ecosystem, including tools that reqwuire authorization like Google Mail, Linkedin, X, and more.

Installation

pip install google-adk-arcade

Basic Usage

from agents import Agent, RunConfig, Runner
from arcadepy import AsyncArcade

from agents_arcade import get_arcade_tools


async def main():
    client = AsyncArcade()
    tools = await get_arcade_tools(client, ["google"])

    google_agent = Agent(
        name="Google agent",
        instructions="You are a helpful assistant that can assist with Google API calls.",
        model="gpt-4o-mini",
        tools=tools,
    )

    result = await Runner.run(
        starting_agent=google_agent,
        input="What are my latest emails?",
        context={"user_id": "user@example.com"},
    )
    print("Final output:\n\n", result.final_output)


if __name__ == "__main__":
    import asyncio

    asyncio.run(main())

Key Features

  • Easy Integration: Simple API (one function) to connect Arcade tools with OpenAI Agents
  • Extensive Toolkit Support: Access to all Arcade toolkits including Gmail, Google Drive, Search, and more
  • Asynchronous Support: Built with async/await for compatibility with OpenAI's Agent framework
  • Authentication Handling: Manages authorization for tools requiring user permissions like Google, LinkedIn, etc

Available Toolkits

Arcade provides many toolkits including:

  • Google: Gmail, Google Drive, Google Calendar
  • Search: Google search, Bing search
  • Web: Crawling, scraping, etc
  • Github: Repository operations
  • Slack: Sending messages to Slack
  • LinkedIn: Posting to LinkedIn
  • X: Posting and reading tweets on X
  • And many more

For a complete list, see the Arcade Toolkits documentation.

Authentication

Many Arcade tools require user authentication. The authentication flow is managed by Arcade and can be triggered by providing a user_id in the context when running your agent. Refer to the Arcade documentation for more details on managing tool authentication.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

google_adk_arcade-0.0.1.tar.gz (84.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

google_adk_arcade-0.0.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file google_adk_arcade-0.0.1.tar.gz.

File metadata

  • Download URL: google_adk_arcade-0.0.1.tar.gz
  • Upload date:
  • Size: 84.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for google_adk_arcade-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c8da36872a7b8c4d84d94f590388633bbe623d576eef41f1c56f488336bc6f9c
MD5 351a0c8315d3ef7becebae18a6ab4414
BLAKE2b-256 fee4d4fc3b71715f66dfe97763148731608eb721da757bceeea6ff774e2b688c

See more details on using hashes here.

Provenance

The following attestation bundles were made for google_adk_arcade-0.0.1.tar.gz:

Publisher: publish-google-adk-arcade.yml on ArcadeAI/google-adk-arcade

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file google_adk_arcade-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for google_adk_arcade-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 596d8612ec31f1882250396ffb68fb7a6c02c2940a4fef2ac5a42e79eab6bb33
MD5 3f6d662cc3d60d3e6c550dbb62e12863
BLAKE2b-256 f0a3866259de82e6db656f5c9869e4c3055e53085b03b68d2d8f57d99bec7df1

See more details on using hashes here.

Provenance

The following attestation bundles were made for google_adk_arcade-0.0.1-py3-none-any.whl:

Publisher: publish-google-adk-arcade.yml on ArcadeAI/google-adk-arcade

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page