Skip to content

CloJev

Unofficial portable Clojure SDK for the TypeSafe System One API, with question constructors, validation, retries and JVM or Jolt backends.

Librarybeta

Overview

CloJev is an independent Clojure SDK for the TypeSafe System One API. It sends state and typed questions to POST /v1/systemone, lists models through GET /v1/models, and returns validated Clojure data. It is explicitly unofficial and uses the TypeSafe, Jev and System One names only to identify the compatible API.

Features include Noul, Choice and Score question constructors, keyword or string question ids, response validation, exponential retries with jitter and Retry-After support, structured API and transport errors, a default JVM backend on java.net.http.HttpClient, a native Jolt backend, and a portable .cljc core with replaceable transport and platform protocols. It reads TYPESAFE_API_KEY, TYPESAFE_DEFAULT_MODEL and TYPESAFE_BASE_URL.

What the decision model decides

TypeQuestionAnswers
OtherWhatever Noul, Choice or Score questions the Clojure application builds(inferred)—

How it works

  1. Add CloJev via deps.edn
  2. Build questions with the constructors
  3. Call the API
  4. Receive validated Clojure data

Strengths

  • No Java interop layer needed
  • Portable core with swappable transport
  • Robust retries and errors

Caveats

  • Unofficial
  • Install from Git (no release artifact noted)

Getting started

Add io.github.antlobach/clojev with :git/url https://github.com/antlobach/clojev.git to deps.edn and set TYPESAFE_API_KEY.

At a glance

Type
Library
Status
beta
Language
Clojure
Runtime
JVM or Jolt
Has code
yes
Has tests
yes

Use cases and integrations

How curated lists describe it

  • Clojure ecosystem: unofficial portable Clojure SDK for System One, so Clojure applications can put typed questions to Jev without a Java interop layer.

    yibie/awesome-jev

Frequently asked questions

Is it official?

No, it is an independent SDK.

Which runtimes?

JVM (Clojure 1.12+, Java 11+) and Jolt 0.8.9+.

Does it handle rate limits?

Yes, with exponential retries and Retry-After support.

Related projects

  • Hack Club's lightweight LLM proxy, listed for adding a Jev forwarding endpoint behind its auth, limits and usage logging.

    MCP serverproductionTypeScript
  • Ax, a DSPy-style multi-language LLM framework, listed with a native TypeSafe provider for Boolean, Choice, Score and raw Jev questions.

    PluginproductionTypeScript
  • Effect TypeScript library whose @effect/ai-typesafe package maps classify, probability and rating operations to Jev questions.

    ProjectproductionTypeScript
  • PHP monorepo whose Polyglot module adds a TypeSafe driver for typed Noul, Choice and Score decisions alongside LLM inference.

    ProjectproductionPHP
  • Go MCP server giving any client typed Jev decisions via OpenRouter or TypeSafe, with validated answers and no paid retries.

    MCP serverproductionGo
  • Simon Willison's LLM plugin that adds Jev as a model for yes/no, choice and score questions from the command line.

    PluginproductionPython