Kkdev92.StackChan.Gateway.Abstractions 0.1.0

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

Kkdev92.StackChan.Gateway.Abstractions

Core contracts for the gateway.

Defines the types for audio, turns, conversations, and capabilities. It has no NuGet package dependencies and no project or explicit framework references. Architecture tests enforce this boundary.

Every other package builds on this one. If you write your own capability or provider, this is the only package you need to reference.

using Kkdev92.StackChan.Gateway.Abstractions;

// A capability is an ordinary .NET class. It knows nothing about
// Agent Framework or HTTP.
public sealed class DiceCapability : ICapability
{
    [CapabilityAction(
        "roll_dice",
        "Rolls a die.",
        Triggers = ["dice", "die"],
        IsReadOnly = true)]
    public string Roll() => Random.Shared.Next(1, 7).ToString();
}

There are six interfaces, and all six are extension points: ISpeechToText, ITextToSpeech, IAgent, ITurnRuntime, ISessionRegistry, and ICapability.

Where this package sits

StackChan Gateway SDK provides building blocks for a gateway that converses with an AtomS3R stack-chan. Applications select the speech recognizer, model, capabilities, and other behavior.

Package Role
Kkdev92.StackChan.Gateway.Abstractions The contracts. No NuGet package dependencies
Kkdev92.StackChan.Gateway.Runtime Turn orchestration without HTTP or SSE dependencies
Kkdev92.StackChan.Gateway.Protocol.Atoms3R The wire contract with the device
Kkdev92.StackChan.Gateway.AgentFramework An IAgent backed by Microsoft Agent Framework
Kkdev92.StackChan.Gateway.Providers Shared parts for writing a provider
Kkdev92.StackChan.Gateway.Capabilities Shared parts for writing a capability
Kkdev92.StackChan.Gateway.Diagnostics Fixed components for testing a device connection without external services
Kkdev92.StackChan.Gateway.TestKit Wire-protocol conformance checks and hand-written test fakes

Note: this SDK is under development (0.1.x). The public surface may change before 1.0.

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.
  • net10.0

    • No dependencies.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on Kkdev92.StackChan.Gateway.Abstractions:

Package Downloads
Kkdev92.StackChan.Gateway.Providers

WAV conversion, transcript shaping, HTTP response limits, and error classification for StackChan Gateway providers.

Kkdev92.StackChan.Gateway.Diagnostics

Fixed recognition, responses, and tones for checking a StackChan Gateway device connection without external services.

Kkdev92.StackChan.Gateway.AgentFramework

Generates streaming responses for StackChan with Microsoft Agent Framework.

Kkdev92.StackChan.Gateway.Runtime

Orchestrates speech recognition, agent responses, text shaping, and synthesis as a turn.

Kkdev92.StackChan.Gateway.Protocol.Atoms3R

Implements SSE, Base64 PCM, sequence numbers, and HTTP headers for AtomS3R devices.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0 137 8/31/2026