FabrCore.Core 0.6.7

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

FabrCore

License NuGet

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.json is gitignored by default to prevent accidental secret commits.

Configuration

Orleans Clustering

FabrCore supports multiple Orleans clustering providers out of the box:

  • Azure StorageMicrosoft.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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on FabrCore.Core:

Package Downloads
FabrCore.Host

Orleans server host for the FabrCore agent framework

FabrCore.Client

Client library for connecting to FabrCore agents

FabrCore.Sdk

SDK for building AI agents with the FabrCore framework

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.6.17 119 4/17/2026
0.6.16 95 4/16/2026
0.6.15 109 4/15/2026
0.6.14 129 4/12/2026
0.6.13 101 4/12/2026
0.6.12 111 4/11/2026
0.6.11 101 4/11/2026
0.6.10 110 4/10/2026
0.6.9 131 4/8/2026
0.6.8 116 4/7/2026
0.6.7 98 4/7/2026
0.6.6 130 4/5/2026
0.6.5 99 4/5/2026
0.6.4 116 4/2/2026
0.6.2 125 4/1/2026
0.6.1 108 3/31/2026
0.6.0 130 3/31/2026
0.5.58 109 3/20/2026
0.5.57 102 3/20/2026
0.5.56 106 3/18/2026
Loading failed