Skip to content
开源,基于 .NET 10 构建

可嵌入、可扩展的 Agent Runtime。

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

从应用到你自己的产品。

面向 .NET 的 Agent Harness

将完整的 Agent Runtime 嵌入任何 .NET 应用。

运行在你的进程里

无需额外部署和维护 Agent 服务。

遵循 .NET 的开发方式

沿用 Generic Host 与依赖注入。

不止一个 Agentic Loop

会话、工具、Skills、审批与模型 Provider 已组合就绪。

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();

一切就绪,就等你了。

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