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.