Give agents tools for secure, real-time access to fetch, search, write, and sync across every system, with replication, entity mapping, and auth built-in.


About this Connector
Google Drive is a cloud-based file storage and synchronization service that allows users to store files, share content, and collaborate on documents. This connector provides read-only access to files, shared drives, permissions, comments, replies, revisions, and change tracking for data analysis and integration workflows.
CRM
Sales Analytics
Customer Data
Version Information
Package version
0.1.41
Connector version
0.1.2
SDK commit
5b20f488dec0e8f29410823753106603c23a4b65
Support Open Source
Star us on GitHub to help grow the Airbyte community
Installation & Usage
1
Install Package
Using uv or pip
bash
uv pip install airbyte-agent-google-drive
2
Import
Initialize and use
python
from airbyte_agent_google-drive import GoogleDriveConnector
from airbyte_agent_google_drive.models import GoogleDriveAuthConfig
connector = GoogleDriveConnector(
auth_config=GoogleDriveAuthConfig(
access_token="<Your Google OAuth2 Access Token (optional, will be obtained via refresh)>",
refresh_token="<Your Google OAuth2 Refresh Token>",
client_id="<Your Google OAuth2 Client ID>",
client_secret="<Your Google OAuth2 Client Secret>"
)
)3
Tool
Add tools to your agent
python
@agent.tool_plain # assumes you're using Pydantic AI
@GoogleDriveConnector.tool_utils
async def google-drive_execute(entity: str, action: str, params: dict | None = None):
return await connector.execute(entity, action, params or {})Supported Entities & Actions
Lorem ipsum
Lorem ipsum
| Entity | Actions |\n|--------|---------|\n| Files | [List](./REFERENCE.md#files-list), [Get](./REFERENCE.md#files-get), [Download](./REFERENCE.md#files-download) |\n| Files Export | [Download](./REFERENCE.md#files-export-download) |\n| Drives | [List](./REFERENCE.md#drives-list), [Get](./REFERENCE.md#drives-get) |\n| Permissions | [List](./REFERENCE.md#permissions-list), [Get](./REFERENCE.md#permissions-get) |\n| Comments | [List](./REFERENCE.md#comments-list), [Get](./REFERENCE.md#comments-get) |\n| Replies | [List](./REFERENCE.md#replies-list), [Get](./REFERENCE.md#replies-get) |\n| Revisions | [List](./REFERENCE.md#revisions-list), [Get](./REFERENCE.md#revisions-get) |\n| Changes | [List](./REFERENCE.md#changes-list) |\n| Changes Start Page Token | [Get](./REFERENCE.md#changes-start-page-token-get) |\n| About | [Get](./REFERENCE.md#about-get) |
Example Prompts
Lorem ipsum
List all files in my Google Drive - Show me files modified in the last week - Get details for file abc123 - Download file abc123 from my Drive - Export Google Doc abc123 as PDF - Export Google Sheet xyz789 as CSV - Get the content of file abc123 - List all shared drives I have access to - Get shared drive xyz789 - Show permissions for file abc123 - List comments on file abc123 - Get all replies to comment def456 on file abc123 - Show revision history for file abc123 - What changes have been made since my last sync? - Get my Drive storage quota and user info - List files in a specific folder
Why Airbyte for AI Agents?
Built for production AI workloads with enterprise-grade reliability
Agent-Native Design
Structured, LLM-friendly schemas optimized for AI agent consumption with natural language query support.
Secure Authentication
Built-in OAuth 2.0 handling with automatic token refresh. No hard-coded credentials.
Production Ready
Battle-tested connectors with comprehensive error handling, logging, and retry logic.
Open Source
Fully open source under the MIT license. Contribute, customize, and extend freely.
Works with your favorite frameworks
🦜
LangChain
🦙
LlamaIndex
🤖
CrewAI
⚡
AutoGen
🧠
OpenAI Agents SDK
🔮
Claude Agents SDK
Frequently Asked Questions
Didn't find your answer? Please don't hesitate to reach out.
The Google Drive connector supports Google OAuth2 authentication. You need to provide a refresh token, client ID, and client secret. Optionally, you can provide an access token (otherwise it will be obtained via the refresh token).
Can I use this connector with any AI agent framework?
The connector is compatible with any Python-based AI agent framework including LangChain, LlamaIndex, CrewAI, Pydantic AI, and custom implementations.
Does this connector support write operations?
No, the Google Drive connector currently focuses on read-only operations. Write operations like creating files, uploading documents, deleting files, updating permissions, adding comments, or moving files are not currently supported.
How is this different from the Airbyte data connector?
Agent connectors are specifically designed for AI agents and LLM applications. They provide natural language interfaces, optimized response formats, and seamless integration with agent frameworks, unlike traditional ETL-focused connectors.
Will there be a platform for agent connectors?
The hosted version with secure credential storage through Airbyte Cloud is already available. See the hosted usage section in the documentation for setup instructions.