Skip to content

Repository files navigation

Release NuGet npm License Platforms Discussions

DotCraft — the agent runtime for real projects

中文 · Documentation · Quick Start · Releases · License

DotCraft is an open-source, self-hosted, and embeddable AI agent runtime built with C#/.NET.

Why DotCraft?

DotCraft turns your projects into extensible environments for AI agents.

One agent runtime, three ways to make it yours — Desktop App, AppServer + SDK, Harness Package

  • Modern agent capabilities, ready to use: Plan, Agent Builder, Agent Profiles, Subagents, Automations, Goals, Dreams, Dynamic Workflows, and more are built in.
  • Your work travels with the project: Conversations, memory, agents, skills, and plugins move with the project, so you can switch entry points and keep going.
  • Lower token costs: DotCraft uses built-in trajectory tracking to maximize prefix cache reuse across sessions and reduce token usage.
  • Run it your way: Run DotCraft locally or on your own server, and choose a compatible model provider or use your ChatGPT subscription.
  • A complete Agent Harness for .NET: Bring complete agent capabilities into the .NET applications you already build, from desktop tools to services and automation.
  • Easy to integrate with existing products: APIs, SDKs, App Binding, and plugins bring DotCraft directly into your applications.

Explore DotCraft

Desktop

Your projects. Your agents. One desktop.

Work on projects with agents in one desktop window, with plans, activity, and code changes in view. Explore Desktop.

DotCraft.Harness

Build agents into your .NET apps.

Embed the agent runtime, sessions, tools, and approvals in your .NET applications with the DotCraft.Harness NuGet package. Build with Harness.

Oratorio

From task to reviewed delivery.

Bring local tasks, GitHub, and GitLab work onto one board, hand tasks to agents, then review and deliver the results. Explore Oratorio.

Satellite

Your agents. Another machine.

Let agents use an approved shared folder and tools on another computer while conversations, approvals, and history stay on yours. Connect a Satellite.

Quick start

DotCraft supports OpenAI, Anthropic model providers, or you can sign in using your ChatGPT subscription.

Every model has a way in — OpenAI protocol, Anthropic protocol, or a ChatGPT subscription

Desktop

  1. Download the latest build from GitHub Releases.
  2. Open a real project folder as a workspace.
  3. Configuration model providers and preferences.

CLI

macOS / Linux:

curl -fsSL https://www.dotcraft.net/install.sh | bash

Windows PowerShell:

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

See Getting Started for the complete guide.

Contributing

Start with CONTRIBUTING.md.

Credits

Inspired by nanobot, codex and agent-framework.

Special thanks to:

License

Apache License 2.0

Releases

Packages

Used by

Contributors

Languages