A single API call returns all 11 installation artifacts needed to make your site fully discoverable by humans, browsers, LLMs, and AI agents.Documentation Index
Fetch the complete documentation index at: https://docs.animam.ai/llms.txt
Use this file to discover all available pages before exploring further.
The install package can be deployed via Google Tag Manager without touching your site’s codebase — no developer required. Add one GTM tag for the widget script and your site is live. This is a key commercial argument for agencies and their clients.
Quick Start
1. Fetch your install package
2. Apply each item
Each item in the response tells you exactly what to do:action: "create"→ create the file at the target pathaction: "append"→ append the content to an existing filetarget→ file path or HTML location (<head>,<body>, etc.)
3. Verify
Endpoint
settings:read
| Parameter | Type | Description |
|---|---|---|
slug | string | Your tenant slug |
domain | string | Your site domain (used to generate correct URLs) |
Response Structure
| Field | Description |
|---|---|
id | Item identifier (e.g. widget, agent_card) |
priority | Install priority (1 = highest) |
action | create or append |
target | File path or HTML location |
content | The actual content to install |
notes | Framework-specific instructions |
Installation Items (Priority Order)
1. widget
Priority: 1 · Action:append · Target: <body>
The chat widget script tag. Place just before </body>.
- Next.js App Router: Add in
app/layout.tsxusingnext/scriptwithstrategy="afterInteractive" - Next.js Pages Router: Add in
pages/_document.tsxinside<body> - Nuxt: Add in
nuxt.config.tsunderapp.head.script - WordPress: Use a plugin like “Insert Headers and Footers” or add to
footer.php - Static HTML: Paste before
</body>in your HTML file
2. meta_tags
Priority: 2 · Action:append · Target: <head>
AI agent meta tags that signal your site has an active AI assistant.
- Next.js App Router: Export a
metadataobject fromapp/layout.tsx - Next.js Pages Router: Use
<Head>fromnext/headin_app.tsx - Nuxt: Add in
nuxt.config.tsunderapp.head.meta - WordPress: Add via
wp_headhook infunctions.php
3. webmcp
Priority: 3 · Action:append · Target: <head>
WebMCP script for Chrome 146+ AI agents. Enables direct browser-side MCP tool discovery.
WebMCP is only active in browsers that support the AI APIs (Chrome 146+). It degrades gracefully in other browsers.
4. agent_card
Priority: 4 · Action:create · Target: .well-known/agent.json
Google A2A protocol agent card. Makes your agent discoverable to other AI agents.
- Next.js: Create
app/.well-known/agent.json/route.tsreturning JSON, or add topublic/.well-known/agent.json - Nuxt / Static: Place at
public/.well-known/agent.json - WordPress: Add a rewrite rule pointing
/.well-known/agent.jsonto a static file
5. llmfeed
Priority: 5 · Action:create · Target: .well-known/llmfeed.json
Machine-readable capabilities manifest. Describes what your agent can do to other LLMs and AI orchestrators.
Framework notes: Same as agent_card — place at public/.well-known/llmfeed.json or serve via a route handler.
6. mcp_discovery
Priority: 6 · Action:create · Target: .well-known/mcp.json
MCP server discovery file. Points MCP clients to your tenant’s MCP endpoint.
7. llms_txt
Priority: 7 · Action:create · Target: /llms.txt
Human and LLM readable manifest of your site’s AI capabilities. Follows the emerging llms.txt standard.
Framework notes:
- Next.js / Nuxt: Place in
public/llms.txt - WordPress: Place in the site root or use a plugin to serve it
8. robots_txt
Priority: 8 · Action:append · Target: /robots.txt
Lines to append to your existing robots.txt to guide AI crawlers.
This item uses
action: "append" — do not replace your existing robots.txt, only add these lines at the end.9. jsonld
Priority: 9 · Action:append · Target: <head>
JSON-LD structured data (schema.org SoftwareApplication) for search engines and AI crawlers.
10. qr_code
Priority: 10 · Action:create · Target: Physical display (poster, business card)
QR code URLs pointing to your widget. Use these for offline materials.
11. form_widget
Priority: 11 · Action:append · Target: <body>
Standalone form widget (~5KB IIFE). Only included if your tenant has at least one SUBMIT_FORM or GENERATE_QUOTE tool configured.
agentInstructions
The response includes anagentInstructions field — a step-by-step natural language guide designed for AI agents performing the installation autonomously (e.g. via an MCP tool or agentic coding assistant). It describes each file to create, each snippet to inject, and how to verify success.