your app
events
Agentry
prompts
output

Product data layer for your AI agent.

Error monitoring, product analytics and deploy attribution in one place your agent can investigate, query and build on.

Install https://agentry.sh/agentry.md and set it up
Works with any AI coding agent
How it works

Everything is just a prompt away.

Send the data, then ask. Your agent does the work — engineering, growth, customer success.

Your app

Sends events on every meaningful action — logs, analytics, revenue, deploys.

Agentry

data layer

Stores everything. Queryable via SQL. Webhooks for automations.

Output

Your agent builds you dashboards, fixes bugs, automates reports, what ever you ask for.

Growth / PM

Find the magic activation moment

~14s · 4 tools · writes a local /admin/* page
claude~/myapp
What action in the first 24h after signup correlates highest with users still being active at day 30?
On it — let me run the 60-day cohort retention diff and write you a local /admin/activation-funnel page you can open in your browser.
agentry_list_event_names (min_count: 100)
12 events: signup_completed, integration_connected, …
agentry_analytics_query (cohort_retention, 60d)
top 5 first-24h actions ranked by day-30 retention
agentry_create_cohort (activated_users)
cohort_id: co_a8f2 · matching users: 142
Write (src/pages/admin/activation-funnel.astro)
84 lines · uses your existing Tailwind theme
Wrote src/pages/admin/activation-funnel.astro
localhost:4321/admin/activation-funnel
Activation moment found

integration_connected → 78% retention

First-24h actions · day-30 retention · 60d cohorts
vs baseline
4.3×
integration_connected 142 users · 78%
team_member_invited 98 users · 71%
first_query_run 320 users · 64%
$pageview baseline 620 users · 18%
tutorial_completed below baseline 84 users · 16%
⚠ negative signal

Users who finish the tutorial retain below baseline. The tutorial appears to be substituting for engagement, not feeding it.

Tools used
  • agentry_list_event_names
  • agentry_analytics_query
  • agentry_create_cohort
  • Write (local .astro page)
You get
  • ·A reusable activated_users cohort
  • ·A local page at /admin/activation-funnel
  • ·Reusable in feature flags & surveys
  • ·Works from any MCP-compatible agent
Engineering

Triage silent bugs while you sleep

set up once · runs nightly · drafts PRs when safe
codex~/myapp
Wire up a nightly Routine at 2am: pick the top silent bug, investigate, draft a PR if the fix is <20 LOC. Slack me each morning.
On it — I'll dry-run against your case backlog, register the Slack webhook, schedule the routine via Claude Code Routines, then drop a local /routines/rt_nightly/preview page so you can see what tomorrow's post will look like.
agentry_list_cases (dry-run, silent bugs only)
7 candidate bugs (≥5 users affected, no triage yet)
agentry_register_webhook (slack → #eng-mornings)
webhook_id: wh_eng_morn · signing_secret: agws_…
/schedule (Claude Code Routine)
rt_nightly armed · cron: 0 2 * * * UTC
Write (src/pages/routines/rt_nightly/preview.astro)
62 lines · preview of tomorrow's #eng-mornings post
Wrote src/pages/routines/rt_nightly/preview.astro
localhost:4321/routines/rt_nightly/preview
agentry-bot → #eng-mornings
tomorrow at 08:15 · preview
queued
Drafted overnight

PR #420 — null-guard in BillingForm.tsx:118

Affected 7 users · Size 14 LOC · tests pass typecheck clean
draft fix(billing): null-guard in BillingForm #420
-  const street = user.address.street;
+  const street = user.address?.street ?? '';
+  test: renders fallback when address is null
Tools used
  • agentry_list_cases
  • agentry_register_webhook
  • /schedule (Claude Code Routine)
  • Write (local preview page)
  • gh pr create (overnight, in the routine)
You get
  • ·A routine that fires at 02:00 UTC nightly
  • ·Slack post in #eng-mornings before your coffee
  • ·Draft PR when the fix is small and safe
  • ·Triage note when it isn't — no surprise commits
  • ·You sleep through the bug-triage rotation
CS / RevOps

Predict churn 30 days before it happens

~22s · 5 tools · writes a local /admin/* page + draft email
cursor~/myapp
Find behaviors that predict churn. Compare users who churned last month vs users who renewed. Build a saved cohort of at-risk users I can email.
Got it — I'll build two cohorts (April churners + renewers), diff their pre-decision behavior, save a live at_risk_users cohort, then write a local /admin/churn-risk page with the chart + a draft save email.
agentry_create_cohort (churned_april)
87 users matched
agentry_create_cohort (renewed_april)
412 users matched
agentry_analytics_query (behavior_diff, 60-30d window)
4 high-signal events · comment_added −95%
agentry_create_cohort (at_risk_users, live)
31 paying users match · auto-refreshes daily
Write (src/pages/admin/churn-risk.astro)
104 lines · chart + draft save email
Wrote src/pages/admin/churn-risk.astro
localhost:4321/admin/churn-risk
Strongest signal

comment_added drops 95% before churn

Built from April · 87 churners vs 412 renewers · 60–30d before decision
At-risk now
31
comment_added strongest signal renewers 8.2/mo · −95%
team_member_invited renewers 0.31/mo · −94%
first_query_run renewers 14.8/mo · −86%
$pageview renewers 38.7/mo · −84%
★ insight

Collaboration goes to zero first — content events follow. Churn is predictable 30 days out from behavior, not from billing signals.

at_risk_users · live cohort auto-refreshes daily
To: paddy@startup.io
Subject: paddy, are we still useful?
Hey paddy — noticed your team's usage dropped over the past month. That's usually one of two things: you've outgrown us, or something's in the way. Either way I'd love to hear from you — what changed?
Tools used
  • agentry_create_cohort ×2 (churners + renewers)
  • agentry_analytics_query
  • agentry_create_cohort (live at_risk_users)
  • agentry_get_distinct_id_summary
  • Write (local .astro page)
You get
  • ·A live at_risk_users cohort, refreshes daily
  • ·A drafted save email per at-risk account
  • ·A local page at /admin/churn-risk
  • ·Lead indicator (comment_added) — 30 days early
  • ·Hook up Resend / SendGrid to auto-send

None of these are Agentry features. Your agent builds whatever you ask on top of the data. See more examples →

Why this exists

The interface changed.

Modern observability tools were designed for humans clicking dashboards. AI agents change the interface.

Agents can:
  • build customized views
  • automate operational workflows
  • generate integrations
  • analyze trends and suggest improvements
  • investigate incidents and fix bugs

Agentry is designed from the ground up for agentic software development.

Features

What's in the box.

Built for AI agents as the primary user, not humans clicking dashboards.

ONE EVENT STORE

Logs, errors, analytics, and deploys land in the same project. One key, one dataset, one query surface.

NO SERVER-SIDE MAGIC

Agentry stores; the MCP transforms. Every transformation lives in your node_modules — reviewable in 30 seconds, reproducible offline.

CASES & SUPPRESSION

Duplicate errors collapse into one case by fingerprint. Your agent records suppression rules — noise teaches itself out.

DEPLOY-AWARE DEBUGGING

Automatically correlate regressions with releases and commits. One tool call answers "what shipped before this broke?".

AGENT-GENERATED OPS

Queries become conversations. Dashboards become customized artifacts. Ask, your agent runs the SQL and writes the page.

WEBHOOKS & AUTOMATIONS

Signed webhooks on any event. Cron jobs your agent writes. Automate fixes, reports, and alerts — your code runs, not ours.

FAQ

Questions you might have.

Compatible with Sentry?

Yes — drop-in. Point your existing Sentry SDK at Agentry's /v1/store/{project_id}/. The wire format is Sentry's literal event schema (event_id, exception.values, stacktrace.frames). Auth accepts X-Sentry-Auth and sentry_key.

Compatible with PostHog?

Yes — and PostHog is the analytics backend under the hood. Each Agentry user gets a provisioned PostHog project. PostHog-shaped clients drop in at /v1/track/. Your analytics keep working; you just get an agent-first interface on top.

Do I need to use Claude Code?

No. Agentry speaks MCP, so it works with any MCP client — Cursor, Windsurf, Cline, Codex, or your own. We optimize for Claude Code because that's what we use, but nothing's tied to it.

Do I even need to install the MCP?

No. Point any agent at https://agentry.sh/agentry.md — it's the canonical reference. The agent reads it, understands the full API surface (storage + retrieval + queries), and can drive everything via plain HTTP. The MCP is the accelerator: stateful auth, structured tool calls, local stack unmangling. Both paths reach the same outcome.

What languages does this support?

Anything that can POST JSON. There is no SDK to install — your agent generates a 25-line fetch helper at install time, tuned to your stack. Reviewable in 30 seconds, no vendor dependency to vet, no upgrade cycle.

Does the server transform my data?

No. Agentry's HTTP API is the data plane — storage, retrieval, queries. Transformations (stack unmangling, fingerprinting, formatting) run locally in your MCP, where the code sits in your node_modules. If a translation looks wrong, read it and reproduce it offline. No server-side magic.

What about humans who want a dashboard?

Your agent writes the dashboard as a real page in your repo. You can commit it, edit it, and ship it. No SaaS UI to learn — and no permanent dashboard config rotting over time.

Do you train AI on my data?

No. We never run LLMs server-side. The agent that reads your data is your Claude Code (or other MCP client) running on your machine. Your data stays in your Agentry project.

Agentry isn't trying to replace Sentry's source-map polish or PostHog's cohort-analysis depth. We sit on top of both worlds with a single ingest, an MCP-shaped output, and a workflow that ends in a PR instead of a notification.

Install

Paste this to your agent.

Install https://agentry.sh/agentry.md and set it up
Works with any agent, any language, any framework
Claude Code
Cursor
Codex
VS Code
Zed
JetBrains
Neovim
Claude Code
Cursor
Codex
VS Code
Zed
JetBrains
Neovim
TypeScript
JavaScript
Python
Go
Rust
Ruby
Java
PHP
Elixir
Kotlin
Swift
.NET
TypeScript
JavaScript
Python
Go
Rust
Ruby
Java
PHP
Elixir
Kotlin
Swift
.NET
Next.js
React
Vue
Svelte
Astro
Nuxt
Remix
Express
Hono
FastAPI
Django
Rails
Laravel
Next.js
React
Vue
Svelte
Astro
Nuxt
Remix
Express
Hono
FastAPI
Django
Rails
Laravel