Scalex
Scala code intelligence for coding agents. Zero Build Server. Zero Compilation. Just answers.
Last verified:
What is Scalex?
Scalex is a Scala code intelligence tool designed specifically for AI coding agents. It provides precise code search and context capabilities for Scala projects without requiring a build server or compilation. The tool indexes over 144,000 Scala symbols and delivers warm query responses in under 400 milliseconds.
Key features include zero build server requirement, zero compilation needed, instant code intelligence that works on any Scala repository, and support for Scala 2 and Scala 3. Scalex functions as a mini language server that provides context to LLMs for better code searching and understanding. It offers 29 different commands for code intelligence operations and works in text-based mode without build artifacts.
Scalex is designed for AI coding agents like Cursor, Windsurf, and Cline, as well as Scala developers who need fast code search capabilities. It's particularly useful for teams using AI-assisted development who need precise symbol resolution, find references, and go-to-definition functionality without the overhead of setting up Metals or other build tools.
Scalex pricing
Pricing model: Freemium
Free and open source. Available on GitHub at nguyenyou/scalex. No paid tiers mentioned.
Scalex pros
- Zero build server requirement
- Zero compilation needed
- Works without a build
- Gets smarter when you compile with SemanticDB
- 144k+ symbols indexed
- Under 400ms warm query response time
- Supports Scala 2 and Scala 3
- Read-only search tool
- 29 commands for code intelligence
- Works on any Scala repository instantly
- Compatible with Cursor, Windsurf, and Cline
- Mini language server for LLM context
- Text-based mode works without build artifacts
- SemanticDB hybrid mode for type-awareness
- Open source and free
Scalex cons
- Read-only search tool (no write capabilities)
- No semantic rename without fork
- No call-graph without fork
- No dead code detection without fork
- Requires git clone for installation
- Plugin setup required for agents
- Scala-specific (not multi-language)
- Limited to 29 commands base
Frequently asked questions about Scalex
What is Scalex?
Scalex is Scala code intelligence for AI coding agents. It provides zero build server, zero compilation code intelligence that just answers questions about Scala code. It indexes over 144k symbols with under 400ms warm query response time.
Does Scalex require a build server?
No, Scalex has zero build server requirement. It works without a build and provides code intelligence instantly on any Scala repository.
Does Scalex require compilation?
No, Scalex has zero compilation requirement. It works in text-based mode without needing compiled artifacts, though it gets smarter when you compile with SemanticDB.
Which Scala versions does Scalex support?
Scalex supports both Scala 2 and Scala 3, making it compatible with the full range of Scala projects.
How fast is Scalex?
Scalex delivers warm query responses in under 400 milliseconds and indexes over 144,000 Scala symbols.
Which AI coding agents support Scalex?
Scalex is compatible with Cursor, Windsurf, and Cline AI coding agents out of the box. It can be installed as a skill/plugin for these agents.
How do I install Scalex?
Install by running: git clone --depth 1 https://github.com/nguyenyou/scalex.git /tmp/scalex, then copy the skills folder to your agent's skills directory: cp -r /tmp/scalex/plugins/scalex/skills/scalex /path/to/your/agent/skills
What commands does Scalex provide?
Scalex provides 29 commands for code intelligence operations, functioning as a read-only search tool for Scala codebases.
Can Scalex work with SemanticDB?
Yes, Scalex supports SemanticDB hybrid mode. When compiled with -Xsemanticdb, it achieves type-awareness while still maintaining the ability to function without a build server.
Is Scalex free?
Yes, Scalex is free and open source, available on GitHub at nguyenyou/scalex. There are no paid tiers or pricing mentioned.