telltale
telltale is a small library that records what goes wrong when people and AI agents use your web app, and collects their feedback. You copy it into the app’s backend (FastAPI or Express) and frontend. From then on the app:
- records its own errors, slow requests, and dead ends, such as a search that found nothing
- labels each request by who sent it: a person in a browser, your own command-line tool, an AI agent, a crawler, or a script
- takes feedback from a button in the page, from one API call, or from an MCP tool
- keeps all of it in its own database and shows it in a console, where you decide what to fix
An optional reviewer agent reads the same data on a schedule and drafts GitHub issues. A person reads each draft and files it.
Features
Section titled “Features”- Agents and people, counted apart. Agents fail in places people rarely do: they guess at endpoints and send queries no form would produce. Because every request is labeled, you can see when agents get a 422 on one endpoint ten times as often as people.
- Repeats grouped. A thousand copies of one error show up as one line with a count.
- Private by default. Paths are stored as route patterns, emails and tokens are scrubbed out of any text, and user ids are hashed with a key that changes every day. Request bodies and query values are never stored.
- Feedback from anyone. People get a React button. Agents get an endpoint listed in your OpenAPI file and a
send_feedbackMCP tool. - Python or Node. The FastAPI and Express packages share one data model and one API. Data goes in Postgres, MySQL or SQLite, in the app’s own database.
- Nothing to install. One script copies telltale into your repo, and running it again updates it.
Documentation map
Section titled “Documentation map”- Tutorial: new to telltale? Getting started adds it to an app and shows you your first error and feedback note in the console.
- How-to guides: label your agents, add feedback to an app with sign-in, put the console inside your app, take feedback from agents, and run the reviewer.
- Reference: configuration, the browser package, and the API.
- Explanation: how it works, including what telltale stores and what it refuses to store.
The code is at github.com/databio/telltale, under the BSD 2-Clause license.