JevNet 0.2.1

dotnet add package JevNet --version 0.2.1
                    
NuGet\Install-Package JevNet -Version 0.2.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="JevNet" Version="0.2.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="JevNet" Version="0.2.1" />
                    
Directory.Packages.props
<PackageReference Include="JevNet" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add JevNet --version 0.2.1
                    
#r "nuget: JevNet, 0.2.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package JevNet@0.2.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=JevNet&version=0.2.1
                    
Install as a Cake Addin
#tool nuget:?package=JevNet&version=0.2.1
                    
Install as a Cake Tool

JevNet

JevNet is a typed .NET client for TypeSafe AI and its Jev System One model, with first-class OpenRouter support.

Turn text or structured application state into typed decisions: probabilities, labels, scores, classifications, and routing outcomes.

JevNet is a community project. It is not affiliated with or endorsed by TypeSafe AI.

Install

dotnet add package JevNet

Set TYPESAFE_API_KEY in the process environment, or provide an API key through TypeSafeClientOptions.

Quick start

using Jev;

using var client = new TypeSafeClient();

var result = await client.SystemOneAsync(
    new
    {
        subject = "Duplicate charge",
        message = "I was charged twice. Please refund the duplicate.",
    },
    new Dictionary<string, Question>
    {
        ["department"] = Question.Choice(
            "Which team should handle this?",
            new Dictionary<string, JevValue?>
            {
                ["billing"] = "Charges, invoices, subscriptions, and refunds",
                ["support"] = "Product questions and technical problems",
                ["other"] = null,
            }),
    });

Console.WriteLine(result.GetChoice("department").Choice);

All network methods are asynchronous and accept a CancellationToken.

Why JevNet?

  • Typed Noul, Choice, and Score questions and answers
  • Structured state without manual JSON construction
  • TypeSafe AI and OpenRouter through the same client
  • Configurable timeouts, retries, cancellation, and custom headers
  • Typed exceptions with status, request ID, response details, and retry information
  • No runtime package dependencies in the core package

Dependency injection

For IHttpClientFactory and Microsoft.Extensions.DependencyInjection integration:

dotnet add package JevNet.Extensions.DependencyInjection

Documentation and support

Licensed under the MIT License.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on JevNet:

Package Downloads
JevNet.Extensions.DependencyInjection

.NET dependency injection for JevNet, the typed TypeSafe AI, Jev System One, and OpenRouter SDK.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.1 36 9/24/2026
0.2.0 52 9/23/2026
0.1.0 47 9/22/2026

Improved NuGet discoverability with clearer metadata, project links, a new package icon, and package-specific README documentation.