中文 · Documentation · Quick Start · Releases · License
DotCraft is an open-source, self-hosted, and embeddable project-native AI agent runtime built with C#/.NET.
DotCraft turns projects into extensible environments for AI agents.
- 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.
DotCraft supports OpenAI, Anthropic model providers, or you can sign in using your ChatGPT subscription.
- Download the latest build from GitHub Releases.
- Open a real project folder as a workspace.
- Configuration model providers and preferences.
macOS / Linux:
curl -fsSL https://www.dotcraft.net/install.sh | bashWindows PowerShell:
irm https://www.dotcraft.net/install.ps1 | iexSee Getting Started for the complete guide.
Start with CONTRIBUTING.md.
Inspired by nanobot, codex and agent-framework.
Special thanks to:
- HKUDS/nanobot
- openai/codex
- microsoft/agent-framework
- alibaba/OpenSandbox
- modelcontextprotocol/csharp-sdk
- openai/symphony
Apache License 2.0


