Legate 0.1.0
dotnet add package Legate --version 0.1.0
NuGet\Install-Package Legate -Version 0.1.0
<PackageReference Include="Legate" Version="0.1.0" />
<PackageVersion Include="Legate" Version="0.1.0" />
<PackageReference Include="Legate" />
paket add Legate --version 0.1.0
#r "nuget: Legate, 0.1.0"
#:package Legate@0.1.0
#addin nuget:?package=Legate&version=0.1.0
#tool nuget:?package=Legate&version=0.1.0
Legate
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 | Versions 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. |
-
net10.0
- Akka (>= 1.5.71)
- Akka.Cluster (>= 1.5.71)
- Akka.Cluster.Sharding (>= 1.5.71)
- Akka.FSharp (>= 1.5.71)
- Cronos (>= 0.13.0)
- FSharp.Core (>= 10.0.111)
- Legate.Abstractions (>= 0.1.0)
- Microsoft.Extensions.AI.Abstractions (>= 10.8.3)
- Microsoft.Extensions.Configuration (>= 10.0.3)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.3)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.3)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.3)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.3)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Options (>= 10.0.3)
- SixLabors.ImageSharp (>= 3.1.12)
- YamlDotNet (>= 15.3.0)
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 |