Skip to content

Repository files navigation

Release NuGet npm License Platforms Discussions

DotCraft — an agent runtime you embed and extend

中文 · Documentation · Quick Start · Releases · License

DotCraft is an open-source, self-hosted AI agent runtime built with C#/.NET. Run it as a desktop app, add it to your own .NET application, and extend both with plugins.

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

  • Complete agent capabilities, ready to use: Plan, subagents, Automations, Goals, Dreams, and Dynamic Workflows are built in, so you do not have to assemble agent infrastructure from scratch.
  • Agent customization and remote collaboration: Agent Builder and Agent Profiles let you create reusable, specialized agents. Remote tool calls let them work across computers.
  • Your work travels with the project: Conversations, memory, agents, skills, and plugins live with the workspace. Move between Desktop, the CLI, editors, and bots, and pick up where you left off.
  • Bring a complete agent runtime into your product: Embed the same runtime behind DotCraft Desktop in .NET tools, services, and automations, or connect existing products through AppServer, SDKs, and App Binding.
  • Let the agent extend its own runtime: Ask the agent to create and build a .NET plugin in the workspace. It uses the same extension model as built-in features to add tools, prompts, commands, and lifecycle logic, and can be replaced while the host keeps running.
  • Shape Desktop around your workflow: TypeScript and React plugins use native UI components to extend Desktop's interface and interactions.
  • Own your deployment, models, and costs: Run locally or on your own server, and choose a compatible model provider or use your ChatGPT subscription. DotCraft keeps reusable prompt prefixes byte-stable to improve provider cache reuse and lower repeated-input costs.

Explore DotCraft

Your projects. Your agents. One desktop.

Work with agents on your projects in one desktop app.

Build agents into your .NET apps.

Embed a complete agent runtime in your .NET applications.

From task to reviewed delivery.

Manage agent tasks from assignment to review on one board.

Your agents. Another machine.

Let your agents work in an approved shared folder on another computer.

Give your agents character.

Give your agents personality with expressive, customizable avatars.

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. Configure 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

About

The agent harness for .NET: embeddable, extensible, remotely controllable and ready to use.

Topics

Resources

Contributing

Stars

390 stars

Watchers

9 watching

Forks

Releases

Packages

Used by

Contributors

Languages