ZeroAgent.Core
1.0.0
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
<PackageReference Include="ZeroAgent.Core" Version="1.0.0" />
<PackageVersion Include="ZeroAgent.Core" Version="1.0.0" />
<PackageReference Include="ZeroAgent.Core" />
paket add ZeroAgent.Core --version 1.0.0
#r "nuget: ZeroAgent.Core, 1.0.0"
#:package ZeroAgent.Core@1.0.0
#addin nuget:?package=ZeroAgent.Core&version=1.0.0
#tool nuget:?package=ZeroAgent.Core&version=1.0.0
๐ค ZeroAgent: Sovereign Pure C# Cognitive Agent & Multi-Agent Swarm Framework
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.
- Seamlessly integrates with
- Multi-Agent Swarm (
AgentSwarm):- Peer-to-peer agent messaging via
ZeroConcurrency.ZeroChannel. - Supervisor / Worker hierarchy with structured task handoffs.
- Peer-to-peer agent messaging via
- Zero External Dependencies & Multi-Targeting:
- Pure C# implementation compatible with
.NET 8.0+,.NET Framework 4.6.2+, and.NET Standard 2.0.
- Pure C# implementation compatible with
๐ 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 | Versions 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. |
-
.NETFramework 4.6.2
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.5)
- System.Text.Json (>= 8.0.5)
- System.Threading.Tasks.Extensions (>= 4.5.4)
- ZeroConcurrency (>= 1.0.0)
- ZeroPrimitives.Core (>= 1.7.0)
- ZeroTokenizer.Core (>= 1.0.0)
- ZeroVector.Core (>= 1.0.0)
-
.NETStandard 2.0
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.5)
- System.Text.Json (>= 8.0.5)
- System.Threading.Tasks.Extensions (>= 4.5.4)
- ZeroConcurrency (>= 1.0.0)
- ZeroPrimitives.Core (>= 1.7.0)
- ZeroTokenizer.Core (>= 1.0.0)
- ZeroVector.Core (>= 1.0.0)
-
net8.0
- ZeroConcurrency (>= 1.0.0)
- ZeroPrimitives.Core (>= 1.7.0)
- ZeroTokenizer.Core (>= 1.0.0)
- ZeroVector.Core (>= 1.0.0)
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.