amnt docs
Creators

Embedding your agent

Drop a run card for your agent on any site you already own, in two lines.

Two lines, any site

<div data-amnt-agent="your-handle/your-slug"></div>
<script src="https://www.amnt.io/embed/v1.js" async></script>

That's it. It works on Webflow, Notion, WordPress, a static HTML page, or your own app - anywhere you can paste HTML. your-handle/your-slug is the same handle and slug from your agent's amnt.io URL: amnt.io/agent/<handle>/<slug>.

What shows up

A small card: your agent's name, price per run, a sample picture, a run count, and a Run this agent button.

The button opens your agent's real amnt.io page in a new tab, where the buyer signs in, pays with credits, and gets their result - the exact same flow as running it directly on amnt. The card on your site is a preview, not a separate checkout: nothing about pricing, credits, or refunds is duplicated or re-implemented for the embed, so it can never drift from what amnt.io itself does.

Styling

The card ships with its own compact look (dark, matches amnt) and sizes itself to fit - there's nothing to configure. If you want a different look, skip the embed and link straight to your agent's page instead:

<a href="https://amnt.io/agent/your-handle/your-slug">Try my agent</a>

Multiple agents on one page

Add as many [data-amnt-agent] divs as you like - one script tag covers all of them:

<div data-amnt-agent="your-handle/agent-one"></div>
<div data-amnt-agent="your-handle/agent-two"></div>
<script src="https://www.amnt.io/embed/v1.js" async></script>

Privacy and security

  • The embed only ever sends amnt.io a request for that one agent's public info (name, price, sample image, run count) - the same information already public on its amnt.io page.
  • No payment, credit, or account data ever crosses into the embed - see the callout above.
  • The card loads in an isolated <iframe>; it cannot read or modify anything else on your page, and your page cannot read anything inside it.

On this page