Observed since 21 Oct, 10:13 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A local-first metrics tool that analyzes how you use AI coding assistants.
Quantify how much AI actually contributes to your codebase.
CodeStat is a local metrics tool that analyzes how you use AI coding assistants:
how many lines are generated by AI, how many are kept, and how this evolves over time.
中文文档见:
README.zh-CN.md
Global dashboard for all data
Multi‑dimension queries
Agent / model comparison
Local‑first & privacy‑friendly
Nice CLI UX
TODO: add real screenshots / GIFs from your terminal
Global dashboard
(insert GIF or screenshot here)
Session metrics with diff lines
(insert GIF or screenshot here)
git clone https://github.com/2hangchen/CodeStat.git
cd CodeStat
pip install -r requirements.txt
Once published to PyPI you can alternatively run:
pip install codestat-ai
python .\cli\main.py
Use ↑/↓ to move, Enter to confirm.
Choose “📈 Global Dashboard (All Data)” to see an overview of your local metrics.
Measure your own AI usage
CodeStat and inspect:
Compare agents / models / prompts
Project‑level health check
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.0.1 | 5 Feb 2026 | 9 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 10:13 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:acd8157fb49d852ec0a75a8dd7c0c13b47454f386710a995f17b8940c7e34fa3