Tandemetry
See how humans and AI agents ship code together.
Open-source, self-hosted analytics for AI coding agents: compare agent vs human work in your repositories — merge rate, reverts, rework, CI failures, review load and cost per PR.
Status: early development (v0.1 in progress). Not ready for production use.
Why
AI agents now open a large share of pull requests, but teams can't tell whether that code is merged, reverted or rewritten — or which agent works best in their codebase. Tandemetry answers that from your own Git data, without sending code anywhere and without LLM calls.
What you will see
Every number is traceable: each PR is labelled agent, human or mixed by a transparent rule
(bot author, commit trailer, PR description, branch name), and the matched rule is stored with the
label. See agent attribution and the
signatures research.
How it works
GitHub webhooks and a history backfill feed Kafka. The attribution engine labels each event, ClickHouse computes the metrics, and Grafana and a metrics API read them. PostgreSQL holds the configuration. Details: architecture.
Principles
- Self-hosted. Your code and data stay in your infrastructure.
- Agent-agnostic. Claude Code, Codex, Copilot coding agent, Devin, Cursor and more.
- Outcomes, not activity. Reverts and rework, not just PR counts.
- No individual rankings. Teams, repositories and agents only.
- Deterministic. Transparent attribution rules, no LLM in the core.
Docs
License
Development
Requires uv.
uv sync
uv run pre-commit install
uv run pytest
uv run ruff check . && uv run ruff format --check .
uv run mypy
uv run tandemetry --version
Local service stack (Kafka, ClickHouse, PostgreSQL):
cp deploy/.env.example deploy/.env
docker compose -f deploy/docker-compose.yml --env-file deploy/.env up -d --wait
See deploy/README.md for verification and troubleshooting.
Metadata
Release files for tandemetry 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tandemetry-0.0.1.tar.gz | 5.2 kB | With provenance | Details for tandemetry-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tandemetry-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for tandemetry-0.0.1-py3-none-any.whl |
Total release size: 12.5 kB
Release files / tandemetry-0.0.1.tar.gz
| Download URL | tandemetry-0.0.1.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9c0709df5afc872137e25f3b90075e00ad55f9f0676dfa03a4e57c009873e45
|
|
BLAKE2b-256 checksum How to use checksums |
fd7d8c7bf54020227a855c9a52537925685fa643bf4539c6c4e663e077427219
|
| 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 7, 2026.
Transparency logRelease files / tandemetry-0.0.1-py3-none-any.whl
| Download URL | tandemetry-0.0.1-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7c3fe1be0b8832f07e8a49e2189cf2595e334bfa012a24d568954caab2ef5d9b
|
|
BLAKE2b-256 checksum How to use checksums |
87c7dd00ff959432a6a8d44d0e63f193445a5ecffaf0d1f319dc62df0b002da5
|
| 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 7, 2026.
Transparency logSecurity for tandemetry 0.0.1
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
Both files in this release have been uploaded with provenance metadata.
Attestation for tandemetry-0.0.1.tar.gz
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 7, 2026.
Transparency logA 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.