Jev directory
CommunityJev Integrations & Adapters
Standard Agents TypeSafe Provider
First-party TypeSafe AI decision provider for Standard Agents. It implements DecisionProviderInterface with kind 'decision' and decide(), sending explicit context and multiple independent questions to Jev in one request.
- Reading time
- 2 min
- Published by
- Community
- Added
- Nov 2026
Highlights
- Implements DecisionProviderInterface with kind 'decision' and a decide() method.
- Evaluates multiple independent questions against one shared context in a single POST /v1/systemone request.
- Supports choice questions with up to 255 options, score questions with 2-10 ordered levels, and boolean questions.
- Answers return 0-1 probabilities and confidence; boolean results are never coerced to JavaScript booleans.
- Install with pnpm add @standardagents/typesafe and supply a key via TYPESAFE_AI_API_KEY.
Questions about this entry
Short answers drawn from the linked project or page.
Run pnpm add @standardagents/typesafe, then set TYPESAFE_AI_API_KEY in local .dev.vars or production secrets for BYOK. Import typesafe from the package and pass it as the provider to state.decide().
A result containing the resolved model, named answers, standard usage, and provider metadata. Choice answers carry choice, probabilities, and confidence; score answers carry score, legend, probabilities, and confidence; boolean answers carry a probability.
Choice questions accept up to 255 options, and score questions accept 2 to 10 ordered levels. Use null for a choice option that needs no extra description.
No. Boolean answers come back as a probability between 0 and 1, converted from the native noul type, and are never coerced to JavaScript booleans. Your application chooses and validates a threshold.
No. Context is explicit, as a string, JSON object, or array, and you select relevant conversation content yourself. If an answer belongs in history, call state.injectMessage() explicitly.
The context you pass plus each question's instructions, options, levels, or criteria, all evaluated in one POST /v1/systemone request. Images, audio, video, and binary data must be pre-processed into text or structured fields.
No. Provider and platform destinations come only from trusted instance-admin or deployment configuration; user or thread URL overrides cannot redirect inherited credentials. Hosted requests require a platform-owned TypeSafe credential.
Reactions & coverage
Posts, threads, and videos about this entry from around the web.
Facebook: Intake Router keeps diagnosis out of the answer space at the front desk.
FacebookClinicnotes
X: OpenRouter Decision Model Rankings
X: herdr + jev, an agent router
X: A group chat bot with decision room routing
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.