Log date · Sun
Can AgenTag identify AI coding agents?
AgenTag attributes agents mainly from PR and commit text in its dataset; teams should record and review AI-assisted changes.
The answer: useful signals are not proof of authorship
AgenTag can distinguish coding agents in its research dataset, but relies mainly on PR descriptions and commit messages; it is not proof of who authored arbitrary code. [1] The paper reports weighted F1 of 0.96 and macro F1 of 0.84 for agent attribution, balanced F1 of 0.89 for AI versus human PRs, and AUC of 0.84 for detecting unseen agents.
We used Node.js on three synthetic records with identical code: one labelled, one unlabelled and one deliberately mislabelled. All three pairs had identical code; a marker check returned true twice and false once. The result shows how recording changes the visible evidence and why a label needs verification.
| Question | Finding |
|---|---|
| What data did the paper use? | 33,580 PRs from five agents and 6,618 human PRs. |
| Where was the signal? | Mainly descriptions and messages; code diffs added little. |
| What did the toy sample show? | Three identical code pairs; two markers matched, one deliberately false. |
What the paper measured
At 03:35 UTC on 2026-08-02, arXiv received v1 of “AgenTag: Attribution of AI Coding Agents from Behavioral Fingerprints”, in cs.SE. [1] The author represents PRs through text, behavior and code features and compares conventional classification with supervised contrastive learning. The paper also reports that behavioral fingerprints remain after explicit self-disclosure markers are removed.
Weighted and macro F1 aggregate classes differently, so read them together: 0.96 does not mean every agent is equally easy to identify. AI-versus-human classification, naming an agent and detecting an unseen agent are different tasks; their metrics are not interchangeable. The subjects are PRs in those repositories, not binaries or cloned apps, and five agents do not establish transfer to other agents or private repositories.
The deployment setting matters too: team templates, language, review habits and agent versions can change the text available as evidence. When evaluating an attribution method, separate training and evaluation data in advance and examine false positives in the target repositories and time period. A judgment about one change needs reviewable context, not just an aggregate score.
Local comparison: identical code, different records
We wrote the same pricing function and three messages, then used Node.js 20.19.5 to hash the code with SHA-256 and match an exact marker. The third record deliberately carries a false label to distinguish a present label from a truthful one. This is a toy illustration using another tool, not a run of AgenTag or a reproduction of its classification results.
function price(n) { return 120 + n * 17; }
// Message marker in two records:
// AI-Assisted: yesThe three digests below match, while marker results are true, false and true. The digest compares the code bytes we supplied; it does not tell us who wrote them. A marker is a declaration that can be omitted or wrong, so it cannot automatically establish what participation occurred.
labelled: code_sha256=5d34622c775d0b184fb33d4b78b5c6218b8ea7ac13f4d97a49120419d3cd3f22 marker=true
unlabelled: code_sha256=5d34622c775d0b184fb33d4b78b5c6218b8ea7ac13f4d97a49120419d3cd3f22 marker=false
mislabelled: code_sha256=5d34622c775d0b184fb33d4b78b5c6218b8ea7ac13f4d97a49120419d3cd3f22 marker=true
identical code pairs: 3Build a useful team record
Agree on a consistent trailer or PR label and ask contributors to describe the scope: generated code, a suggested approach, or help with tests. Git interpret-trailers can add or parse structured trailers in commit messages. [2] It handles text, not the truth of the declaration; reviewers still need to examine the change, discussion and build records.
Require human review of obfuscation configuration, keep rules, signing, notarization and build pipelines in particular. Labels help find changes that need context; they do not replace review. Define agent session permissions, keep signing keys and store credentials out of direct reach, and record any approved exceptions.
| Case | Recommendation |
|---|---|
| Internal AI-assisted change | Record the scope and retain human review. |
| Sensitive release configuration | Require designated reviewers and restrict agent access. |
| Suspected product cloning | Preserve signed artifacts, build logs and history; do not rely only on style. |
| Missing or disputed label | Ask contributors and correlate other records; absence does not prove human authorship. |
Check your own repository
Inspect recent commit bodies in a repository you are authorized to review. Git log supports formatting commit history. [3] The parse command below checks only the latest commit; inspect PR metadata and the final commit according to your merge workflow, since merging or rewriting commits can change the text retained.
# In your own repository:
git log -10 --format=full
git log -1 --format=%B | git interpret-trailers --parseSample labels against PR discussions, verify that designated people actually reviewed sensitive paths, and retain signed release artifacts, build logs and internal history linked to the release. When information is missing, recover context and improve the process rather than inferring a person or tool from style alone. Periodically verify that the record survives the merge strategy in use, rather than discovering gaps during an audit.
Your checklist
- Agree on an AI participation marker and record its scope.
- Check that final commits and PR metadata retain the marker.
- Require human review for sensitive configuration and release scripts.
- Restrict agent access to signing keys and store credentials.
- Retain signed artifacts, build logs and history linked to each release.
Primary sources
- arXiv: AgenTag: Attribution of AI Coding Agents from Behavioral Fingerprints (2608.00966) · Source date 2026-08-02 · Checked 2026-10-12
- Git: git-interpret-trailers · Checked 2026-11-11
- Git: git-log · Checked 2026-11-11