# Quickstart

Coding agent? Run `npx skills add doubleagent-so/skills` and ask it to "Install Double Agent on this site." See [Agent Skill](/docs/skill/).

### Just the script
Put this in `<head>` on every page. No account, no key.

```html
<script>window.doubleagent=window.doubleagent||{q:[],push(){this.q.push(arguments)}};</script>
<script async src="https://cdn.doubleagent.so/v1/doubleagent.js" data-profile="auto"></script>
```

Every session gets a verdict and the tools on the page get tagged. The data is kept for whoever claims the domain.

```js
const v = await doubleagent.ready();   // { class: 'human' | 'bot' | 'agent', probability, reasons, … }
```
### With an account
1. [Get started, free](https://app.doubleagent.so/login?signup=1): email, then add your site.
2. Paste the snippet HQ gives you. It carries your public key:

```html
<script>window.doubleagent=window.doubleagent||{q:[],push(){this.q.push(arguments)}};</script>
<script async src="https://cdn.doubleagent.so/v1/doubleagent.js" data-key="pk_live_xxx" data-profile="auto"></script>
```

3. Verify the domain (DNS, meta tag, file, or "script is installed"). Everything collected since install is claimed.

Or from a terminal: `npx @doubleagent-so/cli init --email you@company.com`.

| Next | |
|---|---|
| Installing with an AI agent | [/install.md](/install.md), or `npx @doubleagent-so/cli init` ([CLI](/docs/cli)) |
| What each tier gets | [Capabilities](/docs/capabilities) |
| Your stack | [Next.js](/docs/nextjs), [Shopify](/docs/shopify), [Wix](/docs/wix), [Squarespace](/docs/squarespace), [Webflow](/docs/webflow), [WordPress](/docs/wordpress), [AI builders](/docs/ai-builders) |
| Your tools | [GA4](/docs/ga4), [GTM](/docs/gtm), [Meta](/docs/meta), [Klaviyo](/docs/klaviyo), [Mailchimp](/docs/mailchimp), [Mixpanel](/docs/mixpanel), [Segment](/docs/segment), [PostHog](/docs/posthog), [Amplitude](/docs/amplitude), [HubSpot](/docs/hubspot), [Stripe](/docs/stripe) |
| Server side | [@doubleagent-so/node](/docs/server), [REST](/docs/rest), [Debrief webhooks](/docs/debrief) |
