neurolink
Juspay's TypeScript AI SDK with decide as a third inference type next to generate and stream, backed by Jev or Laya.
Overview
NeuroLink is a TypeScript-first SDK from Juspay that connects applications to many LLM providers, including OpenAI, Anthropic, Google, AWS, Azure, Mistral and local runtimes like Ollama, through one interface. It describes itself as the pipe layer of an AI nervous system: providers generate intelligence and NeuroLink carries it as streams to the application. A curated registry of 64 models and 132 aliases backs routing and context-window checks, with hundreds more reachable through LiteLLM and OpenRouter.
Besides generate and stream, it offers decide, which returns a calibrated boolean, choice or score judgment instead of text. According to the list summaries, TypeSafe Jev and Laya serve as decision providers. The README example asks whether a refund ticket can be approved without human review and reads back a probability; tryDecide returns null when no decision provider is configured. It is extracted from production systems at Juspay.
What the decision model decides
| Type | Question | Answers |
|---|---|---|
| Yes / no | Approve without human review. | true · false |
| Choice | Choice question passed to decide() | — |
| Score | Score question passed to decide() | — |
How it works
- Create a NeuroLink instance and configure providers.
- Call decide or tryDecide with state and typed questions.
- Read probabilities from the answers object.
- Fall back (tryDecide returns null) when no decision provider is set.
Strengths
- One SDK for text generation and typed decisions.
- Swap providers with a single parameter.
- Built from production use at Juspay.
Caveats
- Decision quality depends on the configured provider.
- Large SDK if you only need decisions.
Getting started
npm install @juspay/neurolink, then const pipe = new NeuroLink(); await pipe.tryDecide({ state, questions }).At a glance
- Type
- Library
- Status
- production
- Language
- TypeScript
- Runtime
- Node
- Has code
- yes
- Has tests
- yes
Use cases and integrations
How curated lists describe it
Provider abstraction: the pipe layer of an AI nervous system — Juspay's TypeScript interface connecting provider neurons to an application, with `decide` as a first-class inference type alongside generate and stream.
yibie/awesome-jevThe pipe layer of an AI nervous system — one interface connecting provider…
wh000wh000/awesome-jev-liveThe pipe layer of an AI nervous system: TypeScript SDK connecting provider neurons — including TypeSafe Jev and Laya for `decide` — to an application across generate/stream/decide.
cobanov/awesome-jev
Frequently asked questions
What is decide in NeuroLink?
A third inference type that returns calibrated boolean, choice or score answers instead of text.
Which providers back decide?
The list summaries name TypeSafe Jev and Laya.
What if no decision provider is configured?
tryDecide returns null so your code can fall back.
Related projects
Unofficial Rust gateway routing /v1/systemone requests to TypeSafe, Vercel, OpenRouter or local Laya via an editable DAG.
ProxybetaRustGo gateway that puts local and hosted System One models behind one TypeSafe API, with a local Laya router choosing Laya or Jev.
ServicebetaGoCommunity .NET 10 SDK giving one API for choice, score and assessment over Microsoft-Decision-1, Ollama or native Jev.
PluginbetaC#Python client that sends one Choice/Score/Noul request down a fallback chain of hosted and local decision models with confidence gates.
LibrarybetaPythonElixir client for System One decision models (Jev, Clef, OpenAI Decisions, OpenRouter, self-hosted) returning full distributions.
LibrarybetaElixirSession-aware OpenAI-compatible gateway that routes chat requests by task type, scale and rigor, optionally via Jev Choice questions.
ServicebetaPython