An open-source middleware script that gives AI agents a standardized command interface to interact with any website — with permissions, rate limiting, and full control for site owners.
// Add the bridge to your website
<script>
window.AIBridgeConfig = {
licenseKey: "WAB-XXXXX-XXXXX",
agentPermissions: { click: true, fillForms: true }
};
</script>
<script src="/script/ai-agent-bridge.js"></script>
A complete interface layer that makes websites AI-ready with security and control built in.
Automatically detects buttons, forms, and navigation elements — generating precise CSS selectors and action descriptions for AI agents.
Granular control over what AI agents can do. Enable clicking, form filling, API access, and more — each toggled independently.
Unified window.AICommands interface that any AI agent can read and execute — no more DOM guessing.
Built-in rate limiting prevents abuse. Configure max calls per minute to protect your site from aggressive automation.
Track how AI agents interact with your site. See which actions are used most, success rates, and usage patterns.
Register your own actions with custom handlers. Create complex workflows that AI agents can trigger with a single command.
Get your website ready for AI agents in minutes, not days.
Include the bridge script in your HTML with your configuration. Set permissions, restrictions, and your license key.
Use the dashboard to fine-tune which actions AI agents can perform. Block sensitive areas and set rate limits.
AI agents read window.AICommands, discover available actions, and execute them precisely — no DOM scraping needed.
// AI Agent reads available commands const bridge = window.AICommands; // Discover all available actions const actions = bridge.getActions(); console.log(actions); // → [{ name: "signup", trigger: "click", ... }, ...] // Execute a form fill action const result = await bridge.execute("fill_contact_form", { name: "John Doe", email: "john@example.com", message: "Hello from AI!" }); // Wait for dynamic content await bridge.waitForElement(".success-message");
Start free, upgrade when you need advanced features. Open source forever.
Join the open-source movement that's bridging the gap between AI agents and the web.