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.71
Connector version
0.1.8
SDK commit
64ac3a66e77864c942825e7f9491a0a46e704d21
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 details for a recent file - Download a recent file from my Drive - Export a recent Google Doc as PDF - Export a recent Google Sheet as CSV - Show me the content of a recent file - List all shared drives I have access to - Show me details for a shared drive I have access to - Show permissions for a recent file - List comments on a recent file - Show replies to a recent comment on a file - Show revision history for a recent file - Get my Drive storage quota and user info - List files in a folder I have access to - Show me files modified in the last week - What changes have been made since my last sync?
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 OAuth2 authentication with access tokens, refresh tokens, client ID, and client secret. You can provide an optional access token which will be obtained via refresh if not provided.
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.