Skip to content

DotCraft Getting Started

This path is for first-time DotCraft users: install Desktop, choose a project folder, configure a model provider, then run your first session. After that, move into TUI, AppServer, API, SDK, or Automations as needed.

Quick Start

1. Download Desktop

Go to GitHub Releases and download the desktop app:

PlatformRecommended file
Windows x64DotCraft-vX.Y.Z-win-x64-Setup.exe
Windows ARM64DotCraft-vX.Y.Z-win-arm64-Setup.exe
macOS Apple SiliconDotCraft-vX.Y.Z-macos-arm64.dmg
macOS IntelDotCraft-vX.Y.Z-macos-x64.dmg

Desktop is the recommended first entry point because workspace selection, model configuration, sessions, diffs, plans, automation review, and runtime status live in one UI.

If you only need the CLI and TUI binaries, install them directly:

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

Windows PowerShell:

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

The Windows PowerShell installer auto-selects the x64 or ARM64 CLI/TUI archive. The macOS/Linux shell installer auto-selects x64 or ARM64 on macOS; Linux CLI release archives are currently x64-only.

DotCraft

If you prefer building from source, install the .NET 10 SDK, Rust toolchain, and Node.js, then run this from the repository root:

bash
build.bat

On Linux / macOS, run:

bash
bash build_linux.bat

2. Initialize a Workspace

On first launch, choose a real project folder as the workspace. DotCraft keeps that project's configuration, sessions, tasks, skills, and attachments with the project, so Desktop, terminal, and automation entry points can continue from the same context.

To complete first-time setup from a terminal, run this in a project directory that does not yet have .craft/:

bash
dotcraft

Start from a real project folder instead of an empty directory so the agent can read repository structure, existing docs, and build scripts.

When Desktop finds an existing project-level AGENTS.md or CLAUDE.md during first-time setup, it offers to copy one of those files into .craft/AGENTS.md. This is a one-time snapshot import: the original file stays where it is, and future DotCraft behavior comes from .craft/AGENTS.md.

Setup

3. Configure a Model

In Desktop, the setup wizard handles this end to end: choose a provider, paste an API key, and pick a model — no files to edit. DotCraft works with three common paths:

PathBest for
AnthropicCalling Claude models through the native Anthropic client
OpenAI / OpenAI-compatibleOpenAI API, OpenRouter, DeepSeek, MiMo, and compatible providers
ChatGPT subscriptionReuse an existing ChatGPT Plus / Pro / Team / Business / Enterprise plan — no separate API key

Already paying for ChatGPT Plus / Pro / Team / Business / Enterprise? Pick Sign in with ChatGPT in the wizard's OpenAI template, or run dotcraft auth openai login after setup, to reuse that subscription instead of an API key.

Prefer to edit configuration directly? The minimal config is a list of providers plus the selected ProviderId and Model:

json
{
  "ProviderId": "anthropic",
  "Model": "claude-sonnet-4-5",
  "Providers": {
    "anthropic": {
      "DisplayName": "Anthropic",
      "Protocol": "anthropic",
      "ApiKey": "${ANTHROPIC_API_KEY}"
    },
    "openrouter": {
      "DisplayName": "OpenRouter",
      "Protocol": "openai-chat-completions",
      "ApiKey": "${OPENROUTER_API_KEY}",
      "EndPoint": "https://openrouter.ai/api/v1"
    }
  }
}

Keep API keys and endpoints in the global file at ~/.craft/config.json; a workspace usually overrides only ProviderId and Model. For every field — protocols, endpoints, and the /v1 rule for OpenAI-compatible services — see the Configuration Reference.

4. Run the First Session

Open the workspace in Desktop, create a session, and send a lightweight request:

text
Read this repository's README and docs/index.md, then tell me how to start the project.

If you prefer a script-friendly command-line entry, run a one-shot task from the project directory:

bash
dotcraft exec "Read this repository's README and docs/index.md, then tell me how to start the project."

Running plain dotcraft only handles first-time setup — in a workspace that already has .craft/, it won't open an interactive chat. For a terminal session, continue with the TUI guide.

One workspace, every entry point

DotCraft connects Desktop, the terminal, IDEs, bots, and automations to the same project workspace. A conversation you start in one place can continue in another, with the same sessions, memory, and tools.

Unified entry model

Curious how one engine powers every entry point? See Architecture Overview.

Configuration

First-time setup only needs a few fields:

FieldPurposeRecommended location
ProvidersModel provider registry, including API keys and endpointsGlobal config
ProviderIdCurrent model provider idGlobal or workspace config
ModelDefault model nameGlobal or workspace config
DashBoard.EnabledEnable web debugging and visual configurationWorkspace config

If unsure, put providers globally and let the workspace override only ProviderId and Model.

Choose the Next Step by Goal

GoalNext step
Work visually with sessions and diffsDesktop
Use a full terminal interfaceTUI
Share a workspace across remote or multiple clientsAppServer Mode
Connect an IDE or editorIDE / Editors (ACP)
Build bots or external adaptersChannels & Bots
Run local automation tasksAutomations & Goals
Inspect traces, tool calls, and merged configurationObservability

Explore More

Social Channels

DotCraft integrates with Telegram, WeChat, Feishu/Lark, QQ, WeCom, and other social channels through SDK extensions. See Channels & Bots, the Python SDK, and the TypeScript SDK.

Telegram (Python SDK)WeChat (TypeScript SDK)
Telegram channel exampleWeChat channel example

Automations

Automations are for running local workspace tasks. Scheduling, thread binding, templates, Goals, and retry flows are covered in Automations & Goals.

Desktop Automations
Desktop automations panel

Dashboard

Dashboard is DotCraft's visual inspection and configuration surface for sessions, traces, and workspace settings. See Observability for the page overview.

Usage overviewSession trace
Dashboard usage overviewDashboard session trace

Advanced Topics

Apache License 2.0