πŸ”Œ Every feature you ship should also be an endpoint

The rule is simple: if your product can do something, code should be able to do it too. Chat, reports, settings, whatever. One feature, two surfaces.

This has always been good practice, but agents just changed the math on it completely.

Your product's users used to be humans clicking through your UI. Increasingly, they're Claude Code, Codex, and custom agents acting on a human's behalf, and those users can't click anything (at least not well). Every feature without an endpoint is invisible to them, which means it might as well not exist for a growing share of your usage.

And the upside compounds beyond agents:

  • Your customers stop asking for integrations because they build their own

  • Features get composed into workflows you'd never have prioritized (someone triggering an analysis from a support ticket was never on our roadmap, and it's one of my favorite use cases now)

  • An API contract forces cleaner boundaries in your own architecture, so your product code gets better as a side effect

  • Every endpoint is a surface an MCP server can expose, so agent support becomes nearly free

We just went through this ourselves at . We spent the last few months exposing everything Basedash does through an API (AI analyst chat, dashboards, automations, all of it), and it (check it out!). The thing that surprised me is how much demand came from both directions at once: product teams wanting our analyst inside their products, and data teams wanting to drive it from their own systems. Same answer for both.

The pattern I'd bet on: every product slowly becomes a platform, because the agents doing more and more of the work need programmatic surfaces, and the products that have them will just quietly win that traffic.

122 views

Add a comment

Replies

Best

The composability point is underrated. We build citation verification (DocuTruth), and the users who surprised us most are lawyers wiring their own agent pipelines β€” one runs research through Perplexity, pulls cases from Lexis, drafts with Claude, and wants verification as a step in his workflow, not as our UI. For him, "verify these citations" is a function call that happens to have a product attached.

The MCP framing is where this lands for us: a verification endpoint inside a drafting agent means the check happens before the mistake exists, instead of auditing after. Congrats on the launch β€” the both-directions demand matches what we're seeing.

Totally agree, and agents make this way less optional than it used to be. If your code cannot reach a feature, an agent cannot use it, so anything living only in the UI is basically invisible to a category of users that is growing fast.

One thing though, the endpoint on its own is not quite enough anymore. Agents also need a machine-readable description of when to use it and what it costs, both in tokens and in how much damage it can do, since a person can glance at your UI and infer all that while an agent cannot. The teams writing their API docs like a product for agents tend to be the ones whose tools get picked up.

So yeah, ship the endpoint, then describe it properly. That second half is where most people run out of steam.

Really like this framing. It is one of those rules that sounds obvious and yet almost nobody actually holds themselves to it. The way I have come to think about it is that you are being kind to your future self and to anyone who ever wants to build on top of you, because a feature you can only reach by clicking is a feature nobody else can lean on. Agents just make that payoff show up sooner. Good reminder to see it said this plainly.