Skip to content

Repository files navigation

Sprig

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.

Start here

Install the published SDK, then create a project:

sprig init hello
cd hello
sprig resolve
sprig run

Build from source

JDK 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.sh

See contributor instructions and AI assistance disclosure. Contributions are welcome; the author remains responsible for reviewing generated changes, tests, licensing and correctness.

Apache-2.0 · Releases · 中文网站

About

Statically typed JVM language for people and coding agents: less to guess, easier to review. 面向人和编码 Agent 的 JVM 静态类型语言:少一点猜测,方便审查。 Experimental Beta.

Topics

Resources

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages