Quick setup
One command in the terminal, five short steps: your name, an OpenRouter key, a Telegram bot, optional email, and this computer. About five minutes, plus the media tools download. Works over SSH, and with no questions at all for scripts.
What it does
Since CLI 0.2.67, briglia quicksetup is a terminal flow (the older browser page is gone). It sets Briglia up on OpenRouter with the default model, DeepSeek V4.1 Flash 1017 hosted on Together, connects your Telegram bot, and turns on free web search (Parallel) and free page reading (Jina, no key). It saves exactly the same settings as briglia menu, so you can change anything there later.
For ChatGPT, OpenCode Go or a local server, use briglia menu (browser) or briglia setup (terminal) instead.
Before you start
- An OpenRouter API key from openrouter.ai/keys.
- A Telegram bot token: in Telegram, message
@BotFather, send/newbotand follow the steps. - Optional: an AgentMail key, to give Briglia its own email inbox.
- Mac: Homebrew for the media tools (Briglia never installs Homebrew; without it, quick setup says so and continues). Linux:
apt,dnforpacman,sudo, and a systemd user session. - Disk: the media tools take about 1.5 GB (LibreOffice is most of it).
Install Briglia
curl -fsSL https://github.com/permaevidence/briglia-cli/releases/latest/download/install.sh | bashDetails on the install page. Then open a new terminal window so it finds
briglia.Run quick setup
briglia quicksetup- Your name: what Bree calls you. It is also the confirm word for
/deleteuserdata. - OpenRouter: paste the key (it stays hidden). Briglia checks it right away; if OpenRouter refuses it, paste it again.
- Telegram: paste the bot token, then send
/startto your bot. Briglia pairs with that account: only it can talk to Bree. - Email (optional): paste an AgentMail key, or press Enter to skip. You can add it later in
briglia menu. - This computer. Mac: Full Disk Access for your terminal app (System Settings opens at the right place; press Enter without enabling it to skip), keep-awake, and the media tools through Homebrew. Linux: one
sudofor the media tools and keep-awake, then Briglia is installed as a background service that starts at boot.
- Your name: what Bree calls you. It is also the confirm word for
Done
Briglia starts and Bree writes to you on Telegram. Mac: Briglia runs in that terminal window; keep it open (you can minimise it). To change settings, open a new terminal window and type
briglia menu. Linux: Briglia runs in the background.
What was saved stays saved. Run briglia quicksetup again and it picks up where it stopped. On a computer that is already set up it just says so and exits; use briglia menu or briglia setup to change settings.
Without questions (scripts, developers)
briglia quicksetup --name Anna --yesWith --yes nothing is asked. The keys come only from environment variables, never from the command line: BRIGLIA_OPENROUTER_KEY, BRIGLIA_TELEGRAM_TOKEN and, optionally, BRIGLIA_AGENTMAIL_KEY. Briglia reads them once and removes them from its environment, so nothing it starts inherits them.
--telegram-chat-id <id>skips waiting for/start.--no-toolsskips the media tools (add them later inbriglia menu).- Over SSH on a Mac, Full Disk Access can't be granted and is skipped with a note.
Privacy of the free web services
Without a Serper key, searches go to Parallel and may be used to train their models; add a Serper key in briglia menu for more private search. Some sites (for example Reddit) block free page reading; a Jina key makes reading more reliable. See Providers & models.