AI agents and tool calling in .NET: the loop, written by hand
An AI agent is a model calling your tools in a loop until the task is done. Here is that loop in plain C#, with the limits and human checks that keep it safe.
An AI agent is a model calling your tools in a loop until the task is done. Here is that loop in plain C#, with the limits and human checks that keep it safe.
What the Model Context Protocol is, how tools, resources and prompts differ, and a complete MCP server in C# with the official SDK that the AI agent and other AI apps can call.
A practical order for learning AI engineering as a backend developer, LLM APIs, RAG, MCP, agents and evals, with what to build at each step.