Arcade Integration for Google ADK
Project description
Arcade Documentation • Toolkits • Arcade Python Client • https://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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8da36872a7b8c4d84d94f590388633bbe623d576eef41f1c56f488336bc6f9c
|
|
| MD5 |
351a0c8315d3ef7becebae18a6ab4414
|
|
| BLAKE2b-256 |
fee4d4fc3b71715f66dfe97763148731608eb721da757bceeea6ff774e2b688c
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
google_adk_arcade-0.0.1.tar.gz -
Subject digest:
c8da36872a7b8c4d84d94f590388633bbe623d576eef41f1c56f488336bc6f9c - Sigstore transparency entry: 224457867
- Sigstore integration time:
-
Permalink:
ArcadeAI/google-adk-arcade@d715801304b4274174a34d2c0661967c0622c400 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ArcadeAI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-google-adk-arcade.yml@d715801304b4274174a34d2c0661967c0622c400 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file google_adk_arcade-0.0.1-py3-none-any.whl.
File metadata
- Download URL: google_adk_arcade-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
596d8612ec31f1882250396ffb68fb7a6c02c2940a4fef2ac5a42e79eab6bb33
|
|
| MD5 |
3f6d662cc3d60d3e6c550dbb62e12863
|
|
| BLAKE2b-256 |
f0a3866259de82e6db656f5c9869e4c3055e53085b03b68d2d8f57d99bec7df1
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
google_adk_arcade-0.0.1-py3-none-any.whl -
Subject digest:
596d8612ec31f1882250396ffb68fb7a6c02c2940a4fef2ac5a42e79eab6bb33 - Sigstore transparency entry: 224457880
- Sigstore integration time:
-
Permalink:
ArcadeAI/google-adk-arcade@d715801304b4274174a34d2c0661967c0622c400 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ArcadeAI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-google-adk-arcade.yml@d715801304b4274174a34d2c0661967c0622c400 -
Trigger Event:
workflow_dispatch
-
Statement type: