Connect your AI
Lilli Chat, answered by your own Claude, your own ChatGPT, or both. Your questions go straight from your browser to your computer, encrypted, and never pass through Lilli.
How it works
- In Lilli Chat, choose Connect with Passkey.
- The first time, Lilli Chat shows one line. Copy it and paste it in Terminal, once.
- Your Mac appears in Lilli Chat by itself. From then on it's there whenever you are, even after a restart.
The line sets up a small relay on your computer. It only reaches out; nothing on your computer is opened to the internet. It works with Claude Code and the ChatGPT app for Mac, signed in with your own plans, and needs Node.js 22 or newer. Your AI reads the Lilli folder in your home folder; to use another, put LILLI_FOLDER=~/your-folder before sh in the line.
By hand
If you'd rather set it up step by step, in Terminal:
mkdir -p ~/lilli-tether && cd ~/lilli-tether curl -fsSLO https://gotquid.com/tether/relay.mjs npm install node-datachannel@0.33.4 node relay.mjs pair --dir ~/my-project
To check the file is ours before you run it, shasum -a 256 relay.mjs should print fc29865234ba1f3465bfbb5aa577ffdda8a7fd81c7249fe0a3287756fb76e069.
Approve the code it shows at gotquid.com/tether. The relay then starts by itself, now and whenever you log in, comes back on its own if it ever crashes, and writes what it does to ~/.lilli-tether/relay.log.
To allow edits or the web, run node relay.mjs install --dir ~/my-project --allow-edits (or --allow-web). They are set on your computer, never from the web. node relay.mjs uninstall turns it off, and untethering removes it too.
ChatGPT
ChatGPT’s own app can’t take messages from another program, so the relay uses one of these instead:
- OpenAI’s Codex CLI, signed in with your ChatGPT plan (github.com/openai/codex). The relay finds it by itself.
- Your own OpenAI API key, kept only on your computer: start the relay with
OPENAI_API_KEYset in that Terminal.
Have the ChatGPT app on a Mac? It already carries the Codex CLI inside it, and the relay finds that copy by itself. To check it by hand, point Terminal at it, check that it's signed in, then start the relay:
export PATH="/Applications/ChatGPT.app/Contents/Resources/codex-cli/CodexCLI.app/Contents/MacOS:$PATH" codex --version codex login status cd ~/lilli-tether node relay.mjs run --dir ~/Desktop/LILLI
Use your own folder in place of ~/Desktop/LILLI. If codex login status says you're signed out, run codex login first.
ChatGPT not answering in Lilli Chat? Open the ChatGPT app and sign in, then tap ChatGPT in Lilli Chat: it shows your line again. Paste it once more. Your Mac's old pairing is retired by itself.
Connect your OpenArt
Pictures and videos in Lilli Chat, made by your own OpenArt account with its own credits. Install OpenArt’s command-line tool (github.com/OpenArt-AI/cli) and sign in to your OpenArt account; there is no key to copy:
curl -fsSL https://raw.githubusercontent.com/OpenArt-AI/cli/main/install.sh | sh openart login
Then pair the relay with OpenArt, on its own or with your Claude or ChatGPT:
cd ~/lilli-tether node relay.mjs pair --openart --claude
You pick the model each time. Lilli Chat shows what a picture or video will cost before anything is made: the OpenArt credits from your plan, and Lilli’s fee in dollars, with the Milk it earns. Nothing is made until you tap Generate. Not charged yet: Lilli's fee starts when checkout opens. Lilli never sees your OpenArt sign-in, and your Claude or ChatGPT can’t read it either.
What it can do
Read-only unless you say so. By default your AI can read, search and answer inside the one folder you start it in, but it can’t change files, run commands, reach the web or open your keys. To allow edits, start the relay yourself with --allow-edits; to allow the web, add --allow-web. Lilli Chat can never turn either on.
Your account, your terms. You use your own Claude or ChatGPT plan under Anthropic’s or OpenAI’s terms. Lilli never sees your sign-in, your key or your conversations.
You see everything. The relay prints each question as it arrives, and closes itself after 30 minutes without one.
Untether
Untether any device in Your QUID; a connected relay stops at once. On the computer itself, press Control-C to stop the relay, or run node relay.mjs untether to forget the pairing.