Husk
GitHub

Start here

Install

The desktop extension or the npm packages, what lands on disk, and how to remove all of it.

Husk comes two ways. Pick the one that fits; neither needs the other, and neither has an account step.

The desktop extensionThe npm packages
ForClaude Desktopthe husk CLI, MCP clients such as Claude Code, Cursor and Zed, and bots
NeedsClaude Desktop, which brings its own NodeNode 20.10 or newer
Gives youworkspaces, and computer tools when you turn them onevery tool, and the CLI
Start withYour first workspaceQuickstart

The desktop extension

Download husk-0.2.0.mcpb from the Husk 0.2.0 public preview, and install it in Claude Desktop through Settings → Extensions → Advanced settings → Install Extension. It needs no terminal, no Docker and no Node of your own. Your first workspace walks through the first task, and through what the preview does not do yet.

The npm packages

Node20.10 or newer (engines.node: ">=20.10")
PlatformLinux, macOS, Windows
Everything elseoptional

There are no native modules anywhere in the tree, which is a build-contract rule rather than an accident: better-sqlite3 and node-pty are both banned. A Windows machine with no C++ toolchain gets a clean npm install.

Run it without installing

npx -y @husk-ai/cli doctor

Good for a first look. Every invocation pays npm's resolution cost, so it is not what you want for day-to-day use.

Install the CLI globally

npm install -g @husk-ai/cli
husk doctor

The binary is husk. husk --help costs about 16 ms on top of Node's own startup, because every command sits behind a dynamic import() and the help text loads none of them.

Connect your chat apps

husk setup

It asks where your chats' computers should run, adds Husk to the chat apps you pick from the ones it finds, backing up each file it changes, and starts the shared Husk every chat goes through. husk setup --remove takes it out again, and the CLI reference has its flags. husk onboard is the guided tour instead: five steps, from what this machine can do to the command to run next.

Install the MCP server only

If all you want is a computer inside Claude Code, you do not need the CLI at all:

claude mcp add husk -- npx -y @husk-ai/mcp

See MCP.

The packages

@husk-ai/cli depends on the first five and treats the last three as optional — husk mcp, husk serve and the SDK load lazily and fail with an actionable error if they are absent.

PackageWhat it is
@husk-ai/coreContracts, the husk.yaml schema, paths(), redact(). Depends on nothing but zod.
@husk-ai/runtimeComputer providers: docker, podman, local, ssh, fly.
@husk-ai/modelsThe model router: 11 providers, no vendor SDKs.
@husk-ai/sessionsTranscript importers and the distiller.
@husk-ai/agentThe tool-calling loop and the built-in tools.
@husk-ai/mcpThe MCP server. Optional.
@husk-ai/serverControl plane and bot host. Optional.
@husk-ai/sdkTyped client for the control plane. Optional.
@husk-ai/cliThe husk binary.

Four more come in through those: @husk-ai/browser, the Chromium driver; @husk-ai/workspaces, the saved workspaces; @husk-ai/adapters, the Discord, Slack and Telegram front ends; and @husk-ai/console-assets, the console.

Optional pieces, and what each one buys

Nothing below is required. Each one changes what husk doctor reports.

Docker or Podman gives you a kernel boundary instead of process guardrails. This is the one that matters if an agent will read anything you did not write. Start Docker Desktop, or install Podman and run podman machine init.

Ollama gives you a model with no API key and no network egress:

ollama pull qwen2.5:7b

That is about 4.7 GB, after which husk run works offline.

An API key gives you a frontier model. Husk reads these from the environment, and from ~/.husk/.env for any the environment does not set. It never writes them:

export ANTHROPIC_API_KEY=...   # or OPENAI_API_KEY, GOOGLE_API_KEY, GROQ_API_KEY, …

The full list of variables Husk reads is in Model providers.

What lands on disk

All state lives under one directory so you can back it up in one move and delete it in one move. $HUSK_HOME overrides the location; otherwise it is ~/.husk.

~/.husk/
  config.json       global settings
  .env              API keys, if you keep them here: Husk reads this file, never writes it
  husks/            registered husks, one directory each
  computers/        computer metadata (not filesystems) + bindings.json
  workspaces/       saved workspaces (ws_*), and the local provider's working directories (cmp_*)
  runs/             run results and event traces
  transcripts/      imported transcripts, cached
  data/             the audit log: one file per computer, a line per tool call
  cache/            downloaded assets, snapshot tarballs
  daemon.json       the shared Husk's address and token
  daemon.log        the shared Husk's log
  holds.json        the computers a person holds, kept across a restart of the shared Husk
  desktop.log       the desktop app's log
  jobs.json         the job host's address and token, while a bot has a trigger
  jobs.log          the job host's log
  bots/             one folder per bot: where its Claude Code or Codex runs, and its notes (memory/)
  remote/           remote access: its signing key, the owner's passkey, the apps signed in
  .oriented         the marker that stops the welcome block reprinting

On WSL, the local provider keeps a computer's working directory inside the distro, in its own ~/.husk/workspaces.

Every directory is created with mode 0700, and daemon.json and jobs.json are readable only by you. Husk never writes your API keys here. The credentials it does keep are its own: the shared Husk's and the job host's tokens, and remote access's keys.

Uninstall

husk rm --all --erase --force   # every computer, and the files any of them keeps
npm uninstall -g @husk-ai/cli
rm -rf ~/.husk

--erase takes the files and browser logins that a chat's computer, or a bot's with computer.persist: true, keeps on Docker and Podman. --force goes ahead when a computer was used in the last minute, where --yes refuses.

Removing ~/.husk resets Husk completely, including the one-time orientation block. It does not remove Docker containers created by a previous version of the CLI; husk ps --all lists them while the CLI is still installed. To remove the desktop extension, uninstall it from Claude Desktop's extension settings; its workspaces are in the same ~/.husk.