.NET (C#) SDK

Open
#54 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp
Domain
api, backend

Research direction

Start by reading the TypeScript SDK and the operation registry, then check how CI generates and verifies its types. Plan the first cut around the NuGet package, async HttpClient and DI setup, configuration, identity binding, retries, errors, and source-generated serialization for netstandard2.0 and net8.0. Done means the SDK covers the listed requirements and its generated types are checked in CI; the Semantic Kernel adapter is follow-up work.

Written by the indexing model from the issue text.

Description

enhancement

We'd like a .NET client for Loom in C#, targeting netstandard2.0 + net8.0, to cover .NET agent stacks such as Semantic Kernel, the Microsoft Agent Framework and ASP.NET services calling models. Today those teams only have the raw HTTP API.

Scope:

  • A NuGet package (ClickHouse.Loom) with types generated from the op registry and checked in CI like the TS ones
  • Async throughout with CancellationToken, on top of HttpClient, and working with IHttpClientFactory / DI (services.AddLoom(...))
  • Options from code or from the LOOM_BASE_URL / LOOM_API_KEY env vars
  • Identity tuple bound once on the client
  • Automatic Idempotency-Key on idempotent ops, retry and backoff that respects Retry-After, and a LoomException that carries the server code
  • System.Text.Json source-generated serializers, so the client works with trimming and AOT

Follow-up, not in the first cut: a Semantic Kernel plugin adapter that exposes memory.search and memory.set as kernel functions.

Dominant language
Python
Stars
221
Forks
35
Avg merge
14h 21m
Merged PRs (30d)
873

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ClickHouse/loom

All issues in ClickHouse/loom

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.