Jev directory
CommunityJev Repos & SDKs
TypeSafe for Laravel
Unofficial community Laravel/PHP SDK for TypeSafe AI's System One decision model (Jev). Ask choice, score, and yes/no questions about text or data and get calibrated probabilities back, with a validation rule and test fakes included.
- Reading time
- 2 min
- Published by
- Community
- Added
- Nov 23, 2026
Highlights
- Requires PHP 8.2+ and Laravel 12 or 13; Laravel 11 is not supported.
- Supports choice, score, and yes/no (Noul) question types with calibrated probabilities.
- Ships a Laravel validation rule and test fakes for the decision calls.
- Config allows pinning a model such as jev-latest, jev-preview, or jev-1.13.0.
- Retries default to 3 extra attempts and fire only on HTTP 429 and 529.
Questions about this entry
Short answers drawn from the linked project or page.
Run composer require marcemarin/typesafe-laravel. It needs PHP 8.2+ and Laravel 12 or 13 (Laravel 13 itself needs PHP 8.3+). The service provider and the TypeSafe facade alias are auto-discovered, so no manual registration is required.
No. It is an unofficial community SDK written by Marcelo Marin and is not made, endorsed, or supported by TypeSafe AI, which ships only official Python and JavaScript SDKs. It is built on TypeSafe's public documentation, and where the docs and the README disagree, the docs win.
Three: Choice for picking among labeled options, Score for rating on named levels, and Noul for yes/no judgments. Results expose helpers such as value, normalized() for a 0.0 to 1.0 score, isTrue(threshold), and isConfident(threshold). Backed enums, thresholds, and uncertainty are also covered.
Add TYPESAFE_API_KEY to your .env. The model defaults to jev-latest and can be set with TYPESAFE_MODEL to jev-latest, jev-preview, or a pinned version such as jev-1.13.0. Other keys cover base_url, timeout (20 seconds default), retries, fail_open, and cache_store.
No. Laravel 11 is not supported: it no longer receives security fixes, and Composer refuses to install it because of unpatched advisories. Use Laravel 12 or 13 instead.
Yes to both. cacheFor() caches results using the configured cache_store, which defaults to your application's default store. Retries default to 3 extra attempts and are issued only on HTTP 429 and 529 responses.
The fail_open setting controls what the NoulRule validation rule does when the API cannot be reached. It defaults to false, so validation does not silently pass; set TYPESAFE_FAIL_OPEN to true if you prefer the check to let requests through during an outage.
Reactions & coverage
Posts, threads, and videos about this entry from around the web.
X: Agent Handoff Gate: agents verify what they hand off
X: Jev as an LLM guardrail inside Agentgateway
X: Vercel's fx safety reviewer, measured at 18× faster
Reddit: Early experiments wiring Jev into Pi as a safety layer and model router.
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.