Skip to main content

Overview

Two pieces. Local chat needs both.

What it is
AgentThe engine — xiaohe in a terminal, plus a local server the window talks to
ClientThe window — desktop chat app

Installers: Download. Details: Install.

Fastest path: chat in the desktop app

  1. Install Agent and Client from the download page.
  2. Open a new terminal and finish Agent setup:
xiaohe init

Run it again if anything was skipped.

  1. Start the local server and copy the chat key (xh_ses_…):
xiaohe server install
xiaohe server start
xiaohe server pair
  1. Open Client → Settings → Connection → Local → paste the key → Test key → new session → chat.

If replies fail, pick a model on this machine: Settings → Assistant, or xiaohe switch provider. More: Client.

Other paths

Terminal only — install Agent, then xiaohe init, then xiaohe. See Agent CLI.

Browser on this computer — same as the desktop path through pair, then open http://127.0.0.1:8110/ (or xiaohe webui --open) instead of Client. See Web UI.

Three keys — do not mix them

Paste whereWhatLooks like
Settings → ConnectionChat access, from xiaohe server pairxh_ses_…
Settings → Authorization (desktop Pro)License from the account centerxh_lic_…
Settings → Authorization (Skills Hub)MCP token from the account centerxh_cld_…

A hosted Session (https://agent.xiaohe.team) uses a key from your operator, not local pair.