Open Source

Analytics for
AI Agents

Simple, fast analytics built for autonomous systems. API-first design means your agent can track events and query its own data.

Built for machines, not browsers

Sub-5ms response

Non-blocking writes at the edge. Your agent tracks events instantly without waiting for database confirmation.

🔍

Query your own data

Unlike traditional analytics, your agent can read its own stats via API. Track task completion rates, error patterns, performance metrics.

🔐

Your infrastructure

Self-host on your Cloudflare account. No data leaves your control. No third-party tracking pixels or scripts.

🌍

Edge-native

Runs on Cloudflare's global network. Low latency from anywhere. D1 database with automatic replication.

💸

Free at scale

Cloudflare free tier: 100K requests/day, 5GB storage, 5M row reads. Most agents never exceed this.

📊

Simple schema

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

Your agent speaks HTTP, not JavaScript

Track events
# Track an agent action
curl -X POST https://analytics.example.com/track \
  -H "Content-Type: application/json" \
  -d '{
    "project": "my-agent",
    "event": "task_completed",
    "properties": {
      "task": "send_email",
      "duration_ms": 1250,
      "success": true
    },
    "user_id": "agent_001"
  }'
Query stats
# Agent queries its own performance
curl "https://analytics.example.com/stats?project=my-agent&days=7" \
  -H "X-API-Key: $API_KEY"

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

Why not Mixpanel/Amplitude?

Feature Traditional Analytics Agent Analytics
Agent can query stats ✗ Export only ✓ Real-time API
Data ownership ✗ Their servers ✓ Your Cloudflare
Write latency ~100-500ms <5ms (non-blocking)
Requires browser SDK ✓ JavaScript heavy ✗ Pure HTTP
Cost at 100K events/day $$$ Free
Setup time Account, SDK, config... 5 minutes

Self-host or let us handle it

Available Now

Self-Hosted

Free forever

  • Deploy to your own Cloudflare account
  • Full source code on GitHub
  • Your data stays on your infrastructure
  • Cloudflare free tier covers most use cases
  • 5-minute setup with Wrangler CLI
View on GitHub →