Skip to content

Article

LLMs Generate. Jev Decides. Inside a Java Invoice App

Mariano Barcia splits an invoice pipeline by semantics: the generative model extracts supplier, number, and amount, while Jev's two Choice questions handle supplier evidence and property selection, with policy left in Java.
Format
Article
Reading time
2 min
Published by
Community
Author
Mariano Barcia
Last verified
Oct 2026

Highlights

  • Invoice Assistant at Mokapot Labs runs on The Pipeline Framework, an open-source framework for typed processing applications.
  • Before: Gemma 12B extracted, classified supplier evidence, selected a property, and explained. After: it only extracts three fields.
  • Jev answers two Choice questions — supplier evidence and property — and deterministic Java policy routes review versus vision analysis.
  • TypeSafe published Python and JavaScript/TypeScript SDKs but no official Java SDK, so the team built a reusable Java client.
  • The revised prompt shrank to extraction plus explicit do-nots for classifying, selecting, and explaining, which moved to Jev.

Watch out

A single production anecdote, not a benchmark: no accuracy, latency, or cost figures are given for Jev or the pipeline. The Java client is specific to The Pipeline Framework, and the article predates any official Java SDK, so check TypeSafe's current SDK list before copying the approach.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

X: How the agent stack moved in Jev's first three days

YouTube: Diogo Almeida tells swyx what System One is, why RLHF failed his automation goal, and why AI should eventually disappear.

X: The 10-step roadmap, summarised

X: Giving your agents a decision brain

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai