ai-spend
Track AI API costs across providers in one local CLI dashboard
What XERJ indexed
Snapshot
The whole repository at commit 3e684b9b65. It is the newest commit on main.
Selected work

Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
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
- How does ai-spend implement cli?
- Show the cost-tracking code in ai-spend.
Inside the indexed corpus
- 95 files, 559.4 KB in total, about 5.9 KB per file.
- Languages by size: Python 62.9%, Shell 32%, Roff 4.8%, PLpgSQL 0.3%.
- On GitHub since 2026-02-19, last push 2026-09-03, 55 commits on main.
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
- Search JSON and JSONL logs plus gzip logs in one folder ai-spend is tagged observability on GitHub.
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
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
James C. YoungAPI design and specification corporaagentopssimonw-llmdunorth595--xrpl-agent-logantonio-mello-ai/chopsMMALI3287/vibewattAndreyKilanov/logfold
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.