Local CLI plotting AI spend against engineering throughput
Project description
AI Eng Audit
Plot AI tool spend against engineering throughput on a shared chart. Local, open-source, one command.
What it is
Over the last year a lot of teams burned real money on Claude, Cursor, Copilot, and the rest. The invoices are clear; the output is not.
The tool reads your local git history, PR data, and (optionally) the billing CSV you export from your AI vendor, putting spend and shipped output on the same timeline. You see:
- total AI spend over the window, broken out by month
- PRs merged to the default branch and the L1 ship rate
- PRs opened and then closed, merged and then reverted, or open for too long
How to use it
export GITHUB_TOKEN=ghp_xxxxx
pip install ai-eng-audit
ai-eng-audit scan --repo /path/to/your/repo --window 90d \
--billing ~/Downloads/anthropic_cost.csv \
--billing ~/Downloads/openrouter_activity.csv
Python 3.11+. Generate a GITHUB_TOKEN PAT at https://github.com/settings/tokens with repo scope.
--billing can be repeated. Currently supports the Anthropic Console cost export and the OpenRouter Activity export (auto-detected by header). Omit --billing to get the git + PR report only.
Add --format json for JSON output. Metric definitions, supported vendors, and scope-alignment rules are in docs/methodology.en.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ai_eng_audit-0.2.0.tar.gz.
File metadata
- Download URL: ai_eng_audit-0.2.0.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bb990ec218a2c0529b00f3f5c0d7819601870120a010e0f840a84d656d04c4f
|
|
| MD5 |
fe1954d4b037c4b7a0c5389eca66506c
|
|
| BLAKE2b-256 |
f340928967935c8755316a6f240d400844f3f5b05d02005218b5f3ffd73e66b0
|
File details
Details for the file ai_eng_audit-0.2.0-py3-none-any.whl.
File metadata
- Download URL: ai_eng_audit-0.2.0-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea4ad90aebb3366364299447e45e944c45e5f0b4283284b492be58b669d08a86
|
|
| MD5 |
6918d83cf8eebffc63c7b428a162db11
|
|
| BLAKE2b-256 |
c56c1c16451eb991cacb20b21b87801c2fd2daf91c62e8557f9366320ac37f76
|