Legate 0.1.0

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

Legate

CI NuGet

A durable Akka.NET runtime for tool-using AI agents.

Legate is an agent harness for .NET. You register it in a host (ASP.NET Core, a generic host, or a CLI), point it at one or more LLM providers, hand it tools (MCP servers, AIFunctions, built-ins), and it runs sessions: long-lived conversations with an agent that you can prompt at any time, steer while it is working, abort, resume after a crash, and replay.

The mental model is the backend of an agentic CLI such as OpenCode, Codex, or Claude Code: a session, one primary verb (the user sends a message), a stream of events back, and the ability to answer, steer, or abort while the agent works. Two hosts are first-class:

  • A CLI harness: a single process, no database server, tools acting on the user's working directory, tool calls that can require approval.
  • A hosted service: many tenants, clustered nodes, Postgres and S3, sandboxed workspaces, headless sessions with webhooks.

Sessions are durable, lease-protected, and cluster-sharded when you want that, and plain in-process when you do not. Every infrastructure concern (session store, event journal, blob storage, workspace runtime, LLM admission, permissions) sits behind an interface with a default implementation.

Status

First public release: Legate 0.1.0 is published to nuget.org. The API described in Docs/ARCHITECTURE.md is still being built out; expect breaking changes between 0.x releases.

Building

Requires the .NET 10 SDK.

dotnet fsi build.fsx -- -t Build        # restore + build
dotnet fsi build.fsx -- -t Test         # build + run all tests
dotnet fsi build.fsx -- -t Format       # format F# with the pinned Fantomas
dotnet fsi build.fsx -- -t CheckFormat  # non-mutating format gate (CI)
dotnet fsi build.fsx -- -t Pack         # Release NuGet packages into ./artifacts

Local actor system

Cluster:Mode = Local (the default) starts an in-process Akka.NET actor system with no remoting or clustering, fronted by a session router that spawns one identity-only child per session id. Graceful shutdown drains within Cluster:ShutdownGraceSeconds (default 30s).

Cold start is measured by ActorSystemColdStartTests (look for legate-local-cold-start-ms in the test output): ~15 ms on a Windows dev machine, against a target of well under the few-hundred-milliseconds start-to-first-token budget. Akka stays for single-node on these numbers.

Contributing

See CONTRIBUTING.md. Contributions are accepted under the Individual Contributor License Agreement (CLA.md); accept it once on your first pull request.

License

Apache License 2.0. See LICENSE and NOTICE.

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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0 48 9/25/2026