ZeroAgent.Core 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package ZeroAgent.Core --version 1.0.0
                    
NuGet\Install-Package ZeroAgent.Core -Version 1.0.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="ZeroAgent.Core" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ZeroAgent.Core" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="ZeroAgent.Core" />
                    
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 ZeroAgent.Core --version 1.0.0
                    
#r "nuget: ZeroAgent.Core, 1.0.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 ZeroAgent.Core@1.0.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=ZeroAgent.Core&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=ZeroAgent.Core&version=1.0.0
                    
Install as a Cake Tool

๐Ÿค– ZeroAgent: Sovereign Pure C# Cognitive Agent & Multi-Agent Swarm Framework

License: MIT .NET Multi-Targeting Zero External Dependencies

ZeroAgent is an enterprise-grade, deterministic AI Agent framework engineered in 100% pure C# for .NET. It resides in Tier 5 (Presentation & Orchestration) of the ZeroPlatform ecosystem, providing autonomous ReAct execution loops, zero-reflection tool calling, semantic episodic memory via ZeroVector, and CSP-based multi-agent coordination.


โšก Key Capabilities

  • Deterministic ReAct Execution Loop:
    • Implements the Reasoning-Action cognitive cycle ($\text{Thought} \to \text{Action} \to \text{Observation} \to \text{Final Answer}$).
    • Built-in iteration limits, timeout cancellation, and tool error recovery.
  • Fast Tool Calling (AgentToolRegistry):
    • Strongly typed delegate registration for C# methods.
    • Sub-microsecond tool dispatch without heavy reflection overhead.
  • Episodic & Working Memory:
    • Seamlessly integrates with ZeroVector (Tier 2) to store and recall long-term semantic embeddings in sub-millisecond time.
    • Integrates with ZeroTokenizer (Tier 3) to enforce strict context window limits.
  • Multi-Agent Swarm (AgentSwarm):
    • Peer-to-peer agent messaging via ZeroConcurrency.ZeroChannel.
    • Supervisor / Worker hierarchy with structured task handoffs.
  • Zero External Dependencies & Multi-Targeting:
    • Pure C# implementation compatible with .NET 8.0+, .NET Framework 4.6.2+, and .NET Standard 2.0.

๐Ÿš€ Quick Start

1. Register Tools and Run ReAct Agent

using ZeroAgent.Core.Context;
using ZeroAgent.Core.Engine;
using ZeroAgent.Core.Tools;

// Register domain tools
var tools = new AgentToolRegistry();

tools.Register("GetMotorVibration", "Queries sensor vibration (mm/s) for a given motor ID.", (int motorId) =>
{
    return $"Motor #{motorId} vibration: 8.4 mm/s (Warning Threshold: 7.0 mm/s)";
});

tools.Register("TriggerShutdown", "Shuts down a machine node safely.", (int motorId) =>
{
    return $"Motor #{motorId} successfully shut down.";
});

// Configure Agent
var agent = new ReActAgent("Diagnostician", "Industrial maintenance specialist", tools);

// Execute goal
var context = new AgentContext("Analyze Motor #3 vibration and shut it down if it exceeds threshold.");
AgentResponse response = await agent.ExecuteAsync(context);

Console.WriteLine($"Agent Final Response: {response.Output}");

๐Ÿ“„ License

Architected and developed by Phong Vรต (kzxl). Released under the MIT License.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on ZeroAgent.Core:

Package Downloads
ZeroAgent.Dialog

Deterministic Semantic Task-Oriented Dialogue System and Multi-Tier Agentic Memory Engine (Non-LLM) for ZeroAgent.

ZeroAgent.Tools

Industrial and Operational Toolset for ZeroAgent (PLC Modbus, Gorilla TSDB Query, Host Telemetry, Columnar DataFrame, and HITL Safety Gates) in 100% pure C#.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.0 0 10/1/2026
1.1.1 0 10/1/2026
1.1.0 0 10/1/2026
1.0.0 31 9/30/2026