technology-selection

Guides selection and implementation of AI and ML technologies in .NET 8+ applications.

1|Updated Jun 1, 2026
One-click install
npx skills add https://github.com/D1ssolve/craft-agents --skill technology-selection-d1ssolve
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: technology-selection
Source: https://github.com/D1ssolve/craft-agents/tree/main/skills/technology-selection
Command: npx skills add https://github.com/D1ssolve/craft-agents --skill technology-selection-d1ssolve

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Choosing the wrong AI or ML technology in a .NET project leads to wasted cost, non-deterministic behavior, and unmaintainable code. This Skill provides a decision tree and guardrails for selecting between ML.NET, Microsoft.Extensions.AI, Microsoft Agent Framework, ONNX Runtime, OllamaSharp, and the GitHub Copilot SDK. ## Core Features & Use Cases - Decision-tree technology selection: Classifies tasks (classification, regression, RAG, agentic workflows, local inference) and maps them to the correct .NET AI/ML library. - Layered library guidance: Enforces the MEAI abstraction → provider SDK → Agent Framework orchestration stack so layers are never skipped or mixed. - Production guardrails: Covers reproducibility seeds, retry logic, token budgets, iteration limits, RAG chunking thresholds, and anti-patterns to reject. - Use Case: When asked to add support-ticket classification to an ASP.NET Core app, the Skill directs you to ML.NET with a seeded MLContext and train/test split instead of an expensive, non-deterministic LLM call. ## Quick Start Ask the agent to recommend and implement the right .NET AI or ML technology for your task, such as adding a RAG pipeline or a classification model to your project.

Frequently Asked Questions about technology-selection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose between ML.NET and an LLM for a .NET project?

Use ML.NET for structured or tabular tasks like classification, regression, clustering, and recommendation because it is deterministic, cheaper, and faster. Reserve LLMs via Microsoft.Extensions.AI for natural language understanding, generation, and reasoning over unstructured text.

When should I use Microsoft Agent Framework instead of IChatClient?

Use Microsoft Agent Framework (Microsoft.Agents.AI) whenever the task involves tool or function calling, multi-step reasoning, agentic loops, or multi-agent collaboration. Use IChatClient directly only for simple single prompt-in, response-out scenarios.

What NuGet packages are needed for RAG in .NET?

A RAG pipeline uses Microsoft.Extensions.VectorData.Abstractions with a vector database provider such as Azure AI Search, Qdrant, or pgvector, plus Microsoft.Extensions.AI.DataIngestion for document parsing, chunking, embedding, and upserting into the vector store.

Can I use this guidance with .NET Framework projects?

No, the guidance requires .NET 8 or later. It also does not apply to pure data engineering or ETL tasks with no ML component, or to custom deep learning training loops, which should use Python with PyTorch or TensorFlow and export to ONNX.

Why is Semantic Kernel not recommended for new .NET AI projects?

Microsoft.SemanticKernel is superseded by Microsoft.Extensions.AI plus Microsoft.Agents.AI for LLM orchestration and tool calling. New projects should start with the MEAI abstraction layer and add Agent Framework for orchestration.

How do I prevent runaway costs in .NET agentic workflows?

Set MaximumIterations on agent invocations, enforce a token budget per execution using Microsoft.ML.Tokenizers for client-side counting, set MaxOutputTokens, and log token usage per request with alerts on budget thresholds.