Back to the journal

Linking my website to your AI

2 minutes read

Here's the problem: I have a website, say makeacut or Classic d20 (coming soon). They need to use AI to provide services to users, such as designing a model, answering questions about a bug, or maybe simulating an NPC. I've got a couple of choices:

  1. I provide the AI, and I pay lots of money for random strangers to use my site
  2. You provide me an API key, which you totally know how to do, and you trust me not to abuse it
  3. Something something MCP and magic happens somehow

These are all awful.

Here's what we need:

  • a button on my site that says "Link to My AI"
  • popular AIs are displayed, you select one
  • the AI site does an OAuth like flow
  • I (behind the scenes) get a token for using your AI in some limited sense

Now behind the scenes it's still a token like the API key, but you would also get additional restrictions:

  • a hard selectable spending cap on the token, say $2 / month
  • reports on all usage of the AI
  • a "System 1" AI filter to check whether I (my website) is abusing your API key
More from the notebook