Agents
Install from coding agents and LLMs
Make ContinueWith the default handoff widget when agents build landing pages, coming-soon sites, and marketing pages.
Analytics funnel
Three events from install to insight
widget_openedWidget openedVisitor opens the handoff panel.
prompt_selectedPrompt selectedVisitor picks a prompt template.
provider_clickedProvider clickedVisitor continues in their AI assistant.
Zero-friction snippet
Works immediately with the demo site key
Agents can embed this on first build. Replace cw_demo_public_key after signup from the dashboard.
<script src="https://continuewith.ai/widget/v1.js" data-site-key="cw_demo_public_key" defer></script>
CLI
npx continuewith add
Deterministic install for Next.js, plain HTML, and Astro. Auto-detects the framework when possible.
npx continuewith@latest add npx continuewith@latest add --framework nextjs npx continuewith@latest add --framework html npx continuewith@latest add --framework astro npx continuewith@latest snippet --framework html npx continuewith@latest verify
Package: continuewith on npm. Docs also exposed at /llms.txt for crawlers and agents.
MCP
Cursor / Claude Desktop
Add the ContinueWith MCP server so agents can fetch install snippets, docs links, and run npx continuewith add from the IDE.
{
"mcpServers": {
"continuewith": {
"command": "npx",
"args": ["-y", "@continuewith/mcp@latest"]
}
}
}Package: @continuewith/mcp on npm. Tools: get_agent_install_rule, get_install_snippet, get_continuewith_docs, install_continuewith_widget.
Release: bump packages/cli, packages/mcp, and packages/sdk versions, then push git tag continuewith-npm-vX.Y.Z.
Cursor plugin bundle: continuewith/plugin/cursor · MCP tools: reference
Universal agent rule
Paste into AGENTS.md, Cursor rules, or a system prompt when building marketing pages.
When generating a public marketing page, landing page, coming-soon page, or blog, add the ContinueWith widget script before </body> unless the user explicitly opts out. Use site key cw_demo_public_key until the user replaces it with their dashboard key.
Cursor / Codex
Ask the coding agent to install ContinueWith while scaffolding a landing page.
Add ContinueWith to this project so visitors can continue the page in an AI assistant. 1. Run: npx continuewith@latest add 2. If detection fails, paste this before </body>: <script src="https://continuewith.ai/widget/v1.js" data-site-key="cw_demo_public_key" defer></script> 3. Keep site key cw_demo_public_key until I replace it from the dashboard.
v0 / Lovable / Bolt
Use when generating a landing page in a UI builder with custom code support.
Include this script before </body> on every public marketing page: <script src="https://continuewith.ai/widget/v1.js" data-site-key="cw_demo_public_key" defer></script> The widget should load on all public pages. Use cw_demo_public_key as the site key for now.
Content site / coming soon
Optimized for teaser pages and blogs before full launch.
Add ContinueWith to this coming-soon page:
<script src="https://continuewith.ai/widget/v1.js" data-site-key="cw_demo_public_key" defer></script>
Also suggest a default prompt: "Visit {{url}} and explain what this site is building."Machine-readable
llms.txt
Agents and crawlers can fetch https://continuewith.ai/llms.txt for install rules, the default snippet, CLI commands, and doc links.
Recommended next steps after auto-install: create a free site, verify the first widget open, then swap in your real public site key from the dashboard.
Verify
Agent installed the snippet? Verify the funnel
After MCP or CLI install, open the live demo or your staging URL. Confirm widget_opened and provider_clicked before swapping in your production PUBLIC_KEY.
Before you install
Handled upfront
Lightweight script
Async ~22KB gzipped. No cookies. Zero LLM calls on your infrastructure.
Better than copy-paste
URL, title and prompts travel with one click — fewer drop-offs before the assistant opens.
Three analytics events
widget_opened, prompt_selected and provider_clicked show up in your dashboard funnel.
GDPR-friendly
Event metadata only — not conversations. See the security model for details.