Standard.AI.PeerLLM 0.1.2

dotnet add package Standard.AI.PeerLLM --version 0.1.2
                    
NuGet\Install-Package Standard.AI.PeerLLM -Version 0.1.2
                    
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="Standard.AI.PeerLLM" Version="0.1.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Standard.AI.PeerLLM" Version="0.1.2" />
                    
Directory.Packages.props
<PackageReference Include="Standard.AI.PeerLLM" />
                    
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 Standard.AI.PeerLLM --version 0.1.2
                    
#r "nuget: Standard.AI.PeerLLM, 0.1.2"
                    
#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 Standard.AI.PeerLLM@0.1.2
                    
#: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=Standard.AI.PeerLLM&version=0.1.2
                    
Install as a Cake Addin
#tool nuget:?package=Standard.AI.PeerLLM&version=0.1.2
                    
Install as a Cake Tool

Standard.AI.PeerLLM

Standard.AI.OpenAI

Build Nuget Nuget The Standard The Standard - COMPLIANT The Standard Community


🧠 Introduction

Standard.AI.PeerLLM β€” A standardized .NET library for PeerLLM, enabling developers to integrate AI-powered and decentralized intelligence into their .NET applications.

This library follows The Standard design and architectural principles β€” ensuring ethical, maintainable, and testable AI-driven software systems that can be trusted, evolved, and reused across teams and organizations.


🌐 What is PeerLLM?

PeerLLM is a decentralized, community-powered AI network where compute, data, and models are contributed by individuals (β€œhosts”).
Consumers of AI services β€” such as inference or fine-tuning β€” can access that distributed capacity securely and transparently.

Unlike traditional centralized AI providers, PeerLLM distributes ownership, computation, and benefit β€” allowing everyone to participate in the AI economy.

Key Pillars:

  • βš–οΈ Fairness & Transparency β€” Governance and accounting built into the network.
  • 🧩 Open Collaboration β€” Compute, data, and models shared through standardized APIs.
  • πŸ’‘ Democratized Access β€” AI for everyone, not just a few centralized providers.

πŸš€ Why .NET Developers Should Build on PeerLLM

PeerLLM gives .NET developers the power to build AI-driven applications that are private, distributed, and community-powered β€” all without relying on a single centralized provider.

By integrating your .NET app with the PeerLLM network, you can:

  • πŸ–₯️ Run Anywhere β€” Deploy on Windows, Linux, or macOS using familiar .NET tooling while connecting seamlessly to a global AI host network.
  • πŸ”’ Stay Private β€” Keep user data and chat history client-side or within your own infrastructure, with no centralized data collection.
  • ⚑ Scale Efficiently β€” Tap into distributed compute provided by community hosts instead of managing expensive cloud clusters.
  • πŸ€– Extend with AI β€” Call into local or remote models (like Mistral or LLaMA) through PeerLLM’s simple APIs for inference, fine-tuning, or orchestration.
  • πŸ’° Contribute and Earn β€” Turn your .NET service or desktop app into a PeerLLM Host and earn tokens by serving AI workloads.

🧩 Build smarter, faster, and more independently β€” with .NET on PeerLLM, your code becomes part of a decentralized AI ecosystem designed for fairness, transparency, and innovation.


πŸ§ͺ Quick Start β€” Your First PeerLLM Chat

Here’s how you can start your first chat completion program in .NET:

using System;
using System.Threading.Tasks;
using Standard.AI.PeerLLM.Models.Foundations.Chats;

namespace ExamplePeerLLMDotNet
{
    internal class Program
    {
        static async Task Main(string[] args)
        {
            var peerLLMConfiguration =
                new PeerLLMConfiguration();
            
            var peerLLMClient = 
                new PeerLLMClient(peerLLMConfiguration);
            
            var chatSessionConfig = new ChatSessionConfig
            {
                ModelName = "mistral-7b-instruct-v0.1.Q8_0",
            };
            
            Guid conversationId = 
                await peerLLMClient.V1.Chats
                    .StartChatAsync(chatSessionConfig);
            
            IAsyncEnumerable<string> responseStream =
                peerLLMClient.V1.Chats.StreamChatAsync(
                    conversationId,
                    text: "Hello, how are you?");
            
            await foreach (string token in responseStream)
            {
                Console.Write(token);
            }
            
            Console.WriteLine("Chat session ended.");
        }
    }
}

Standard-Compliance

This library was built according to The Standard. The library follows engineering principles, patterns and tooling as recommended by The Standard.

This library is also a community effort which involves many hours of pair-programming, test-driven development and in-depth exploration, research, and design discussions.

Standard-Promise

The most important fulfillment aspect in a Standard complaint system is aimed towards contributing to people, its evolution, and principles. An organization that systematically honors an environment of learning, training, and sharing of knowledge is an organization that learns from the past, makes calculated risks for the future, and brings everyone within it up to speed on the current state of things as honestly, rapidly, and efficiently as possible.

We believe that everyone has the right to privacy, and will never do anything that could violate that right. We are committed to writing ethical and responsible software, and will always strive to use our skills, coding, and systems for the good. We believe that these beliefs will help to ensure that our software(s) are safe and secure and that it will never be used to harm or collect personal data for malicious purposes.

The Standard Community as a promise to you is in upholding these values.

Contact Information

If you have any suggestions, comments or questions, please feel free to contact me on:

Twitter

LinkedIn

E-Mail

Important Notice and Acknowledgements

A special thanks to all the community members, and the following dedicated engineers for their hard work and dedication to this project.

Mr. Hassan Habib

Mr. Christo du Toit

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.1.2 159 10/24/2025
0.1.1 191 10/21/2025
0.1.0 141 10/18/2025

Beta release for the PeerLLM chat feature.