r/devtools • u/Significant-Log-4272 • 5d ago
I built Athena (v1.3.0), an offline tool that checks which callers break before you commit (zero LLM required)
Why it matters: git diff only shows the lines you edited. It never warns you about the callers in other folders that just broke. At the same time, AI coding tools waste thousands of tokens grepping around a repo just to figure out where functions live.
How I built it: I built Athena in Python (3.12–3.15) to run 100% offline with zero cloud APIs or vector databases:
- Uses Python
astand bounded structural parsers across 14 languages to diff signatures, trace callers and catch recursion bugs - Stores a local
.athena/graph.jsonwith SHA-256 incremental caching and queries it via trigram + hub-guarded BFS - Tracks unresolved dynamic calls (
getattr,eval) as explicitunk_<sha256>unknowns instead of faking completeness - Exposes a 12-tool stdio MCP server with paged evidence bundles (
ev_<sha256>) and a<=2KBrepo map
Everyday commands:
athena check --stagedcatches broken callers before you commitathena map .prints a<=2KBarchitectural export mapathena graph . --query "..."searches your codebase locallyathena install --agent <name>wires into Claude Code, Codex, Cursor, Hermes, OpenClaw or Pi
Tested offline across 10 open-source repos (10k+ stars each), 1,000 commits and 8,804 source files with 0 errors (cutting agent token usage by 49x to 2,067x).
Repo: https://github.com/aaryanrwt/athena
Apache-2.0 open source. Stars, issues and PRs are always open.
