$ ah --platform web · react-native · unity
Analytics built for agents, not dashboards.
One script tag. Bot-scored sessions, computed funnels and campaigns, and the ah CLI — so your coding agent can check the numbers, ship a change, and check again.
free plan · no credit card · live in minutes
$ ah digest --since 7d1,284 human sessions · 312 bot sessions excluded source sessions → signupgoogle / cpc 418 6.2%producthunt 307 9.8%facebook / paid 186 2.1% $ ah funnel "pageview: /tutorial" "click: Start" signuppageview: /tutorial ████████████ 2,041click: Start ██████ 1,022 50%form_submit: signup ██ 388 19% $ ah changes add "Shorter tutorial step 2" --kind experimentlogged — tomorrow's digest will show it against the funnel this site's own digest│agenthog.io·last 7d·1,284 human sessions·312 bots excluded·top source producthunt 9.8% → signup
## integration
Live in minutes, on any surface
One key across your website, your app, and your game — every session lands in the same project.
step 1 / add the snippet
<script src="http://agenthog.io/ah.js" data-project="ah_xxxxxxxx" defer></script> One script tag for websites; a two-line SDK setup for React Native and Unity.
step 2 / autocapture does the boring part
pageview: /pricingclick: Join the waitlistform_submit: signup Pageviews, clicks, and form submits — named for you, every session scored human, bot, or crawler.
step 3 / read it anywhere
$ npm i -g @brightmotion/agenthog$ ah login && ah digest Every dashboard number is also a terminal table or --json for your agent.
$ or let your agent do the whole thing — one command installs the skill into Claude Code.
install the agent skill## the loop
Measure, change, measure again
Read the numbers, ship a change, log it, and read them again. Every step is a command, so your agent can run the whole cycle without opening a browser.
Optimize tutorials and onboarding
Define the funnel — first visit, tutorial, activation — and watch where people fall out.
Iterate ad campaigns on real conversions
Per-source conversion with bots already excluded, so paid traffic numbers mean what they say.
Every metric move has a suspect
Log deploys, copy edits, and experiments to the changelog — then see the metric move against them.
- 0:00pageview: /tutorial
- 0:07click: Start
- 0:09pageview: /tutorial/step-2
- 0:24scroll: 75%
- 1:26click: Continue
- 1:28click: Continue
- 1:29click: Continue
- 2:35pageview: /tutorial/step-3
- 2:41form_submit: signup
!62s on step 2, three clicks, no progress — the moment worth fixing
## session detail
The fidelity of a recording, none of the video
Every session is a timestamped event timeline — precise enough for technical debugging, structured enough for product analysis.
- >
Jump straight to the moment
Find every session that stalled on step 2 with a query, not an afternoon of scrubbing.
- >
Debuggable by your agent
A timeline is text — your agent reads the struggling session and ships the fix.
- >
Events, not pixels
Nothing on screen is captured, and there's no video to store — so every session is kept, not sampled.
## everything included
Small surface, sharp tools
AGENTHOG(1) · user commands
- name
- description
- bot-scoring
Bot scoring on every session
Human, suspected bot, or crawler — even crawlers that never run JavaScript. Excluded from aggregates by default.
- ah
The ah CLI
Every dashboard number as a dense terminal table or --json. No MCP server, no plugin.
- changes
Changelog, lined up with traffic
Log deploys and experiments — backdatable, taggable. See what shipped before a metric moved.
- funnel
Funnels, goals & retention
Funnels over any event sequence, goals per project, weekly retention cohorts.
- sdk
Web, React Native & Unity
A 4KB zero-dependency web tracker, an Expo-ready SDK, and a Unity package — one project.
- tokens
Scoped tokens & safe SQL
Hand an agent a read token, not a database password. Even raw SQL runs read-only.
Give your agent something to measure.
Create a site, paste one tag, and start iterating on numbers instead of hunches.
$ npm i -g @brightmotion/agenthog$ ah login✓ signed in — project ah_xxxxxxxx$ ah digest