ai-spend

Track AI API costs across providers in one local CLI dashboard

A new way for AI to search for data
View on GitHub
0GitHub stars
55commits on main
0forks
v0.3.0latest release, 2026-07-20

Python 62.9%, Shell 32%, Roff 4.8%, PLpgSQL 0.3% · created 2026-02-19 · last push 2026-09-03

What XERJ indexed

Snapshot

95 files · 559.4 KB

The whole repository at commit 3e684b9b65. It is the newest commit on main.

Selected work

James C. Young
@AreteDriver

Licence

The repository

NOASSERTION

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

NOASSERTION, with credit

The owner added it on hub.xerj.org after signing in with GitHub, on 2026-10-29. Same terms as the repository. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution

clicost-trackingllmobservabilitypython

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub did not match the LICENSE file of AreteDriver/ai-spend to a standard licence on 2026-10-31 (NOASSERTION). At commit 3e684b9b65 it was reviewed as NOASSERTION, and that is the licence the corpus uses.

Contributors

James C. Young (@AreteDriver) has 6 selected repositories on the hub.

Their other repository pages: AreteDriver/agent-lint, Arete-Consortium/animus, AreteDriver/arete-evals, AreteDriver/mcp-manager, AreteDriver/context-hygiene.

Using XERJ with ai-spend

The prompt

Paste it into your AI agent. It clones AreteDriver/ai-spend at the pinned commit and indexes it on your machine.

Search the GitHub repository AreteDriver/ai-spend with XERJ (https://hub.xerj.org/corpus/aretedriver--ai-spend).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/AreteDriver/ai-spend ai-spend && git -C ai-spend checkout 3e684b9b6584a4da2d609d5f0e2ea14ca0ee2830
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./ai-spend --url http://127.0.0.1:9200 --prefix ai-spend --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: check the LICENSE file. Keep the copyright notice and credit the authors.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.