system-one
.NET 10 client and examples for Ollama's System One decision API, covering ticket classification and tic-tac-toe.
Overview
This repository shows how to use Ollama's System One decision API from .NET 10. Ollama's System One takes a state and questions with explicit criteria and returns structured results (a choice, a yes/no probability or a score), the same shape as Jev's interface but served locally. It includes a shared HTTP client and models library and two runnable examples using the nimble and tev1:4b models.
The support ticket example evaluates the responsible team (choice), whether a refund was explicitly requested (noul) and urgency (score), printing probabilities and confidence. The tic-tac-toe example has you play X while System One chooses an empty square as O from the legal moves, which the application validates locally. The model and server URL can be overridden with environment variables. Outputs are illustrative and vary by model.
What the decision model decides
| Type | Question | Answers |
|---|---|---|
| Choice | Which team is responsible for this ticket? | billing · technical · other |
| Yes / no | Was a refund explicitly requested? | — |
| Score | How urgent is this ticket (0-2)? | — |
| Choice | Which empty square should O take? | — |
How it works
- Run Ollama locally and pull a decision model
- Build state and questions in .NET
- Call the System One endpoint
- Use the structured result in the app
Strengths
- Fully local with Ollama
- Simple .NET client
Caveats
- Uses Ollama's System One, not TypeSafe's Jev
- Small example repository
Getting started
ollama pull nimble, dotnet build SystemOne.sln, then dotnet run --project examples/SupportTicket/SupportTicket.csproj.At a glance
- Type
- Library
- Status
- prototype
- Language
- C#
- Runtime
- .NET 10 + Ollama
- Has code
- yes
Use cases and integrations
How curated lists describe it
A .NET 10 client and runnable examples for Ollama.
wh000wh000/awesome-jev-live
Frequently asked questions
Does this use Jev?
No; it uses Ollama's System One API with local models like nimble and tev1.
What do the examples show?
Ticket classification with choice, noul and score, and a tic-tac-toe opponent.
What do I need?
.NET 10 SDK and Ollama 0.35 or later.
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.
ServicebetaGoTypeScript library for one-line local decisions with open models (kev-0.6b, kev-4b, open-jev), no API keys or cloud.
ProjectbetaTypeScriptSwift 6 bridge that runs System One decision models behind Apple's Foundation Models API, on device with Laya or via hosted endpoints.
ProjectbetaSwiftPHP library, extracted from LLPhant, for typed Jev Noul, Choice and Score calls, also usable with a Laya endpoint.
LibrarybetaPHPUnofficial Rust gateway routing /v1/systemone requests to TypeSafe, Vercel, OpenRouter or local Laya via an editable DAG.
ProxybetaRustLocal service to define, test and publish versioned Jev judgment functions, callable over HTTP by backends and over MCP by agents.
MCP serverbetaTypeScript