Grep knows text. Scalex knows Scala.
~1000 lines. Zero compilation. Zero build server. Just answers.
AI agents don't need regex. They need structured, Scala-aware responses in a single tool call.
Point it at any git repo with Scala files. Works on Scala 2 and 3, auto-detects dialect per file.
Tested on the Scala 3 compiler itself. Native binary, GraalVM.
| Project | Files | Symbols | Cold Index | Warm Index |
|---|---|---|---|---|
| Small library | 92 | 259 | ~50ms | ~10ms |
| Mill build tool | 1,415 | 12,778 | 214ms | 50ms |
| Production monorepo | 13,958 | 214,803 | 3.3s | ~1s |
| Scala 3 compiler | 17,731 | 202,916 | 3.1s | 723ms |
The fastest way — installs the binary + skill in one step.
Download the binary to ~/.local/bin, then grab the skill.