Sprig does not try to make coding agents smarter. It tries to give them less to guess.
Sprig is an experimental, statically typed JVM language for people building tools, automation and application code. Agent-friendly should also mean review-friendly: inspectable source, explicit signatures, compiler queries and structured diagnostics help people verify what changed.
The latest published SDK is v0.5.0-beta.1; it requires a separate JDK 17+. Linux and macOS are release-supported. Windows is an experimental preview. Sprig uses a Java stage-0 compiler and is not self-hosted. Check the release status and installed sprig capabilities --json for the exact implemented feature set.
- Beginner tutorial
- 中文教程
- Try the local Task Tracker
- Browse application examples and first-party libraries
- Gradle/JVM and Fabric integration with a runnable SDK starter
- Language, JVM and tooling references
Install the published SDK, then create a project:
sprig init hello
cd hello
sprig resolve
sprig runJDK 17+, Python 3.12+, Node.js 20+/npm and Git are needed for the full developer gate. The first build downloads pinned ANTLR and Maven Resolver tools.
git clone https://github.com/ColinHouse/Sprig.git
cd Sprig
python3 scripts/build.py
./scripts/verify.shSee contributor instructions and AI assistance disclosure. Contributions are welcome; the author remains responsible for reviewing generated changes, tests, licensing and correctness.