Docs/Server/Your first chat

Your first chat

Chat with your HolaClaw Server agent from the terminal, sign in to ChatGPT if you use a subscription, and pair the HolaClaw apps with your daemon.

2 min read Updated November 16, 2026
  • Server
  • Getting started
  • Beginner

This guide starts where every installation guide ends: HolaClaw Server initialised and the daemon running. It covers your first conversation, the ChatGPT sign-in, and pairing a device.

Commands are written as holaclaw …. Run them the way your deployment does, for example docker exec -it holaclaw holaclaw chat in the container.

Step 1: Chat

Terminal
holaclaw chat

It attaches to the running daemon. At a terminal it opens a full-screen interface, with the reply on the left and the trace of the run on the right. Press ctrl+p to list the slash commands, and F1 to list every key.

To ask one question and print the answer:

Terminal
$ holaclaw chat -m "Reply with exactly: hola"
·   0.6s model step 1 → default (deepseek/deepseek-v4.1-flash)
hola

Step 2: Sign in to ChatGPT

Only if you chose a ChatGPT subscription (--provider openai-codex). The sign-in runs inside the daemon, which keeps the tokens and refreshes them:

Terminal
holaclaw login codex

It prints a URL and a code:

Open https://auth.openai.com/codex/device and enter the code: XXXX-XXXXX

Open the URL on any device, sign in with your ChatGPT account, enter the code and approve. The command returns codex: logged in.

You do this once. If the tokens are ever revoked, run holaclaw login codex again. The Codex CLI is not needed, and the machine needs no browser.

Warning

This sign-in flow is unofficial. OpenAI does not document it for third-party clients and can change it at any time.

Step 3: Pair a device

The HolaClaw apps sign in with a one-shot code. init prints the command with the owner's id, and holaclaw identity list shows it too:

Terminal
holaclaw invite create --identity <owner id> --channel holaclaw

It prints the code. When the daemon knows the address devices reach it at, it also prints a holaclaw://pair?server=…&code=… link and a QR code of it.

That address is server.public_url (or HOLACLAW_PUBLIC_URL). Without it, the daemon uses server.listen when that names a host other devices can reach. A loopback or wildcard listen gives no link: enter the code and the server address in the app instead.

Set public_url when the daemon listens on loopback, or sits behind a port mapping or a TLS proxy. See config.toml.

What happens next

Was this page helpful?

Can’t find what you need?

Ask the community on Discord.