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.
- 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
holaclaw chatIt 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:
$ holaclaw chat -m "Reply with exactly: hola"
· 0.6s model step 1 → default (deepseek/deepseek-v4.1-flash)
holaStep 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:
holaclaw login codexIt prints a URL and a code:
Open https://auth.openai.com/codex/device and enter the code: XXXX-XXXXXOpen 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:
holaclaw invite create --identity <owner id> --channel holaclawIt 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
- Change the model or the provider.
- Talk to the agent from Telegram, Slack, Google Chat or WhatsApp: see channels.toml.
- Give the agent the tools of a remote MCP server: see connectors.toml.
- Let the agent drive a browser.
- Run it day to day: backups, upgrades and troubleshooting.
Was this page helpful?
