In April 2026, HubSpot dropped a number that got developers talking: its Breeze Customer Agent is now resolving 65% of customer support conversations completely on its own, no human need and cutting average resolution time by 39% across roughly 8,000 customer accounts.
That’s not a small experiment anymore. That’s AI quietly becoming part of how CRM actually runs day to day.
So naturally, the question comes up: are HubSpot’s AI agents just a switch you flip on, or something you actually have to build?
Turns out, it’s both. HubSpot gives you Breeze’s pre-built agents if you want something ready to go out of the box. But if your business needs something more tailored, HubSpot also opens the door for developers’ APIs, an MCP server, workflow automation, and other extensibility tools to build custom agents around their own processes.
In this guide, we’ll break down what HubSpot AI agents are, how they work, the developer tools behind them, and the workflow from trigger to result.”
What Are AI Agents in HubSpot?
HubSpot AI agents are smart software assistants that use artificial intelligence to perform tasks, make decisions, and interact with customers or employees using data stored in HubSpot CRM. Instead of following a strict set of rules, they consider the context available to them contact records, deal history, support tickets, emails, customer interactions and decide what the best course of action is.
A few things separate agents from plain automation:
| Trait | Traditional Workflow | AI Agent |
|---|---|---|
| Logic | Fixed if/then rules | Reasoning based on context |
| Input Handling | Structured triggers only | Natural language + CRM data |
| Flexibility | Breaks on unexpected input | Adapts to new scenarios |
| Output | Predefined actions | Dynamic, context-aware actions |
HubSpot’s own AI Agents for HubSpot: Customer Agent, Prospecting Agent, Data Agent, and the newer Company Research and Customer Health agents (still in beta) are built on a reasoning model. Developers can also build custom agents using the same underlying APIs.
HubSpot AI Architecture for Building Intelligent Agents
Though there is no particular definition of the so-called “AI Agent Architecture” by HubSpot, almost all HubSpot AI agents use a similar four-level logic regardless of whether these agents are constructed using Breeze or any other custom tools:
1. Data Layer
The backbone of the system is represented by the HubSpot Smart CRM that holds data on contacts, firms, negotiations, tickets, chats, activities, and custom objects. This data provides basic input for AI agents to reach responsible conclusions.
2. Access Layer
Developers utilize the HubSpot REST APIs or the HubSpot MCP (Model Context Protocol) Server that provide safe access to HubSpot context to AI programs and large language models.
3. Reasoning Layer
LLM processes HubSpot context, resolves the user’s requirements, and chooses further actions. Breeze Studio agents use GPT-5 as a default, but custom agents can operate with a variety of models such as GPT and Claude, based on specific implementations.
4. Action Layer
After making the choice, agents perform the act using HubSpot workflows or various mechanisms, including webhooks and calls through APIs. For example, this can mean updating records in CRM or performing other kinds of tasks.
Step-by-Step Guide to Building an AI Agent with HubSpot
Although the integrations differ for each case, developers usually follow the same procedure when using HubSpot to create AI agents. The process involves taking CRM information, integrating it into AI, and executing automation.
Step 1: Create a private app in HubSpot
In your HubSpot account, go to Settings → Integrations → Private Apps → Create private app. This generates the credentials your agent will use to talk to the CRM.
Step 2: Select scopes
Pick the CRM scopes your agent needs; read/write on contacts, deals, tickets, companies, etc. Only grant what the tools actually touch.
Step 3: Generate the access token
Once scopes are set, HubSpot issues a private app access token. Store this as an environment variable (HUBSPOT_PRIVATE_KEY) — never hardcode it.
Step 4: Set up the environment
pip install -U hubspot-api-client langchain langgraph langchain-openai pydantic python-dotenv
import getpass, os
import getpass, os
def _set_env(var: str):
if not os.environ.get(var):
os.environ[var] = getpass.getpass(f"{var}: ")
_set_env("HUBSPOT_PRIVATE_KEY")
_set_env("OPENAI_API_KEY")
Step 5: See how the agent thinks
Before wiring up tools, here’s the high-level loop the article describes:
Step 6: Build the three tools
Each tool wraps a HubSpot SDK method, keyed off object_type so one function handles contacts, deals, tickets, companies, line items, and quotes:
- dynamic_search — search records via filter groups
- create_object — create a new CRM object
- update_object — update an object by ID
tools = [dynamic_search, create_object, update_object]
llm_with_tools = llm.bind_tools(tools)
Step 7: Wire up the LangGraph state machine
This is the actual control loop: the chatbot node calls the LLM, and if it decides a tool is needed, control passes to the tools node and back:
graph_builder.add_conditional_edges("chatbot", tools_condition)
graph_builder.add_edge("tools", "chatbot")
graph_builder.set_entry_point("chatbot")
graph = graph_builder.compile(checkpointer=memory)
Step 8: Test it
config = {"configurable": {"thread_id": "1"}}
for event in graph.stream(
{"messages": [("user", "What is the current status of 'ABC' Deal?")]},
config
):
for value in event.values():
print("Assistant:", value["messages"][-1].content)
That’s the whole pipeline: private app → tools bound to the LLM → LangGraph loop → live CRM operations. One thing worth flagging again from my earlier review — before running this, you’ll want to add the missing imports (ToolNode, TypedDict) and double-check the FilterGroup/PublicObjectSearchRequest classes come from the right object-specific HubSpot SDK module, since the article never shows those imports explicitly.
Using AI Models with HubSpot AI Agents
1. OpenAI with HubSpot AI Agents
Since January 12, 2026, Breeze Studio agents run on GPT-5 by default, replacing GPT-4.1. Outside of Breeze, custom builds can call any GPT model directly through the OpenAI API; nothing HubSpot-specific is required.
| Factor | Why It Matters |
|---|---|
| Prompt Engineering | Clear framing and concrete examples reduce inconsistent outputs, which is especially important when responses can trigger CRM updates. |
| Tool Calling | GPT's structured function calling maps directly to HubSpot agent tools, allowing the model to select a tool while your application executes it. |
| CRM Context | Provide only the relevant portion of a CRM record instead of the entire dataset to keep responses accurate while reducing token usage and cost. |
Where this tends to show up: drafting outreach based on deal stage, summarizing a support thread before it escalates, or scoring inbound leads against a defined rubric.
2. Claude with HubSpot AI Agents
Why would a team choose Claude AI over another model here? Mostly because of how directly it plugs in.
| Factor | Why It Matters |
|---|---|
| MCP Connection | Claude connects to HubSpot through the official MCP server, allowing clients like Claude Desktop to query and update CRM records using natural language without requiring a custom API wrapper. |
| Long Context Window | Ideal for record-heavy workflows, such as analyzing months of ticket history or complete deal email threads before making informed recommendations. This makes it well suited for enterprise research, account summaries, churn-risk analysis, and cross-object CRM reporting. |
| Propose-Then-Execute Pattern | Claude performs the reasoning while connected via MCP for read and write access. A workflow or webhook executes the final action only after Claude proposes it, creating a safe point for human review and approval. |
If you’re planning to use Claude with HubSpot, the HubSpot + Claude integration guide covers everything you need to get started.
AI Security and Governance in HubSpot
Here’s a question worth sitting with before any agent goes live: what, exactly, is it allowed to touch?
| Control | What It Covers |
|---|---|
| Authentication | Use OAuth 2.1 with PKCE for MCP connections or OAuth 2.0/private app tokens for direct HubSpot API access. |
| Permissions | Grant only the minimum required scopes for the task, following the principle of least privilege. |
| CRM Access | Restrict access at both the object and property levels to protect sensitive CRM information. |
| Data Privacy | Define what CRM data can leave HubSpot, where it is processed, and how it is protected. |
| Human Approval | Require a review step before executing high-impact actions such as deletions, mass emails, refunds, or bulk record updates. |
| Audit Logs | Maintain a detailed record of every agent action, including timestamps, user inputs, and resulting operations for compliance and troubleshooting. |
Real-World AI Agent Use Cases with HubSpot
By pairing CRM data with AI, HubSpot’s AI agents provide support across sales, marketing, and customer service. Below are some of the most frequent applications:
- Automating Customer Service Support: Answering customer questions, pulling previous tickets, solving basic problems, and letting the complex problems be taken elsewhere.
- Sales Assistant: Evaluating the sales pipeline and recommending the next step in it.
- Qualifying Leads: Going through filled forms and deciding whether the lead is qualified as a potential buyer and connecting them to the correct salesperson.
- Meeting and Task Automation: Organizing meetings, preparing follow-up tasks, and sending notifications.
- Marketing Campaign: Preparing customized email messages, segmenting a target audience, and advising on campaign actions based on the CRM data.
- Managing CRM data: Including updating contact data, summarizing the interactions with clients, and keeping the CRM data current.
Conclusion
Built-in or custom-built? Turns out it’s not really either-or. Breeze gets you moving fast; APIs, MCP, and your model of choice get you something built around your exact process. Either way, the foundation stays the same: clean CRM data, scoped permissions, and a human still in the loop.
The real question isn’t whether to build with HubSpot AI Agents. It’s how much you’re ready to hand over.
Where would you draw that line?
Frequently Asked Questions
Breeze is HubSpot’s AI brand. It includes Breeze Assistant (free, embedded across the platform), Breeze Agents (task-specific, credit-metered), and Breeze Studio (a no-code builder for custom agents). So Breeze Agents are one way to get HubSpot AI Agents, not the only way.
Yes. HubSpot’s CRM APIs, MCP server, and workflow tools let developers build custom agent logic, using whichever LLM they prefer- GPT, Claude, or another model instead of relying only on Breeze’s pre-built agents.
It gives AI clients like Claude or Cursor natural-language access to CRM data over a standard protocol, without a custom API wrapper. It went GA on April 13, 2026, and currently authenticates only through OAuth 2.1 with PKCE.
Not yet. Teams working with custom objects typically fall back on the direct CRM API for that part of the integration.
It can, if nobody’s set boundaries. That’s why scoped permissions and a human approval step for high-impact actions deletions, mass sends, refunds matter more than the AI itself. The safety net is in the setup, not the model.


1 Comment
Pingback: HubSpot Revenue Hub: Commerce Hub's Next Chapter