Ananke.Platforms 0.7.2

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

Ananke.Platforms

NuGet License

Conversational platform adapter contracts for Ananke - defines the interfaces and base classes for bridging messaging platforms (Slack, Discord, etc.) to Ananke agent workflows.

Install

dotnet add package Ananke.Platforms

Most users will install a platform-specific package instead, which includes this package transitively:

Core types

Type Purpose
IMessagePlatformAdapter Platform connection lifecycle - StartAsync, StopAsync, IsConnected
IPlatformResponseSink Send responses: SendMessageAsync, UpdateMessageAsync, SendTypingAsync, AddReactionAsync
IPlatformMessageHandler Business logic hook: route incoming messages to workflows
PlatformMessage Normalized incoming message: ChannelId, ThreadId, UserId, Message
StreamingMessageBridge Bridges StreamingChatWorkflow.OnTextDelta to the post-then-edit pattern
ConversationalMessageHandler Abstract base class - session-aware, memory-integrated handler
SessionKeyBuilder Derives collision-free session keys from platform message properties

ConversationalMessageHandler

The recommended way to handle platform messages. Eliminates boilerplate by wiring up StreamingChatWorkflow with conversation memory, streaming bridge, and session management.

What it does automatically

  1. Sends a typing indicator to the platform
  2. Derives a session key from the message's channel/thread identifiers
  3. Loads conversation history from IConversationMemory
  4. Runs StreamingChatWorkflow with streaming bridged via post-then-edit
  5. Persists new messages back to memory after completion

Customization points

Virtual member Default Override to
SystemPrompt null Set the LLM system prompt
WorkflowName platform-chat Customize trace/log identity
StreamingOptions null (300ms debounce) Adjust debounce interval or placeholder text
ContextStrategy null Apply sliding window or summarization
SendTypingIndicator true Disable the initial typing indicator
GetSessionId(message) channelId:threadId Add platform prefix, use per-user scoping
ConfigureWorkflow(builder, message) pass-through Add custom callbacks, metadata

Documentation

Full docs, demos, and architecture: github.com/sevensamurai/Ananke

License

Apache 2.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.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Ananke.Platforms:

Package Downloads
Ananke.Platforms.Slack

Slack adapter for Ananke — bridges Slack Bot events (Socket Mode and Events API) to Ananke agent workflows via IMessagePlatformAdapter. Provides services.AddAnankeSlack() for DI registration.

Ananke.Platforms.Discord

Discord adapter for Ananke — bridges Discord Gateway events to Ananke agent workflows via IMessagePlatformAdapter. Provides services.AddAnankeDiscord() for DI registration.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.7.2 87 4/12/2026
0.7.1 85 4/11/2026
0.7.0 94 4/11/2026
0.6.0 91 4/10/2026