No Java SDK needed: one plain Java 25 file to call TypeSafe's Jev API
therealdanvega · x · 2026-09-18
Developer Dan Vega shared a minimal example for calling TypeSafe's Jev model from plain Java 25: a single file, no framework, no dependencies, just one HTTP call.
Setup: install JDK 25+, grab an API key from the TypeSafe console, and run TYPESAFEAPIKEY=your-key java HelloJev.java—Java compiles and runs the single file with no build tool. The demo sends a customer message about a failing Stripe integration and asks three structured questions in one request: urgency as a 0–1 probability, routing as a choice among billing/integrations/shipping, and severity as a 3-level score, showcasing Jev's noul/choice/score output types.
More from coding & agent
- Junior backend dev asks: is learning RAG, vector DBs and agents worth it yet? — Effective_Emphasis21 · 2026-09-18
- WebMCP draws developer buzz as a way to bring MCP into the browser — nickbaumann_ · 2026-09-18
- Demo: Claude with built-in Cowork and Artifacts builds a multiplayer game from one prompt — felixrieseberg · 2026-09-18
- Six Coding Agents Share the Same Plan Mode Shape but Split on Context After Approval — RunAI_Coder · 2026-09-18
- EvoSkill-GUI: training-free skill evolution lifts GUI agents by up to 16.2% — Bofan Chen · 2026-09-18
- Testing Non-Deterministic LLM Agent Pipelines with Property-Based Assertions — Repulsive_Sugar_5252 · 2026-09-18