
For most of software's history, we built one interface — for humans. Clicky, pretty, designed for eyes and mouse hands. Dharmesh Shah (HubSpot's co-founder) just published a piece arguing the next era needs a second interface, designed from the ground up for agents, and the cleanest way to ship it is to do what we did for sysadmins in 1985: build a great CLI. The interesting part isn't the nostalgia. It's that HubSpot is betting its agent strategy on it.
What You Need to Know: HubSpot launched a private-beta "Agent CLI" — a command-line interface built from scratch for agents like Claude Cowork and OpenAI's Codex, not repurposed from a developer CLI. Shah argues the industry has a new dual audience (UX for humans, AX for agents) and that "agent-native" CLIs need to be designed differently than human-facing ones, with token efficiency and structured errors as the primary design constraints.
Shah's core framing: software has had one audience for fifty years — humans. Dashboards, buttons, chat windows, color palettes, hover states, all of it designed around how we like to work. That audience isn't going away, but there's a second one now, and it doesn't care about any of that.
The second audience is the agent. Its preferences are surprisingly aligned with senior engineers who lived in bash and vim: precise commands, predictable outputs, structured data, low token cost, and errors that are programmatically actionable rather than narratively helpful. The thesis: UX and AX are parallel disciplines, not the same discipline with different skins.
Shah calls out the most common shortcut. A lot of software companies, when asked to "support agents," will surface the developer CLI they already have, point an LLM at it, and call it done. The CLI was written for a human, so it has pretty tables, color codes, and English-language error messages. An agent has to parse all of that, burning tokens on formatting metadata, and is more likely to give up or do the wrong thing. Shipping that as "agent-ready" is a quarter saved and a customer lost. (Source)
Shah's model of how agents reach into software has three entry points, each with different trade-offs:
The mature strategy, Shah argues, is to redesign the CLI deliberately for the agent audience. The work isn't theoretical — HubSpot did it.
Shah is explicit about the differences. A developer wants a command they can remember and type quickly; the agent wants a command that finishes the whole job in one call. Developers want outputs that look good in a terminal; agents want outputs they can parse without guessing. Developers want errors that help them think; agents want errors they can act on programmatically.
Concretely, that means:
The result: the agent stops spending its context budget orchestrating and starts spending it on the actual task.
HubSpot's private-beta Agent CLI is the proof point. It was designed from the agent's perspective from day one, not retrofitted from the existing developer CLI. The targets named explicitly are Claude Cowork and OpenAI's Codex — i.e., the two leading agent frameworks as of mid-2026.
The bet is twofold. First, that agentic systems will become a major surface for B2B SaaS access, so selling a CLI is selling a product. Second, that the customers who care about agentic access (developers, AI-forward teams, automation shops) are exactly the segment that will grow the fastest, so being the CRM with the best agent interface is a real distribution advantage.
For builders, the practical takeaway isn't "go use HubSpot." It's "go look at your own CLI and ask whether it would still work if the human reading the output was replaced with a model that pays per token." If the answer is "no, the output is too verbose and the errors aren't structured," you have an AX debt problem. (Source)
I've been writing shell scripts for twenty years and the only thing that surprises me about this argument is how long it took the SaaS industry to rediscover it. The CLI is the lowest-friction interface for any task where the consumer is a machine, and the moment your second user becomes a model, the CLI stops being a power-user feature and starts being the primary surface.
But Shah's framing is too generous to one thing: the "agent-native" rebrand is mostly just good CLI hygiene that we forgot to do. Atomic commands, structured output, no padding — that's what a good CLI looked like in 1995. The reason most modern CLIs don't have those properties is they were written for marketing demos and chat screenshots, not for use. Agent-native design is what you get when the user is a model that doesn't tolerate being marketed at.
The MCP line is the one I'd push back on. Coverage is thin today, but the protocol is solving a real problem (discovery + auth) that the CLI doesn't solve well. A CLI is great when the agent already knows what it wants to do. MCP is the protocol that lets an agent figure out what to do in the first place. Most software products will need both. The interesting design question isn't "CLI vs MCP" — it's "what's the right division of labor between them" — and that answer will look different for a CRM (HubSpot's case, where workflows are well-known) than for a database (where discovery actually matters).
The last thing worth saying: the cost of getting this wrong compounds. A bad agent interface doesn't just make the agent slower, it makes it more likely to fail. And an agent that fails on a customer's actual data is a customer you don't get back. The teams that win the next five years are the ones who treat the agent as a first-class user on day one, not a follow-up ticket six months after launch.
HubSpot shipped an Agent CLI designed from the agent's perspective — atomic commands, structured output, token-efficient errors. Dharmesh Shah argues modern software needs both a UX and an AX, and the cheapest path to a good AX is rebuilding the CLI, not repackaging the API or waiting for MCP coverage.