FabrCore.Client
0.6.5
See the version list below for details.
dotnet add package FabrCore.Client --version 0.6.5
NuGet\Install-Package FabrCore.Client -Version 0.6.5
<PackageReference Include="FabrCore.Client" Version="0.6.5" />
<PackageVersion Include="FabrCore.Client" Version="0.6.5" />
<PackageReference Include="FabrCore.Client" />
paket add FabrCore.Client --version 0.6.5
#r "nuget: FabrCore.Client, 0.6.5"
#:package FabrCore.Client@0.6.5
#addin nuget:?package=FabrCore.Client&version=0.6.5
#tool nuget:?package=FabrCore.Client&version=0.6.5
FabrCore
An Orleans-based framework for building distributed AI agent systems in .NET.
FabrCore provides the building blocks for creating, hosting, and connecting to AI agents that run as Orleans grains. Agents are durable, scalable, and communicate through a structured message-passing architecture.
Architecture
┌─────────────────────────────────────────────────┐
│ Your Application │
├──────────────────┬──────────────────────────────┤
│ FabrCore.Client │ FabrCore.Host │
│ ClientContext │ AgentGrain (Orleans) │
│ ChatDock (UI) │ API Controllers │
│ │ WebSocket Middleware │
├──────────────────┴──────────────────────────────┤
│ FabrCore.Sdk │
│ FabrCoreAgentProxy · TaskWorkingAgent · ChatClient │
├─────────────────────────────────────────────────┤
│ FabrCore.Core │
│ Interfaces · Data Models · Grain Abstractions │
└─────────────────────────────────────────────────┘
Packages
| Package | Description |
|---|---|
| FabrCore.Core | Core interfaces and data models for the FabrCore agent framework |
| FabrCore.Sdk | SDK for building AI agents — FabrCoreAgentProxy, TaskWorkingAgent, chat client extensions |
| FabrCore.Host | Orleans server host — grains, API controllers, WebSocket middleware, streaming |
| FabrCore.Client | Client library — ClientContext, ChatDock Blazor component |
Quick Start
1. Install packages
dotnet add package FabrCore.Host
FabrCore.Host pulls in FabrCore.Sdk and FabrCore.Core transitively. For client applications, add FabrCore.Client instead.
2. Create an agent
using FabrCore.Sdk;
using FabrCore.Core;
[AgentAlias("my-assistant")]
public class MyAssistantAgent : FabrCoreAgentProxy
{
public override async Task<AgentMessage> OnMessage(AgentMessage message)
{
// Create an AI-powered chat agent
var (agent, session) = await Host.CreateChatClientAgent(
modelName: "AzureProd",
instructions: "You are a helpful assistant."
);
var response = await agent.SendAsync(session, message.Text);
return message.ToReply(response);
}
}
3. Configure the host
var builder = WebApplication.CreateBuilder(args);
// Configure FabrCore with Orleans
builder.AddFabrCoreServer();
var app = builder.Build();
app.UseFabrCoreServer();
app.Run();
4. Configure model access
Copy FabrCore.json.example to FabrCore.json in your project root and fill in your API keys:
{
"ModelConfigurations": [
{
"Name": "AzureProd",
"Provider": "Azure",
"Uri": "https://your-resource.cognitiveservices.azure.com/",
"Model": "gpt-4.1-mini",
"ApiKeyAlias": "AZURE_KEY"
}
],
"ApiKeys": [
{
"Alias": "AZURE_KEY",
"Value": "your-api-key-here"
}
]
}
Note:
FabrCore.jsonis gitignored by default to prevent accidental secret commits.
Configuration
Orleans Clustering
FabrCore supports multiple Orleans clustering providers out of the box:
- Azure Storage —
Microsoft.Orleans.Clustering.AzureStorage - SQL Server (ADO.NET) —
Microsoft.Orleans.Clustering.AdoNet - Localhost — for development
Configure clustering through standard Orleans configuration in your host's appsettings.json.
WebSocket API
FabrCore includes WebSocket middleware for real-time agent communication. See the WebSocket documentation for protocol details and usage.
Client Library
The FabrCore.Client package provides ClientContext for connecting to agents and a ChatDock Blazor component for building chat UIs. See the Client documentation for details.
Building from Source
dotnet build src/FabrCore.sln
License
Licensed under the Apache License, Version 2.0.
See NOTICE for attribution requirements.
Contributing
Contributions are welcome! Please open an issue or pull request on GitHub.
| 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
- FabrCore.Core (>= 0.6.5)
- Markdig (>= 1.1.1)
- Microsoft.Data.SqlClient (>= 7.0.0)
- Microsoft.Orleans.Client (>= 10.0.1)
- Microsoft.Orleans.Clustering.AdoNet (>= 10.0.1)
- Microsoft.Orleans.Clustering.AzureStorage (>= 10.0.1)
- Microsoft.Orleans.Streaming (>= 10.0.1)
- OpenTelemetry.Api (>= 1.15.0)
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 |
|---|---|---|
| 0.6.17 | 100 | 4/17/2026 |
| 0.6.16 | 89 | 4/16/2026 |
| 0.6.15 | 93 | 4/15/2026 |
| 0.6.14 | 100 | 4/12/2026 |
| 0.6.13 | 82 | 4/12/2026 |
| 0.6.12 | 94 | 4/11/2026 |
| 0.6.11 | 93 | 4/11/2026 |
| 0.6.10 | 95 | 4/10/2026 |
| 0.6.9 | 97 | 4/8/2026 |
| 0.6.8 | 102 | 4/7/2026 |
| 0.6.7 | 80 | 4/7/2026 |
| 0.6.6 | 110 | 4/5/2026 |
| 0.6.5 | 86 | 4/5/2026 |
| 0.6.4 | 101 | 4/2/2026 |
| 0.6.2 | 94 | 4/1/2026 |
| 0.6.1 | 96 | 3/31/2026 |
| 0.6.0 | 86 | 3/31/2026 |
| 0.5.58 | 89 | 3/20/2026 |
| 0.5.57 | 91 | 3/20/2026 |
| 0.5.56 | 92 | 3/18/2026 |