idunno.Bluesky.BotSdk 8.0.0

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

idunno.Bluesky.BotSdk

About

A hosted durable event-to-action runtime for Bluesky bots on the AT Protocol.

Key Features

  • Sequential Jetstream v2 live streaming with automatic archive snapshot replay fallback.
  • Transactional outbox pattern committing action intents and processed-through event progress atomically. The complete replay checkpoint is saved separately by the replay callback.
  • Durable actions for replies, likes, reposts, bookmarks, list memberships, and custom application handlers.
  • Stable action identities and safe reconciliation of uncertain remote writes.
  • Distributed database lease fencing and conservative rate-limit accounting.
  • Memory-only operational health endpoints (/health/live, /health/dependencies) and durable-state Prometheus gauges (/metrics).
  • Pluggable storage providers (SQLite, PostgreSQL, MySQL) plus an in-memory testing provider.

Trimming is supported for applications targeting .NET 9.0 or later.

Version History

A full version history can be found on the project's GitHub repository.

How to Use

Implement IBotPolicy to evaluate incoming Jetstream events and return actions to execute, then register the bot using the fluent builder:

builder.Services
    .AddBlueskyBot<MyBotPolicy>(
        builder.Configuration.GetSection(BotOptions.Bot),
        httpUserAgent: "MyBot/1.0")
    .WithSqliteStorage(connectionString);

var app = builder.Build();

app.MapBlueskyBotHealthEndpoints();
app.MapBlueskyBotMetricsEndpoint();

app.Run();

Delivery is at least once. Choose exactly one relational storage provider package for production deployments: idunno.Bluesky.BotSdk.SQLite, idunno.Bluesky.BotSdk.PostgreSQL, or idunno.Bluesky.BotSdk.MySQL. For development and unit testing, .WithInMemoryStorage() is available in this package.

Documentation

Documentation is available, including API references.

See the durable bot guide for setup instructions, recovery behavior, built-in actions, and operational endpoints.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  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 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 idunno.Bluesky.BotSdk:

Package Downloads
idunno.Bluesky.BotSdk.PostgreSQL

PostgreSQL storage provider for idunno.Bluesky.BotSdk.

idunno.Bluesky.BotSdk.SQLite

SQLite storage provider for idunno.Bluesky.BotSdk.

idunno.Bluesky.BotSdk.MySQL

MySQL storage provider for idunno.Bluesky.BotSdk.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.0.0 138 10/16/2026