Skip to main content
AgentCake

AgentCake — AI Agent Traffic Analytics

Copy and paste these instructions into Claude Code or Codex to complete the installation.

Set up AgentCake 0.6.2 for this website.
Use curl or the GitHub CLI to download the guide at https://raw.githubusercontent.com/tartini-ai/agent-traffic-analytics/v0.6.2/INSTALL.md and follow its steps.
If the download fails, ask for network access.

Releases: download Issues: report a bug License: MIT

English · 简体中文

The problem

Is your website getting plenty of traffic, but your conversion rate is staying the same or even decreasing? Could some of those visits be coming from AI agents?

HUMAN Security found that traffic from AI agents and agentic browsers grew 7,851% year over year. If your analytics can't recognize these agents, their visits may be counted as human traffic, making your daily reports misleading.

The solution

We've launched AgentCake, a self-hosted AI agent traffic analytics platform. It records each visit as a session replay. Our behavioral model and rules then identify whether a human, an AI agent or both drove each session.

Here's what AgentCake can help you understand:

  1. What AI agents found: See which pages AI agents viewed and whether they found the information they needed. Find out whether they only browsed or began signing up.
  2. Where AI agents got stuck: See the steps where agents stopped. Then decide whether to adapt those steps to make your website more agent-friendly.
  3. Which AI agents visit most: See which agents visit your website most often, such as Claude in Chrome, Grok Bot and Muse. Use what you learn to optimize your website for them and increase conversions.

This animation scrolls through the dashboard, opens the session list, then replays a hand-off from Claude in Chrome to a human.

The recording is from a test shop: Claude in Chrome added a T-shirt to the cart, and a human took over to check out.

Dashboard preview

Cake style
Key metrics
                                                                                                                                                                            
Top agents and Trends
                                                                                                                                                                            
Paths and Sources
                                                                                                                                                                            
Devices and Geography
                                                                                                                                                                            
Session replay
                                                                                                                                                                            
Session replay: Claude in Chrome, then a human
                                                                                                                                                                            
Minimal style
Key metrics
                                                                                                                                                                            
Top agents and Trends
                                                                                                                                                                            
Paths and Sources
                                                                                                                                                                            
Devices and Geography
                                                                                                                                                                            
Session replay
                                                                                                                                                                            
Session replay: Claude in Chrome, then a human
                                                                                                                                                                            
  • Human, agent or script bot: A session is one browser's visit to your site, across all of its tabs. A new one starts once no tab has had activity for 30 minutes, or after 24 hours. AgentCake classifies each tab and gives the session one classification. Agent sessions are split into Agent only and Human + agent. Script bots are programs on the bot list that run the page script.
  • Agent names and confidence levels: AgentCake identifies agents by name, such as Claude in Chrome, ChatGPT and Muse, and labels each name Verified or Likely. Agents it can't identify appear as Unnamed.
  • Timeline and reasons: A timeline shows when a human or an agent was in control during each session and marks each hand-off. Next to the replay, you can view the reasons for each classification.
  • Human and agent traffic: See sessions, visitors, page views and active time for humans and agents. Break down the traffic by path, source, device and geography.
  • Self-hosted and open source: AgentCake runs on your computer or server as a single program. It uses one SQLite database and sends no telemetry. The code is available under the MIT License.

Install

Open Claude Code, Codex, or another coding agent in your website's code folder. If your website runs on a platform such as Shopify, use a new, empty folder instead. Then paste these instructions:

Set up AgentCake 0.6.2 for this website.
Use curl or the GitHub CLI to download the guide at https://raw.githubusercontent.com/tartini-ai/agent-traffic-analytics/v0.6.2/INSTALL.md and follow its steps.
If the download fails, ask for network access.
  • Tell the agent about your site. It recommends a setup and lists each monthly cost and the total. AgentCake is free, but a public website needs a server to record its visits.
  • Once you approve, the agent installs AgentCake, connects your site and checks it with agentcake doctor. It can also create a server and add a DNS record. You handle sign-in, new accounts, payment, and terms.
  • To try AgentCake without a server, choose your computer when the agent asks where to run it. On your computer, AgentCake records only visits from that computer, such as visits to your local site.
  • AgentCake runs on macOS and Linux and requires uv or Python 3.11 or later. To register and view your dashboard, open http://127.0.0.1:7878/ in your browser. If AgentCake runs on a server, first open an SSH tunnel to it.

How it decides

AgentCake checks four kinds of evidence on your computer or server.

  • Name. Does the User-Agent match a known agent?
  • Verification. On a server, do request signatures or published IP ranges confirm that name?
  • Environment. Does the browser show signs of automation, a spoofed identity or a marker left by an agent?
  • Behavior. What do pointer movements, keyboard timing and scrolling tell us about who was in control?

We tested with 1,118 agent sessions we recorded and 7,122 human sessions, each of one tab, the part of a visit AgentCake classifies. Some visits are misclassified. See the evaluation results.

Your data stays yours

Visit data goes only to your AgentCake installation. AgentCake sends no usage telemetry.

  • AgentCake never stores what visitors type, which keys they press, passwords, card numbers, cookies or visitor IP addresses.
  • A random ID in the browser counts unique visitors without cookies. It expires a year after their last visit. Only the referring page's domain is kept.
  • Visit recording works before registration. Choosing Register and continue sends your registration details to Tartini AI once.
  • AgentCake goes online for site checks and monthly downloads of public agent lists and, on servers, a city database. You can turn off these downloads in Settings.

Privacy details · Privacy notice template for your website

Help and contributing

License

Copyright Tartini AI. MIT License · Third-party licenses

AgentCake is an independent product and isn't affiliated with the developers of the agents and tools it names. Those developers don't endorse or sponsor AgentCake. All trademarks belong to their owners.

Metadata

Release files for agentcake 0.6.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for agentcake 0.6.2
File Interpreter ABI Platform Actions
agentcake-0.6.2-py3-none-any.whl Python 3 none any Details for agentcake-0.6.2-py3-none-any.whl

Release files / agentcake-0.6.2-py3-none-any.whl

Download URL agentcake-0.6.2-py3-none-any.whl
Size 2.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6482adaf8987346fe8bd36587f4755924d052b5be43e11946b730860c96cc67e
BLAKE2b-256 checksum
How to use checksums
a97bed5c083e763fc6743a873c81f847af2043946d0f5603b64bb75f968e3f1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Security for agentcake 0.6.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for agentcake-0.6.2-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page