ANcpLua.Agents.Testing.BitNet
4.0.1
dotnet add package ANcpLua.Agents.Testing.BitNet --version 4.0.1
NuGet\Install-Package ANcpLua.Agents.Testing.BitNet -Version 4.0.1
<PackageReference Include="ANcpLua.Agents.Testing.BitNet" Version="4.0.1" />
<PackageVersion Include="ANcpLua.Agents.Testing.BitNet" Version="4.0.1" />
<PackageReference Include="ANcpLua.Agents.Testing.BitNet" />
paket add ANcpLua.Agents.Testing.BitNet --version 4.0.1
#r "nuget: ANcpLua.Agents.Testing.BitNet, 4.0.1"
#:package ANcpLua.Agents.Testing.BitNet@4.0.1
#addin nuget:?package=ANcpLua.Agents.Testing.BitNet&version=4.0.1
#tool nuget:?package=ANcpLua.Agents.Testing.BitNet&version=4.0.1
ANcpLua.Agents.Testing.BitNet
xUnit v3 fixture that auto-manages a local BitNet (bitnet.cpp llama-server) Docker
container and exposes an IChatClient for tests.
[Collection("BitNet")]
public sealed class MyTests(BitNetFixture bitnet)
{
[Fact]
public async Task Generates()
{
Assert.SkipUnless(bitnet.IsAvailable, "BitNet not running");
var response = await bitnet.ChatClient!.GetResponseAsync("hello");
Assert.NotNull(response.Text);
}
}
Endpoint discovery: BITNET_URL → auto-managed digest-pinned Docker container
(inspect-before-pull, /health wait) → legacy http://localhost:8080.
BitNet is a local test-double / system-under-test — not an authoritative judge. A 1.58-bit 2B model is below the reliable LLM-as-judge threshold (~≥14B) and, on emulated CPU, impractically slow. See the repo's
docs/bitnet-not-a-judge.md.
| 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
- ANcpLua.Agents.BitNet.Core (>= 4.0.1)
- ANcpLua.Roslyn.Utilities (>= 2.2.27)
- Microsoft.CodeAnalysis.CSharp (>= 5.3.0)
- Microsoft.Extensions.AI (>= 10.7.0)
- System.ClientModel (>= 1.10.0)
- xunit.v3.extensibility.core (>= 3.2.2)
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 |
|---|---|---|
| 4.0.1 | 99 | 6/28/2026 |
| 4.0.0 | 90 | 6/28/2026 |
| 4.0.0-preview.4 | 51 | 6/28/2026 |
| 4.0.0-preview.3 | 51 | 6/27/2026 |
| 4.0.0-preview.2 | 74 | 6/26/2026 |
| 4.0.0-preview.1 | 54 | 6/26/2026 |