Skip to content

Jev directory

Is Even AI

A parody Ruby gem that answers whether an integer is even by asking TypeSafe Jev or a frontier LLM instead of computing n % 2. It ships calibrated confidence gating, System 1 to System 2 escalation, opt-in refinements, and a CLI, with zero runtime dependencies.
Reading time
2 min
Published by
Community
Added
Nov 23, 2026

Highlights

  • Supports TypeSafe Jev (System One), OpenAI, Anthropic Claude, Google Gemini, and any OpenAI-compatible endpoint such as Ollama, Groq, or OpenRouter.
  • Confidence gate reads even at p >= 0.7 and odd at p <= 0.3; anything between escalates to a fallback provider or an on_uncertain proc.
  • Requires Ruby 3.2 or newer and has no runtime dependencies; HTTP goes through Net::HTTP.
  • Reads keys from TYPESAFE_API_KEY, OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY or GOOGLE_API_KEY, or IS_EVEN_AI_API_KEY.
  • The README states it is a parody and educational project, and that n.even? is faster, free, offline, and correct.

Questions about this entry

Short answers drawn from the linked project or page.

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