Jev directory
CommunityJev Repos & SDKs
TypeSafe.AI
Unofficial .NET SDK for TypeSafe AI, published as TypeSafe.AI 1.0.1 for .NET 10.0. It builds Noul, Choice, and Score questionnaires fluently and calls System One through an injected ITypeSafeClient.
- Reading time
- 2 min
- Published by
- Community
- Added
- Nov 23, 2026
Highlights
- Unofficial .NET SDK targeting .NET 10.0, installed with dotnet add package TypeSafe.AI
- NativeAOT and trimming compatible, using System.Text.Json source generation instead of reflection
- Questions.Build creates Noul, Choice, and Score questions in one fluent chain
- HTTP resilience from Microsoft.Extensions.Http.Resilience (Polly v8): retries, rate-limit backoff, per-attempt timeouts, deadline budgets
- OpenTelemetry ActivitySource tracing emits model, token usage, request IDs, and structured diagnostics
Questions about this entry
Short answers drawn from the linked project or page.
Run dotnet add package TypeSafe.AI for the stable 1.0.1 release on NuGet.org. Preview builds are published on GitHub Packages on every pull request and require a nuget.config with a GitHub source and token, installed with the --prerelease flag.
The README describes it as an unofficial, enterprise-ready .NET SDK for TypeSafe AI. It is published on NuGet as TypeSafe.AI 1.0.1 and is not presented as an official TypeSafe package.
Use builder.Services.AddTypeSafeClient(options => options.ApiKey = ...), or AddTypeSafeClient(builder.Configuration) to bind the TypeSafe configuration section, then resolve ITypeSafeClient from the host service provider.
Through Questions.Build, a fluent builder that chains Noul (yes/no), Choice (multiple choice), and Score (rubric) questions. Noul returns a probability from 0.0 to 1.0, with roughly 0.5 indicating uncertainty.
HTTP resilience powered by Microsoft.Extensions.Http.Resilience (Polly v8) provides automated retries, rate-limit backoff, per-attempt timeouts, and total deadline budgets.
A typed exception hierarchy including TypeSafeAuthenticationException, TypeSafeRateLimitException, and TypeSafeTimeoutException, carrying request IDs, response bodies, and Retry-After headers.
The package targets .NET 10.0 and is compatible with that framework or higher. Projects on earlier .NET versions cannot consume it, so check your target framework before adopting it.
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.