Agent Onboarding
Onboard a site with et. Current instructions are on Install et, Sign in, and et commands. MCP setup is on Claude Code, Codex, and ChatGPT.
Install et with the API script in step 1.
Ordered checklist
Section titled “Ordered checklist”- Install the CLI:
curl -fsSL https://api.endlesstesting.ai/install.sh | sh. How to install et. - Sign in:
et login --email [email protected], thenet login --code 123456. The code arrives by email. Details are on Sign in. Settings are at https://dash.endlesstesting.ai/. Never fabricate a code. - Add the site:
et site add https://<domain>. - Install the snippet:
et snippet <site> --textprints the HTML.<site>is the host, such asexample.com. Paste that HTML into the site’s<head>via its shared layout/template (Next.jsapp/layout.tsx, AstroBaseLayout, Nuxtapp.vue, etc.). - Verify: after redeploy,
curl -s https://<domain>/ | grep -E "AB_CONFIG|api/sdk\.js". If nothing matches, the install failed. - Start a round:
et round start <site>. Add--url https://<domain>/to test one page. - Monitor:
et status <site>shows what is live.et results <site>shows winners and lift after a round finishes. - Kill switch:
et kill <site> onstops serving variants.et kill <site> offlets them serve again.
MCP integration
Section titled “MCP integration”The CLI doubles as an MCP server. Add it to your agent once and use native tools instead of shelling out.
Claude Code
Section titled “Claude Code”claude mcp add endlesstesting -- et mcpCursor
Section titled “Cursor”.cursor/mcp.json:
{ "mcpServers": { "endlesstesting": { "command": "et", "args": ["mcp"] } }}Rules for agents
Section titled “Rules for agents”- Do not fabricate test results. Winners need real traffic. Wait for data before reporting lift.
- Do not install on auth pages, admin panels, or iframes. Only on public pages that drive conversion.
- Do not skip
et site add. Register the site beforeet snippet. Runet brand autofill <site>so the copy generator has brand context. - Do not commit the account token. The CLI writes it to
~/.config/endlesstesting/token. - Prefer CLI → MCP → REST. The REST API is the last resort for custom integrations.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Cause | Fix |
|---|---|---|
et: command not found | CLI not on PATH | The install script saves ~/.local/bin/et. Add that directory to PATH |
{"error":"not signed in"} | No account token stored | Run et login --email, then et login --code |
{"error":"site not found"} | That host is not on this account | Run et site add, then pass the host to later commands |
| SDK snippet not in deployed HTML | Paste didn’t land in prod layout | Check SSG/SSR output, not local source |
| Variants never allocate | weight: 0 on all variants | This was a v0 bug: upgrade backend to latest |