Novolis.Agent.Testing 2026.1.1.33

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

Novolis

Novolis · Docs · Source

Novolis.Agent.Testing

Fake IAgentHost, in-memory IAgentChannel, and helpers for Agent Surface unit/integration tests without binding HTTP or stdio transports.

Install

dotnet add package Novolis.Agent.Testing

Depends on Novolis.Agent.Core.

Quick start — fake host

using Novolis.Agent.Core;
using Novolis.Agent.Testing;

var host = new FakeAgentHost
{
    SnapshotResponse = new AgentSnapshot { /* … */ },
};

var result = host.Execute(new AgentCommand { ActionId = "ping" });
Assert.True(result.Ok);
Assert.Single(host.Executed);

host.RaiseChanged("inventory updated");
host.RaiseDecision("buy ore");

Quick start — in-memory channel

await using var channel = new InMemoryAgentChannel();
channel.EnqueueInbound(new AgentFrame(
    Sequence: 1,
    Kind: AgentFrameKinds.Request,
    Method: AgentMethodNames.Hello,
    Payload: ReadOnlyMemory<byte>.Empty));
// Transport loop reads via channel.ReadFramesAsync; tests assert via ReadOutboundAsync
var reply = await channel.ReadOutboundAsync();

Pair with Novolis.Agent.Surface transport tests by driving IAgentChannel directly.

API

Type Role
FakeAgentHost Mutable Hello / Snapshot / Actions; records Execute calls
FakeAgentHost.Executed Commands passed to Execute
FakeAgentHost.SubscribeCount / ContinueCount Subscription / continue gate counters
FakeAgentHost.RaiseChanged / RaiseDecision / RaiseActionResult Fire host events
InMemoryAgentChannel Duplex IAgentChannel over unbounded channels
InMemoryAgentChannel.EnqueueInbound Inject client → host frames
InMemoryAgentChannel.ReadOutboundAsync Read host → client replies in tests
Package Role
Novolis.Agent.Core IAgentHost, IAgentChannel, DTOs, AgentMethodNames
Novolis.Agent.Surface Transports and surface document (test with fake host)

Dogfooding

Used by novolis-agent tests and any app that attaches Agent Surface but needs fast in-process host/channel coverage.

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
2026.1.1.33 38 10/4/2026
2026.1.1.32 48 10/4/2026
2026.1.1.31 47 10/2/2026