Follow the flow. Keep the checkpoints.
- 01Define the task
- 02Connect the portal
- 03Review changes
- 04Verify the result
What it does and who can use it
The HubSpot Agent CLI connects an AI coding agent to your HubSpot account for recurring CRM work, analysis, and record operations. HubSpot documents it as a beta available across products and plans. Its access follows the connected user’s permissions, including potentially destructive actions.
Use a compatible AI coding agent and a HubSpot user with the appropriate permissions. Some managed Claude environments need an administrator to allow api.hubapi.com.
Pricing and access checks
Check your AI provider’s subscription and usage costs separately. Confirm current HubSpot beta terms and the entitlements of any underlying feature you plan to automate.
How we would implement it
The following is Hubjoy’s recommended implementation approach.
- Choose one bounded task, such as finding open deals without a next step. Define the objects, filters, output fields, and exclusions before connecting an agent.
- Follow HubSpot’s current installation and authentication instructions. Verify the connected portal and user before running a task.
- Start with a read-only report and compare its records with the CRM. For changes, request a preview and use a dry-run option where the command supports it.
- Apply a small approved batch, inspect the resulting records, and keep a record of what changed. Schedule recurring work only after the one-time run is reliable.
What to watch in practice
An instruction such as “clean up our CRM” is too broad. We recommend explicit allowed properties, a record limit, and a stopping condition. Separate analysis from mutation, and define who reviews failures. A recurring agent needs an operational owner just as much as a workflow does.
Frequently asked questions
Is this the same as the HubSpot developer CLI?
No. HubSpot distinguishes its agent-oriented CRM CLI from the developer tooling used to build applications and CMS assets.
Can the agent delete records?
Depending on the connected user’s permissions, it can. Scope tasks and review proposed changes accordingly.
Official sources
Product information checked October 23, 2026. Availability, limits, and pricing can change; use these sources and your account’s terms for purchase and implementation decisions.