jev-java
Unofficial dependency-free Java 21 client for Jev with typed Choice, Score and Noul answers and confidence helpers.
Overview
jev-java by CMaintz is a small, dependency-free Java client for Jev built on java.net.http and an internal JSON codec, requiring Java 21. It is the Java counterpart of the same author's .NET SDK: you send a state map and typed questions (Choice with described options, Score with ordered levels, Noul) and get typed answers with confidence for thresholding, with the idea of running Jev on everything and escalating only low-confidence cases.
It is unofficial and not yet on Maven Central, so you build a jar from source or use a Gradle composite build. The client reads TYPESAFE_API_KEY.
What the decision model decides
| Type | Question | Answers |
|---|---|---|
| Choice | Which team should handle this ticket? | billing · technical · sales |
| Score | How frustrated does the customer appear? | Calm, just stating facts · Frustrated but civil · Very angry |
| Yes / no | Does the customer ask for a refund? | — |
How it works
- Build the jar or include as a composite build
- JevClient.fromEnvironment()
- Call systemOne with state and questions
- Act on confident answers; escalate others
Strengths
- No runtime dependencies
- Typed answers with confidence
Caveats
- Not on Maven Central yet
- Unofficial
Getting started
`git clone https://github.com/CMaintz/jev-java.git && cd jev-java && ./gradlew jar`.At a glance
- Type
- Library
- Status
- beta
- Language
- Java
- Runtime
- Java 21 library
- Has code
- yes
Use cases and integrations
How curated lists describe it
Unofficial Java SDK for TypeSafe AI.
wh000wh000/awesome-jev-live
Frequently asked questions
Which Java version?
Java 21 or newer.
How do I install it?
Build from source; it is not yet on Maven Central.
Is it official?
No.
Related projects
Hack Club's lightweight LLM proxy, listed for adding a Jev forwarding endpoint behind its auth, limits and usage logging.
MCP serverproductionTypeScriptAx, a DSPy-style multi-language LLM framework, listed with a native TypeSafe provider for Boolean, Choice, Score and raw Jev questions.
PluginproductionTypeScriptEffect TypeScript library whose @effect/ai-typesafe package maps classify, probability and rating operations to Jev questions.
ProjectproductionTypeScriptPHP monorepo whose Polyglot module adds a TypeSafe driver for typed Noul, Choice and Score decisions alongside LLM inference.
ProjectproductionPHPGo MCP server giving any client typed Jev decisions via OpenRouter or TypeSafe, with validated answers and no paid retries.
MCP serverproductionGoSimon Willison's LLM plugin that adds Jev as a model for yes/no, choice and score questions from the command line.
PluginproductionPython