jevbooks

← All projects

jev

dannote/jev

TypeSafe Jev for OTP: GenServer replies with Jev's answer for pattern matching.

What it is

An Elixir library that integrates TypeSafe Jev, a peer process, with OTP GenServers. It lets callers pattern match on Jev's answers directly, enabling non-blocking, concurrent decision-making in Elixir applications.

How it uses Jev

Jev makes decisions via typed questions (Choice, Score, Noul) on any JSON-encodable state. From a GenServer, you reply with questions; Jev's answer arrives as a message in handle_answer/3, where you pattern match on question names, confidence, and probabilities to route logic.

Primitives:choicescorenoul

Technique worth stealing

Use clause order and guards in handle_answer/3 to route based on Jev's confidence and answers, keeping network calls out of tests.

Try it

Add {:jev, "~> 0.1"} to deps, set TYPESAFE_API_KEY, and run mix ci or examples/triage.exs.

View on GitHub

judged by Jevjev-1.13.0

Evidence

Each line is one question put to Jev about the README. ≥ 0.60 reads as yes, ≤ 0.40 as no; in between Jev is not making a call.

  • Jev-centricyes0.81
  • Shows a System One patternyes0.73
  • Handles uncertaintyno0.07
  • Measuredno0.04
  • Runnableyes0.95
  • Worth recommendingyes0.62
  • Model replicano0.05
  • Problem scopescore on a 0–2 scale1.03
  • About Jevyes0.98

Signals by Jev jev-1.13.0, card written by DeepSeek V4.1 Flash from the README on 20 Sept 2026.