aixa.js Documentation
The Agent Interaction & eXecution Agreement (AIXA). aixa.js auto-infers structured JSON-RPC tool schemas from your semantic HTML, lets you control exactly what agents can access, and enforces human approval for high-risk actions — before the payload ever touches your backend.
What is the Agent Interaction & eXecution Agreement (AIXA)?
Agent Interaction & eXecution Agreement (AIXA) is to AI agents what SEO is to search crawlers. Just as SEO made websites readable to Googlebot, AIXA makes them readable to AI agents — with a critical difference: you stay in control.
Without AIXA, agents scrape your raw HTML, guess what your forms do, and might trigger actions you never intended. With aixa.js, you broadcast structured capabilities that agents consume safely — and you decide what's exposed, what's read-only, and what requires explicit human approval.
Key Concepts
Auto-Inference
Scans your semantic HTML and auto-generates JSON-RPC tool schemas. Zero config — works with the markup you already have.
Manual Config
Full developer API for complex SPAs. Register custom search endpoints, actions, and tools with fine-grained control.
HITL Security
Every tool classified SAFE or HIGH_RISK. Mutations freeze the page and require human approval — enforced, not suggested.
Plugins
Ready-made plugins for e-commerce, real estate, and travel. Or build your own. All read-only by design.
Where to Start
I want to try it
Open the live demo — see the difference between a site with and without aixa.js, side by side.
I want to install it
Installation guide — npm, CDN, or self-hosted. First code in under 60 seconds.
I want to understand it
How auto-inference works — what HTML elements are scanned, what schemas are generated.