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
Notion is an all-in-one workspace for notes, docs, wikis, projects, and collaboration. This connector provides read access to Notion workspaces including users, pages, data sources, blocks, and comments through the Notion REST API.
CRM
Sales Analytics
Customer Data
Version Information
Package version
0.1.6
Connector version
0.1.4
SDK commit
cb4380e76ac5cbc67b9089f94522be1bbe9f8d73
Support Open Source
Check us out on Github and join the Airbyte community
Installation & Usage
1
Install Package
Using uv or pip
bash
uv pip install airbyte-agent-notion
2
Import
Initialize and use
python
from airbyte_agent_notion import NotionConnector
from airbyte_agent_notion.models import NotionAuthConfig
connector = NotionConnector(
auth_config=NotionAuthConfig(
token="<Notion internal integration token (starts with ntn_ or secret_)>"
)
)3
Tool
Add tools to your agent
python
@agent.tool_plain # assumes you're using Pydantic AI
@NotionConnector.tool_utils
async def notion_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| Users | [List](./REFERENCE.md#users-list), [Get](./REFERENCE.md#users-get), [Search](./REFERENCE.md#users-search) |\n| Pages | [List](./REFERENCE.md#pages-list), [Get](./REFERENCE.md#pages-get), [Search](./REFERENCE.md#pages-search) |\n| Data Sources | [List](./REFERENCE.md#data-sources-list), [Get](./REFERENCE.md#data-sources-get), [Search](./REFERENCE.md#data-sources-search) |\n| Blocks | [List](./REFERENCE.md#blocks-list), [Get](./REFERENCE.md#blocks-get), [Search](./REFERENCE.md#blocks-search) |\n| Comments | [List](./REFERENCE.md#comments-list) |
Example Prompts
Lorem ipsum
List all users in my Notion workspace - Show me all pages in my Notion workspace - What data sources exist in my Notion workspace? - Get the details of a specific page by ID - List child blocks of a specific page - Show me comments on a specific page - What is the schema of a specific data source? - Who are the bot users in my workspace? - Find pages created in the last week - List data sources that have been recently edited - Show me all archived pages
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 Notion connector supports two authentication methods: Open source mode uses a Notion internal integration token (starting with ntn_ or secret_) provided directly via NotionAuthConfig. Hosted mode uses Airbyte Cloud credentials via AirbyteAuthConfig, where your Notion credentials are stored securely in Airbyte Cloud.
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?
Currently, the Notion connector focuses on read operations only. Write operations such as creating pages, updating data source properties, deleting blocks, or adding comments are not supported. Write support may be added in future versions.
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.