Skip to content
Open source, built on .NET 10

An agent runtime you embed and extend.

irm https://www.dotcraft.net/install.ps1 | iex
DotCraft Desktop preview

From the app to your own product.

Agent Harness for .NET

Bring a complete agent runtime into any .NET application.

Runs in your process

No separate agent service to deploy or operate.

Built the .NET way

Plugs into the Generic Host and dependency injection.

More than an agent loop

Sessions, tools, skills, approvals and providers come wired.

Program.cs
using DotCraft.Configuration;
using DotCraft.Harness;
using Microsoft.Extensions.Hosting;

AppConfig appConfig = LoadApplicationConfig();
var workspacePath = Directory.GetCurrentDirectory();

var builder = Host.CreateApplicationBuilder(args);
builder.Services.AddDotCraftHarness(appConfig, options =>
{
    options.WorkspacePath = workspacePath;
});

using var host = builder.Build();
await host.StartAsync();

await host.StopAsync();

All set — over to you.

irm https://www.dotcraft.net/install.ps1 | iex