EntwineAgents.Runtime
0.1.2
dotnet add package EntwineAgents.Runtime --version 0.1.2
NuGet\Install-Package EntwineAgents.Runtime -Version 0.1.2
<PackageReference Include="EntwineAgents.Runtime" Version="0.1.2" />
<PackageVersion Include="EntwineAgents.Runtime" Version="0.1.2" />
<PackageReference Include="EntwineAgents.Runtime" />
paket add EntwineAgents.Runtime --version 0.1.2
#r "nuget: EntwineAgents.Runtime, 0.1.2"
#:package EntwineAgents.Runtime@0.1.2
#addin nuget:?package=EntwineAgents.Runtime&version=0.1.2
#tool nuget:?package=EntwineAgents.Runtime&version=0.1.2
EntwineAgents.Runtime
Typed agent shells for .NET. An agent = a prompt (loaded by key, host-overridable) + input shaping + typed parsing + graceful degrade — four overrides carry everything that is yours; the shell owns the loop.
sealed class TaglineAgent(IAgentChat chat, IPromptSource? prompts = null) : Agent<string, string>(chat, prompts)
{
protected override string Key => "quickstart.tagline.system";
protected override string FallbackPrompt => "You write one short, punchy product tagline.";
protected override bool Json => false;
protected override string BuildUser(string product) => $"Product: {product}";
protected override string Parse(string raw) => raw.Trim();
protected override string OnFailure => "(the model was unavailable)";
}
Also included:
BatchAgent<TItem, TResult>— classify many items: chunking, per-batch retry, position-aligned parsing, per-item degrade (a mangled batch never discards your items).IAgentChat/IPromptSource— the ports agents consume, with standalone defaults.ChatProviderAgentChat— bridges anyEntwineAgents.Aiprovider to the agent seam.JsonText.Unfence— strips the markdown fences models love to wrap JSON in.
Part of EntwineAgents — a lean, composable agent runtime for .NET.
| 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
- EntwineAgents.Ai (>= 0.1.2)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.7)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on EntwineAgents.Runtime:
| Package | Downloads |
|---|---|
|
EntwineAgents.Prompts
Prompt management for .NET agents: versioned templates, per-client override, cached fallback reads, persistence behind a port, and an HTTP egress source for database-free hosts. |
GitHub repositories
This package is not used by any popular GitHub repositories.