Early previewThis guide is in development. Items tagged verify are still being checked against official docs.
nebx Learn
GitHub
Menu
Home/C#/AI utilities
C#

C#

A productive, strongly typed language for the whole .NET platform.

Paradigm
OOP, functional features
Typing
Static, strong, nullable-aware
Memory
Generational GC
Runs
.NET runtime (JIT) or Native AOT
Concurrency
Tasks, async/await, channels

AI utilities

Libraries for machine learning and LLM integration in C#, plus AI coding assistants that work with any language.

The AI ecosystem changes quickly. Check each project's repository for current maintenance status and versions before adopting.
Machine learning

ML.NET

Microsoft's open-source ML framework for training and consuming models in .NET.

LLM orchestration

Semantic Kernel verify

Microsoft's SDK for building agents and plugins over LLMs.

Abstractions

Microsoft.Extensions.AI verify

Common interfaces (IChatClient, embeddings) so you can swap model providers.

Inference

ONNX Runtime

Run exported models with CPU, GPU or DirectML acceleration.

Deep learning

TorchSharp

.NET bindings to the libtorch engine that powers PyTorch.

LLM APIs

Official OpenAI / Anthropic .NET SDKs verify

Check each provider's documentation for current official .NET SDK status.

AI-assisted development

Agentic coding

Claude Code

Anthropic's coding agent for the terminal, IDEs, desktop and web.

Completion & chat

GitHub Copilot

In-editor suggestions and chat across many IDEs.

AI editor

Cursor

A VS Code-based editor built around AI assistance.

Saved in this browser only. Part of From code to production (0/5).