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
HubSpot is a CRM platform that provides tools for marketing, sales, customer service, and content management. This connector provides access to contacts, companies, deals, tickets, and custom objects for customer relationship management and sales analytics.
CRM
Sales Analytics
Customer Data
Version Information
Package version
0.15.129
Connector version
0.1.17
SDK commit
7956e2eb1a5082bef0be1b8ededead13e1089437
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-hubspot
2
Import
Initialize and use
python
from airbyte_agent_hubspot import HubspotConnector
from airbyte_agent_hubspot.models import HubspotPrivateAppAuthConfig
connector = HubspotConnector(
auth_config=HubspotPrivateAppAuthConfig(
private_app_token="<Access token from a HubSpot Private App>"
)
)3
Tool
Add tools to your agent
python
@agent.tool_plain # assumes you're using Pydantic AI
@HubspotConnector.tool_utils
async def hubspot_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| Contacts | [List](./REFERENCE.md#contacts-list), [Get](./REFERENCE.md#contacts-get), [API Search](./REFERENCE.md#contacts-api_search), [Search](./REFERENCE.md#contacts-search) |\n| Companies | [List](./REFERENCE.md#companies-list), [Get](./REFERENCE.md#companies-get), [API Search](./REFERENCE.md#companies-api_search), [Search](./REFERENCE.md#companies-search) |\n| Deals | [List](./REFERENCE.md#deals-list), [Get](./REFERENCE.md#deals-get), [API Search](./REFERENCE.md#deals-api_search), [Search](./REFERENCE.md#deals-search) |\n| Tickets | [List](./REFERENCE.md#tickets-list), [Get](./REFERENCE.md#tickets-get), [API Search](./REFERENCE.md#tickets-api_search) |\n| Schemas | [List](./REFERENCE.md#schemas-list), [Get](./REFERENCE.md#schemas-get) |\n| Objects | [List](./REFERENCE.md#objects-list), [Get](./REFERENCE.md#objects-get) |
Example Prompts
Lorem ipsum
List recent deals - List recent tickets - List companies in my CRM - List contacts in my CRM - Show me all deals from \{company\} this quarter - What are the top 5 most valuable deals in my pipeline right now? - Search for contacts in the marketing department at \{company\} - Give me an overview of my sales team's deals in the last 30 days - Identify the most active companies in our CRM this month - Compare the number of deals closed by different sales representatives - Find all tickets related to a specific product issue and summarize their status
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 HubSpot connector supports Private App token authentication. In open source mode, you provide a private_app_token from a HubSpot Private App directly to the connector. In hosted mode, credentials are stored securely in Airbyte Cloud and you authenticate using your Airbyte client ID and secret instead.
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 HubSpot connector focuses on read operations only. Write operations such as creating contacts, updating records, deleting tickets, scheduling tasks, or sending emails are not supported at this time. 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.