Laya 26.9.5740

dotnet add package Laya --version 26.9.5740
                    
NuGet\Install-Package Laya -Version 26.9.5740
                    
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="Laya" Version="26.9.5740" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Laya" Version="26.9.5740" />
                    
Directory.Packages.props
<PackageReference Include="Laya" />
                    
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 Laya --version 26.9.5740
                    
#r "nuget: Laya, 26.9.5740"
                    
#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 Laya@26.9.5740
                    
#: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=Laya&version=26.9.5740
                    
Install as a Cake Addin
#tool nuget:?package=Laya&version=26.9.5740
                    
Install as a Cake Tool

Laya

Typed decisions for .NET, in one forward pass — no Python, no PyTorch, no native dependency.

Laya answers typed questions (choice, score, noul) about any state — text, an email, a ticket, a JSON document — and returns a calibrated probability distribution for each answer. Ask five questions about one ticket and five answers come back in a single call. Nothing is generated, so there is no prompt to tune, no JSON to parse and nothing to hallucinate. It runs on the CPU, on managed SIMD, inside your own process.

using Laya;
using Laya.Io;
using Laya.Runtime;

// Downloads the English checkpoint on first use (~843 MB) into ~/.cache/laya.
using var agent = RemoteCheckpoint.English.Load();

var result = agent.SystemOne("We were billed twice for March, please refund it.", Presets.Triage());

Console.WriteLine(result["intent"].Choice);             // refund
Console.WriteLine(result["refund_requested"].Noul);    // 0.90
Console.WriteLine(result["intent"].Confidence);        // normalised entropy of the distribution

Checkpoints

No model data ships in this package. A checkpoint is downloaded on first use from https://models.curiosity.ai/laya/ into ~/.cache/laya (or $LAYA_HOME, or $HF_HOME/laya) and reused from there afterwards:

RemoteCheckpoint encoder params max tokens download
English ModernBERT-large 421M 512 843 MB
Multilingual mmBERT-base 322M 1024 644 MB
TypedDecisions ModernBERT-large 421M 1024 843 MB
RemoteCheckpoint.Multilingual.Prepare(progress: new Progress<DownloadProgress>(p => …));
RemoteCheckpoint.Multilingual.IsDownloaded();   // cached? then Load() never touches the network

Downloads resume where they stopped, and two processes starting at once share one download. LAYA_MODEL_BASE_URL points them at a mirror with the same layout. Agent.Load() fetches a checkpoint from the Hugging Face hub instead, and Agent.FromDirectory(path) loads one from disk.

Apache-2.0. (c) Copyright 2026 Curiosity GmbH - all rights reserved. Laya itself is Copyright (c) 2025 Convai Innovations. See LICENSE and NOTICE in this package.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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.
  • net10.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Laya:

Package Downloads
Laya.Training

Fine-tuning for Laya decision checkpoints on the CPU: backpropagation through ModernBERT and the typed decision head, the RLCD objective, AdamW and temperature calibration.

Laya.Catalyst

Statistical language identification for Laya's router, backed by Catalyst's language detector.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
26.9.5740 233 9/23/2026
26.9.5739 57 9/23/2026
26.9.5568 284 9/20/2026
26.9.5567 90 9/20/2026
26.9.5547 112 9/19/2026