Mekik.Core 0.7.0

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

Mekik.Core

The realtime serving layer for ilmek graphs — WebSocket sessions, streaming generative UI, and durable, interactive human-in-the-loop over the mekik/1 wire protocol. The .NET mirror of the TypeScript @mekik/core; both are held to one wire by shared golden fixtures.

var graph = Graph.Create("refund")
    .Channel("input", Channels.LastWrite(""))
    .Channel("reply", Channels.LastWrite(""))
    .Node("gate", async (State state, IContext ctx) =>
    {
        Shuttle.Ui(ctx, "order-card", new Dictionary<string, object?> { ["id"] = state.Get<string>("input") });
        var ok = await Shuttle.Approve<Dictionary<string, object?>>(
            ctx, new Dictionary<string, object?> { ["title"] = "Refund?" });
        return Update.Of("reply", ok.GetValueOrDefault("approved") is true ? "refunded" : "cancelled");
    })
    .Edge(Graph.Start, "gate").Edge("gate", Graph.End)
    .Compile();

var app = new MekikApp(new MekikOptions { Graph = graph, Reply = s => s.GetValueOrDefault("reply") as string });

Serve it with Mekik.AspNetCore. Helpers live on Shuttle (what mekik means — the loom part that carries the thread across); it can't be named Mekik because a static class may not share its namespace's name.

Docs and the normative protocol spec: https://github.com/AimTune/mekik

MIT

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 (3)

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

Package Downloads
Mekik.Agents

Microsoft.Extensions.AI integration for mekik — surface an agent's function calls in the UI, gate them behind human approval, and make them exactly-once across an interrupt/resume.

Mekik.Redis

Redis horizontal-scale backends for mekik — a SET NX PX turn lock and a Pub/Sub backplane, so a single-node app becomes a fleet with no engine changes.

Mekik.AspNetCore

ASP.NET Core WebSocket transport for mekik — serve a MekikApp over the mekik/1 wire protocol with app.MapMekik("/ws", app).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.7.0 0 7/31/2026
0.6.0 28 7/30/2026
0.5.0 39 7/30/2026
0.4.0 95 7/28/2026
0.3.0 106 7/28/2026
0.2.1 151 7/24/2026
0.2.0 150 7/24/2026
0.1.0 144 7/23/2026