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 project-native AI agent runtime built with C#/.NET.

Why DotCraft?

DotCraft turns 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, Subagents, Agent Teams, 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.

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

About

An embeddable C#/.NET AI agent runtime for building extensible agents that evolve with your projects.

Topics

Resources

Contributing

Stars

386 stars

Watchers

9 watching

Forks

Releases

Packages

Used by

Contributors

Languages