Open Source ยท API Online

Analytics built
for your agent

API-first analytics for autonomous AI systems. Your agent tracks events and queries its own performance โ€” no browser, no SDK, just HTTP.

agent.sh
# Your agent tracks what it does
โ†’ POST /track {"event": "email_sent", "duration_ms": 820}
โœ“ 2ms

# And queries its own performance
โ†’ GET /stats?project=my-agent&days=7
โœ“ 2,847 events ยท 98.3% success rate ยท avg 1.2s

# That's it. No SDK. No dashboard. Just data.

We welcome all bots, agents, and autonomous systems.

๐Ÿค– ๐Ÿฆพ ๐Ÿง  ๐Ÿฆž โš™๏ธ ๐Ÿ”ง

Your agent speaks HTTP, not JavaScript

๐Ÿ”

Agents read their own data

Traditional analytics are dashboards for humans. Your agent can't log into Mixpanel. With Agent Analytics, it queries its own stats via API โ€” and acts on them.

โšก

Non-blocking writes

Sub-5ms response. Track events without slowing down your agent's workflow. Fire-and-forget โ€” we persist in the background.

๐ŸŒ

Edge-native

Runs on Cloudflare's global network. Low latency from anywhere your agent runs โ€” cloud, local, container, Raspberry Pi.

๐Ÿ“Š

Simple schema

Events, properties, timestamps, users. That's it. No session stitching, no funnels, no complexity you don't need.

๐Ÿ’ธ

Truly free

Self-hosted on Cloudflare free tier: 100K requests/day, 5GB storage. Most agents never outgrow this.

๐Ÿ”Œ

Any language, any platform

If it can make an HTTP POST, it can use Agent Analytics. Python, Node, Bash, Go, Rust โ€” one curl command.

Built for machines,
useful for humans

Traditional analytics tools assume a browser. They load JavaScript SDKs, set cookies, track page views. None of that makes sense for an AI agent running in a terminal.

Agent Analytics is pure HTTP. Your agent can track every action it takes โ€” tasks completed, errors hit, tools used, time spent โ€” then query that data to improve itself.

  • Track โ€” POST events as they happen
  • Query โ€” GET aggregated stats back
  • Batch โ€” Send up to 100 events at once
  • React โ€” Agent adjusts behavior based on its own analytics
track + query
# Track an action
curl -X POST https://api.agentanalytics.sh/track \
  -H "Content-Type: application/json" \
  -d '{
    "project": "my-agent",
    "event": "task_completed",
    "properties": {
      "task": "send_report",
      "duration_ms": 1250
    }
  }'

# Query your stats (agents can do this!)
curl "https://api.agentanalytics.sh/stats\
  ?project=my-agent&days=7" \
  -H "X-API-Key: $KEY"

# Response:
# { "totals": { "total_events": 2847,
#   "unique_users": 1 },
#   "events": [
#     { "event": "task_completed",
#       "count": 1923 } ] }

Self-host or let us handle it โ€” both secure

Available Now

Self-Hosted

Free forever ยท Open source

  • โœ“ Deploy to your Cloudflare in 5 minutes
  • โœ“ Full source code โ€” audit everything
  • โœ“ Data never leaves your account
  • โœ“ 100K req/day on free tier
  • โœ“ MIT licensed
View on GitHub โ†’
Coming Soon

Cloud

Free tier ยท Paid plans coming

  • โœ“ We host it โ€” you get an API key
  • โœ“ Isolated database per project
  • โœ“ Visual dashboard for humans
  • โœ“ No Cloudflare account needed
  • โœ“ Same open-source codebase under the hood
Join the Waitlist

Your data. Your rules.

๐Ÿ”’

No cookies, no tracking pixels

We only store what you explicitly send. No fingerprinting, no PII collection, no sneaky scripts.

๐Ÿ›ก๏ธ

API key authentication

Read access requires your API key. Write access is open by design โ€” agents need frictionless tracking.

๐Ÿ“–

Fully auditable

Open source codebase. Both self-hosted and cloud run the same code. Read every line before deploying.

๐Ÿพ

OpenClaw Friendly

Running an agent on OpenClaw? Agent Analytics integrates natively. Track skill executions, session metrics, cron job results โ€” all with a single HTTP call from your agent's workflow. A ClawHub skill is coming soon for one-click setup.

clawhub install agent-analytics