Meet Your Claw: A Harness in Three Lines of C#

dotnet demonstrates how to stand up an agent “harness” in C# using a single AsHarnessAgent call, then incrementally add tool calling, web search, and planning so a vague request becomes a tracked, step-by-step execution loop.

Overview

The video shows how to build a minimal agent harness in C# where a single call to AsHarnessAgent provides the core agentic loop.

Building blocks added to the harness

Ability 1: Custom tool for stock prices

Ability 2: Built-in web search for market news

Ability 3: Planning with a to-do list

Wiring and running the agent

Resources