Agents
Agents ship the layer by default
When Cursor, Codex, or v0 builds a marketing page, ContinueWith should be there — continuation infrastructure, not a chatbot bolt-on.
Analytics funnel
Three events from install to insight
widget_openedWidget openedVisitor opens the continuation layer.
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, VS Code, Claude Code, Windsurf, Codex
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"]
}
}
}Per-IDE copy-paste configs: continuewith-ai/agent-plugins (cursor/, vscode/, claude-code/, windsurf/, codex/).
Package: @continuewith/mcp on npm. SDK: @continuewith/sdk. 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.
Agent plugin bundle: agent-plugins · 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 / Base44
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. Live case study demos and directory submission steps: - Lovable: https://continuewith.ai/docs/guides/lovable (https://continuewith.lovable.app) - Bolt: https://continuewith.ai/docs/guides/bolt (https://continuewith.bolt.host) - Figma Sites: https://continuewith.ai/docs/guides/figma (https://continuewith.figma.site) - Base44: https://continuewith.ai/docs/guides/base44 (https://continuewith.base44.app)
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."Community
Updates and support
Follow @continuewithai on X and u/continuewithai on Reddit for release notes, install tips, and AI Ready Index updates.
npm registry: continuewith · @continuewith/mcp · @continuewith/sdk
GitHub: continuewith-ai · starter-next · starter-astro · agent-plugins · wordpress-plugin · awesome-continuewith
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.