Skip to content

SystemOneSharp

.NET 10 client for TypeSafe Jev and Jev-compatible Laya servers returning typed Choice, Score and Noul answers.

LibrarybetaMIT

Overview

SystemOneSharp is an unofficial .NET 10 HTTP client for the System One API. It sends a POST /v1/systemone request to TypeSafe's hosted Jev or to a local Jev-compatible Laya server and returns typed Choice, Score and Noul answers. A fluent request builder adds options, levels and yes/no questions, and responses expose helpers such as GetChoice, GetScore and GetNoul.

The library has no runtime package dependencies and the caller owns the HttpClient. State can be a string, JsonNode, JsonElement or serializable object, with reflection-free serialization supported. For local Laya, users set a base URI and can name a checkpoint to override automatic routing. It suits .NET developers who want one client that works against both hosted and self-hosted decision models; the README also mentions Microsoft AI integrations. It is MIT licensed and not affiliated with TypeSafe or Laya.

What the decision model decides

TypeQuestionAnswers
ChoiceWhich team should handle this?billing · support
ScoreHow urgent is this?routine · soon · critical
Yes / noDoes the customer ask for a refund?—

How it works

  1. Configure SystemOneClient with an API key or a local base URI.
  2. Build a request with state and typed questions.
  3. Call DecideAsync.
  4. Read typed answers and apply your own thresholds.

Strengths

  • Works against hosted Jev and local Laya with the same code.
  • No runtime dependencies.
  • Reflection-free serialization option.

Caveats

  • Requires .NET 10.
  • Unofficial client.

Getting started

dotnet add package SystemOneSharp

At a glance

Type
Library
Status
beta
Language
C#
Runtime
.NET 10
Has code
yes
Has tests
yes
License
MIT

Use cases and integrations

How curated lists describe it

Frequently asked questions

Can it talk to local models?

Yes, point BaseUri at a Jev-compatible Laya server; an API key is only needed if the server requires one.

Which .NET version is needed?

.NET 10.

Is it official?

No, it is community-maintained and not endorsed by TypeSafe or Laya.

Related projects

  • Go harness for System One models: hosted Jev, open Kev in-process via llama.cpp, and Cloudflare Clef, with typed helpers and a CLI.

    ServicebetaGo
  • TypeScript library for one-line local decisions with open models (kev-0.6b, kev-4b, open-jev), no API keys or cloud.

    ProjectbetaTypeScript
  • Swift 6 bridge that runs System One decision models behind Apple's Foundation Models API, on device with Laya or via hosted endpoints.

    ProjectbetaSwift
  • PHP library, extracted from LLPhant, for typed Jev Noul, Choice and Score calls, also usable with a Laya endpoint.

    LibrarybetaPHP
  • Unofficial Rust gateway routing /v1/systemone requests to TypeSafe, Vercel, OpenRouter or local Laya via an editable DAG.

    ProxybetaRust
  • Zero-dependency local gateway and live visualiser that proxies Jev calls, logs every decision to SQLite and draws them on a real-time map.

    ProxybetaJavaScript