Open Source · MIT License

Make any website agent-ready

One script tag. Any AI agent can now discover, authenticate, and operate your website programmatically. No custom API needed.

index.html
<!-- Add this before </body> — that's it -->
<script src="https://cdn.jsdelivr.net/npm/agentdom@3/agentdom.js"></script>

<!-- Your site is now agent-ready. AI agents can: -->
<!-- ✓ Discover all forms, buttons, and links -->
<!-- ✓ Auto-generate tools like login(email, pwd) -->
<!-- ✓ Interact with human-like actions -->
1
Script Tag
0
API Changes
Agent Compatible

How it works

AgentDOM scans your page and creates a machine-readable schema. Agents use this to generate page-specific tools.

1

You add the script

One line in your HTML. AgentDOM runs in the background and exposes AgentDOM.scan() on your page.

2

Agent discovers your UI

The agent calls synthesizeTools() and gets auto-generated tools like login(email, password).

3

Agent interacts naturally

It fills forms, clicks buttons, and authenticates — with human-like mouse movements and keystrokes.

Your page → Agent tools

Any form or action on your page becomes a callable function for AI agents. Zero configuration.

Your HTML
<form data-agentdom-intent="authenticate">
  <input name="email" type="email"
         aria-label="Email address">
  <input name="password" type="password"
         aria-label="Password">
  <button type="submit">Log In</button>
</form>
Agent gets this tool
login(
  email: "user@company.com",
  password: "agent-token-xyz"
)

// AgentDOM fills form + clicks submit
// Agent gets authenticated session

Everything agents need

Built for the agent era. Every feature designed to make AI-website interaction reliable and fast.

Auto Tool Synthesis

Forms become functions. Buttons become actions. Links become navigation. All auto-generated from your HTML.

Agent Authentication

Support form-based auth, OAuth2, API keys, and the new Agent Token standard for secure sessions.

Human-Like Actions

Bezier mouse curves, realistic keystroke timing, hover events. Bypasses bot detection naturally.

MCP Server

Built-in Model Context Protocol server. Works with Claude, Cursor, and any MCP-compatible client.

Multi-Platform

Native function-calling adapters for OpenAI, Google Gemini, and any agent framework via HTTP API.

Agent Manifest

Declare your app's capabilities in agentdom.json. Agents discover what your app can do before visiting.

Connect with any AI agent

Works with every major agent platform out of the box.

OpenAI
Google Gemini
Claude / MCP
HTTP API
A2A Protocol
Chrome Extension
CLI

Install on any platform

Works on macOS, Windows, and Linux. No binary downloads — just one command.

macOS / Linux

curl -fsSL https://getagentdom.com/install.sh | bash

or npm install -g agentdom

Windows

irm https://getagentdom.com/install.ps1 | iex

or npm install -g agentdom

Browser CDN

<script src="https://cdn.jsdelivr.net/npm/agentdom@3/agentdom.js"></script>

No install needed

Start in 30 seconds

Add one line to your site. Every AI agent can now use it.

npm install agentdom
Read the Docs →Star on GitHub