# Agent Analytics > Web analytics platform with an agent-friendly HTTP API. Track events across multiple projects, then let your agent read the stats. Agent Analytics is built for developers who ship many projects and want their existing AI agent to monitor all of them. Instead of logging into dashboards, the agent queries a REST API and reports back. ## Quick Start - [Dashboard](https://app.agentanalytics.sh/?onboarding=agent): Sign up, then connect your agent through browser approval and create projects from the agent session - [GitHub Repository](https://github.com/Agent-Analytics/agent-analytics): Open source, MIT licensed - [API Documentation](https://docs.agentanalytics.sh): Full endpoint reference (OpenAPI spec) - [Full Site Content](https://agentanalytics.sh/llms-full.txt): Complete product details in one file ## API Overview - [Track Events](https://github.com/Agent-Analytics/agent-analytics#tracking-events): `POST /track` with project token (`aat_*`) - [Query Stats](https://github.com/Agent-Analytics/agent-analytics#querying-data): `GET /stats?project=X&days=7` with agent session bearer auth or advanced API key fallback (`aak_*`) - [Flexible Query](https://github.com/Agent-Analytics/agent-analytics#advanced-queries): `POST /query` for metrics, filters, group_by - [Raw Events](https://github.com/Agent-Analytics/agent-analytics#raw-events): `GET /events?project=X&event=page_view` - [Discover Properties](https://github.com/Agent-Analytics/agent-analytics#properties): `GET /properties?project=X` ## Pricing - [Self-Hosted](https://github.com/Agent-Analytics/agent-analytics): Free forever, MIT license, deploy anywhere - [Hosted Free](https://app.agentanalytics.sh): 2 projects, 100,000 events/month, 500 agent/API reads/month, 90-day retention, core analytics surface, limited MCP - [Hosted Pay-as-you-go](https://app.agentanalytics.sh): $1/10K events from event 1 after upgrade, full API/CLI/MCP, 12-month retention ## Optional - [Privacy Policy](https://agentanalytics.sh/privacy.html): No cookies, no IP addresses, no personal data - [Terms of Service](https://agentanalytics.sh/terms.html): Terms for the hosted service