User repository on GitHub
Async Python client for TypeSafe Jev. Typed questions in, probabilities and choices out, no prose to parse.
- Forks
- 1
- Last pushed
- Updated Oct 2026
Repo stats from the GitHub API, cached Oct 2026.Homepage
Jev directory
User repository on GitHub
Async Python client for TypeSafe Jev. Typed questions in, probabilities and choices out, no prose to parse.
Repo stats from the GitHub API, cached Oct 2026.Homepage
Async Python client for TypeSafe Jev, the System One decision model. Jev answers typed questions about a state and returns values, so there is no text to parse. A Noul carries no confidence, because the probability is the whole answer. Every question in a call is evaluated in isolation against the same state, and the API answers them in parallel. Measured from the Netherlands on 2026-09-17:
Quoted from the project's README. Read the full README.
import asyncio
from jevclient import JevClient, Noul, Choice, Score
async def main():
async with JevClient("YOUR_API_KEY") as jev:
answers = await jev.ask(
"The front door has been unlocked for 40 minutes.",
{"warn": Noul("Should someone be warned?"),
"area": Choice("Which area?", {"security": "Locks", "climate": "Heating"}),
"urgency": Score("How urgent?", ["Ignore", "Today", "Right now"])},
)
print(answers["warn"].noul, answers["urgency"].score)
asyncio.run(main())Watch out
MIT-licensed and not affiliated with TypeSafe. Needs Python 3.12 and aiohttp; batching keeps latency flat, but question text is billed as input tokens while output is free.
Short answers drawn from the linked project or page.
Original write-ups on what this entry is for.
Posts from builders shipping with Jev right now.