Nexus.Memory 0.3.0

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

Nexus

CI .NET 10 License: MIT

Production-Grade Multi-Agent Runtime For .NET

Build agents, workflows, tools, memory, approvals, protocol bridges, and runtime guardrails in one coherent platform.

Nexus is for teams that want multi-agent systems to behave like engineered software: testable, observable, composable, benchmarked, and ready to operate under real constraints.

Why Teams Pick Nexus

  • 🚀 Orchestrate single agents, DAG workflows, parallel branches, fan-out/fan-in graphs, and batched sub-agents
  • 🛡️ Enforce approvals, budgets, guardrails, retries, and checkpointing in the runtime instead of hiding control flow inside prompts
  • 🧠 Combine tools, memory, messaging, and workflow DSLs without inventing custom orchestration glue
  • 🔌 Expose the system through MCP, A2A, AG-UI, and ASP.NET Core hosting endpoints
  • 📊 Track token usage, estimated cost, benchmark hot paths, and validate behavior with deterministic tests
  • 🧪 Ship with test doubles, mocks, workflow tests, orchestration tests, CLI tests, and live integration coverage
  • 🧱 Keep architecture modular across core runtime, protocols, hosting, testing, and standard tools
  • ⚙️ Support human-in-the-loop execution, delegated specialist agents, and explicit workflow branching in the same stack
  • 📚 Offer recipes, guides, benchmarks, and architecture docs for both humans and LLM-assisted development

Architecture

flowchart TD
    DEFAULTS[Nexus.Defaults]
    HOST[Nexus.Hosting.AspNetCore]
    PROTOCOLS[Nexus.Protocols.Mcp • Nexus.Protocols.A2A • Nexus.Protocols.AgUi]
    DSL[Nexus.Workflows.Dsl]
    ORCH[Nexus.Orchestration • Nexus.Orchestration.Checkpointing]
    LOOP[Nexus.AgentLoop • Nexus.Sessions • Nexus.Compaction]
    RUNTIME[Nexus.Memory • Nexus.Messaging • Nexus.Guardrails • Nexus.Permissions • Nexus.CostTracking • Nexus.Telemetry • Nexus.Auth.OAuth2]
    TOOLS[Nexus.Tools.Standard • Nexus.Commands • Nexus.Skills]
    CONFIG[Nexus.Configuration]
    CORE[Nexus.Core]

    DEFAULTS --> HOST
    DEFAULTS --> LOOP
    HOST --> PROTOCOLS
    PROTOCOLS --> ORCH
    DSL --> ORCH
    ORCH --> LOOP
    LOOP --> RUNTIME
    LOOP --> TOOLS
    RUNTIME --> CORE
    TOOLS --> CORE
    CONFIG --> CORE

Start Here

Recipes

Runnable Scenario Examples

Guides

Architecture Docs

API Docs

LLM Docs

Examples Docs

Project Structure

  • src: Core runtime, orchestration, checkpointing, memory, messaging, guardrails, permissions, cost tracking, telemetry, auth, protocols, standard tools, workflow DSL, hosting, and testing utilities
  • examples: CLI, minimal setup, multi-agent examples, and runnable recipe apps
  • tests: Unit, integration, live, CLI, orchestration, workflow, and runtime tests
  • benchmarks: Workflow and sub-agent benchmark suite
  • docs: Guides, recipes, LLM docs, API references, architecture, and getting started material

Test Coverage And Test Count

  • 389 tests passed in the latest full solution run across 25 test projects
  • Coverage metrics are collected via CI and updated with each release

Benchmark Results

  • benchmarks/Nexus.Benchmarks contains the workflow and sub-agent runtime benchmark suite
  • Latest measured results on the current workstation:
  • CompileWorkflow: 1.788 μs mean, 5.15 KB allocated
  • ExecuteWorkflow: 92.894 μs mean, 39.17 KB allocated
  • RunParallelSubAgents: 3.670 μs mean, 8.2 KB allocated
  • Full benchmark reports are written to BenchmarkDotNet.Artifacts/results

Credits

  • Built on .NET 10 and Microsoft.Extensions.DependencyInjection
  • AI abstraction layer powered through Microsoft.Extensions.AI
  • Workflow serialization support via YamlDotNet
  • Benchmarking via BenchmarkDotNet
  • Testing with xUnit and FluentAssertions
  • CLI presentation powered by Spectre.Console

License

MIT

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 (1)

Showing the top 1 NuGet packages that depend on Nexus.Memory:

Package Downloads
Nexus.Defaults

Batteries-included convenience wiring for Nexus.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.0 41 4/2/2026
0.2.1 37 4/2/2026
0.1.2 34 3/31/2026
0.1.1 33 3/31/2026