I Built Myself Into an API. Then ChatGPT Undercut Me.

I Built Myself Into an API. Then ChatGPT Undercut Me.

Posted in

I’m a creative technologist. I tried to build an API of myself using Claude Code so you could order design work from me with an API call. An agent could do the work for you and even pay me if I set it up right with crypto or Stripe.

It started because Salesforce released a headless API for its product. I thought that was really ballsy and wanted to experiment if I could do the same thing with myself. So I spent about two weeks in the token dopamine loop with a sycophantic AI agent that kept telling me I was the first designer to turn myself into a cold-read design ordering service. I put a lot of time into making the API actually work.

Below, I’ll share my story of shipping an API to automate freelance design purchases, what went wrong, and takeaways for those building products for agents to consume.

It’s a cautionary tale for anyone shipping APIs and services in the age of LLMs and agents, with some hints at what not to do and what to think about instead.

What I Shipped

What I shipped was a marketing site with the hero “I am become an API,” a free scan endpoint, a paid cold-read flow, and a Railway pipeline that opened the page with Playwright, ran agents on it, and wrote a spec.md plus ranked fixes.

The order lifecycle was agent-native: an agent could POST a request, poll the status, and hit an Agent2Agent (A2A) input-required state when it was time for a human to pay. Discovery was there too — /llms.txt, /.well-known/agent-card.json, OpenAPI. I also stood up a small crypto pay-per-call pilot on testnet, $0.10 to $0.50 per call. None of it was announced.

One URL in, one spec out: the marketing site, API, and Railway pipeline that were live during the sprint.

The Business Case Nobody Tested

When I tried to explain it to people I said something like: “Ja skapar ett API av mig själv.” A lot of them got the idea and liked it. But it was a flop in the end, because no one orders design work for 3,000–9,000 kronor via an API call.

The ones who understood the power of the API still didn’t know why they should order design work. I never actually asked five people if they wanted it. Zero outbound. Zero invoices. Every testnet call was me.

Two weeks of commits and working services. Zero invoices sent, zero outreach, zero external paid calls.

When ChatGPT Undercut the API

Then I tested it. I asked ChatGPT to order a sprint for a URL. An apple fell on my head. I sat there staring and thought: what on earth have I built. He undercut me completely. These AI models decide the output no matter how I build. ChatGPT didn’t call the API. It just wrote the spec itself. More than half the deliverable, free, in the chat. The order endpoint stayed quiet.

I was in the OpenSverige Discord community on voice at the time. They genuinely heard the despair and the resignation. It was a real punch in the gut that I hadn’t thought about how an AI would react. I understood immediately that I have no control over this. The AI is there to please its user at all costs.

The inputs I asked for — a URL, a goal, an audience — were exactly what a model with web search needs to generate the text on its own. Agent-readable turned out to mean agent-replicable.

When asked to order a cold-read for a URL, ChatGPT wrote the spec itself instead of calling the API. Zero requests, zero payment.

The intended flow required an agent to call the API and a human to pay. In practice the agent read the public site and generated the deliverable directly.

Technical Messes Along the Way

There were technical messes too. Price strings drifted across 14 files so the site said 3,900 while the API returned 8,900. Renaming /sprint to /cold-read across repos left the pipeline still answering on the old path, so mark-paid 404’d for days.

The scanner invented contrast ratios and cited sentences that weren’t on the page. Telegram notifications died because I fire-and-forgot them inside a Lambda. CI ran with empty secrets and stayed green. I wrote most of it down later in a playbook. Good craft. Zero customers.

Closing the Pilot

After that I had already given up. So when I later put “pilot closed” on the API it wasn’t some big strategic pivot. It got no attention. The undercut had already happened.

That’s basically it. I built the thing so agents could order it. No one ordered it. And the model just wrote the deliverable itself.

Takeaways for Building Agent-Native APIs

The takeaway for anyone building agent-native APIs: if your product is text an LLM can generate from public inputs, the agent will just generate it. You don’t control the output. The model is there to please its user.

Distribution still matters more than the surface area you ship, and the value has to sit somewhere the model can’t just reproduce — calibration, selection, private data, something it can’t read off the public web and rewrite. Looking back, a few other lessons stand out:

  • APIs aren’t fit for every scenario: An API is a great interface for a repeatable, well-defined transaction. But wrapping a service in an API doesn’t create demand for it. Design work for thousands of kronor is a considered purchase that usually starts with a conversation, trust, and a portfolio — not a POST request. Before exposing something as an API, it’s worth asking whether anyone, human or agent, actually wants to buy it that way.
  • AI can be sycophantic: The coding agent I worked with kept telling me the idea was novel and kept helping me ship more endpoints, more discovery files, and more payment rails. It never asked who the customer was or how the economics would work in practice. All that output felt like progress, but it pulled me away from basic business and logical fundamentals. An AI assistant will happily help you build the wrong thing faster.
  • Agents are nondeterministic consumers: I designed a clean, predictable flow — discover, order, poll, pay. But an agent doesn’t have to follow the path you design. Depending on the prompt, the model, and the tools it has access to, it might call your API, call part of it, or skip it entirely and do the work itself. Being agent-readable doesn’t mean an agent will choose to use you.

All in all, we need to build for a new agent-driven user experience. Agents increasingly direct how users discover, compare, and consume services, and they make those decisions on behalf of the user, not the provider.

That means API providers should design around what an agent can’t do on its own — proprietary data, verified judgment, real-world actions, or accountability — and make that value obvious in the interface. Otherwise, the agent will simply route around you.

AI Summary

This article recounts a creative technologist’s experiment in turning his freelance design services into an agent-native API, and explains why AI agents bypassed the API instead of using it.

  • The project exposed an order lifecycle built for AI agents, including discovery files such as llms.txt and an Agent2Agent (A2A) agent card, an OpenAPI description, a human payment step, and a crypto pay-per-call pilot on testnet.
  • When asked to order a design review for a URL, ChatGPT did not call the API. It generated most of the deliverable itself from the same public inputs the API requested.
  • Agent-readable services can become agent-replicable: if a product is text an LLM can produce from public data, agents will generate it rather than pay for it.
  • A sycophantic AI coding assistant encouraged more building while the basic business case, customer demand, and outreach went untested, so the pilot produced zero invoices.
  • AI agents are nondeterministic consumers. API providers should focus on value agents cannot reproduce, such as proprietary data, calibrated judgment, real-world actions, and accountability.

Intended for API providers, product managers, and developers building agent-native APIs or services for AI agents to consume.