Without Docker, on the machine where your agents already run (Node.js 22.13 or later):
npx briefling
It prints Open http://127.0.0.1:8787/#token=.... Data in ~/Library/Application Support/briefling (macOS),
~/.local/share/briefling (Linux), %LOCALAPPDATA%\briefling (Windows); --data DIR and --port N change them.
The agents found on the PATH (Claude Code, Codex, GitHub Copilot CLI, Cursor, Gemini CLI, Antigravity CLI, Kiro, Hermes, and for local models maki, pi, opencode, goose, Qwen Code, Mistral Vibe) are launched into Home at the first start (BRIEFLING_AUTO_LAUNCH=0: none), then each one is
launched, relaunched or stopped from its row in Settings > Agents (an agent stopped there stays stopped when the
server restarts); they need uv. briefling install makes it a user service that starts with your
session (launchd on macOS, systemd --user on Linux; briefling uninstall removes it, the data stays), briefling url
prints the sign-in link. The service starts with the PATH and the BRIEFLING_* settings of the shell you installed it
from, and runs a copy of the program kept in the data folder. Windows: npx briefling runs the server and its
agents (the bridge then reaches its tools over 127.0.0.1 with a random key instead of a Unix socket), but there is no
service: keep the window open.
Updates
The server asks the npm registry once a day (30 s after it starts, then every 24 h) whether a newer briefling is
out; the admins then see « briefling X.Y.Z available ». Only a stable version above the running one counts: never a
downgrade nor a pre-release. The request carries nothing about you (the registry sees the machine's address);
BRIEFLING_UPDATE_CHECK=0 turns it off. Behind a proxy, the check and the download go through HTTPS_PROXY /
HTTP_PROXY (and NO_PROXY) of the environment the server started with, with Node.js 22.21 or later; 127.0.0.1 and
localhost never go through it.
- Service (
briefling install): « Update » in that dialog. The server downloads that exact version from the registry, refuses it unless its sha512 matches the registry'sdist.integrityand itscli.mjs --versionanswers that version, waits until no agent turn runs (a turn started more than 12 h ago is a leftover and does not count), backs up the database (<data>/backups, the last 3 kept), puts the new copy in<data>/app(the old one inapp.prev) and restarts. If the new version does not start (an error at start, or 3 starts that never got to listen), the old copy and the database as it was before the update come back, and the dialog says so. The first version with this button is 0.1.1: a service installed from 0.1.0 updates once by hand,npx briefling@latest install. npx briefling(and Windows, which has no service): stop it and startnpx -y briefling@X.Y.Z. A plainnpx brieflingalso takes the newest version when the registry answers (npm 10 checks it and refreshes its cache), but the pinned form leaves no doubt. A global install:npm install -g briefling@X.Y.Z, then start it again.- Docker: the image is replaced, never updated inside the container:
docker compose pull && docker compose up -dwith a published image (BRIEFLING_IMAGE),git pull && docker compose up -d --buildwhen it is built here.
Agents on a local model
The scan also looks for model servers on 127.0.0.1: vLLM (:8000), Ollama (:11434) and llama.cpp's llama-server
(:8080, counted only when /v1/models answers a model list). They are not agents: point one of the agents above
at them in its own config. The ACP commands are fixed in the server (maki acp, npx -y pi-acp@<pinned>,
opencode acp, goose acp, qwen --acp, vibe-acp); the browser only picks an agent found by the scan.
Allow briefling's tools once in each agent. The bridge refuses every permission request, so an agent that asks
before calling a tool never gets to use briefling's tools (turn_outcome, propose_thread, memory_search...;
full list in the bridge's README) until its own config allows them. They come from an MCP server named briefling:
- opencode (
opencode.json, global~/.config/opencode/or the project's):{"permission": {"briefling_*": "allow"}}. - goose (
~/.config/goose/config.yaml):GOOSE_MODE: auto(its default) runs every tool without asking. Inapprove/smart_approve, list each tool in~/.config/goose/permission.yaml(exact names, no wildcard):user: { always_allow: [briefling__turn_outcome, briefling__propose_thread, ...] }. - Qwen Code (
~/.qwen/settings.json):{"permissions": {"allow": ["mcp__briefling"]}}(every tool of that server).mcpServers.briefling.trustdoes not apply: the server comes from the bridge, not from that file. - Mistral Vibe (
~/.vibe/config.toml): one block per tool,[tools.briefling_turn_outcome]thenpermission = "always", and so on for each tool. - pi: no permission to give, pi never asks. But pi-acp does not pass the bridge's MCP servers to pi: pi answers in its threads without briefling's tools (it cannot end a turn, propose a thread or read the project memory).
- maki: see maki's own documentation for its tool permissions.
- Antigravity CLI (
agy): sign in once with an interactiveagysession oragy acp --login(agy acpreuses those credentials), then addmcp(briefling/*)to theallowlist of~/.gemini/antigravity-cli/settings.json(MCP tools default to Ask).
When a tool is refused, the agent's reply says « Refused (not pre-authorized...) » with the tool's name.
Your own GitLab
A space's Settings › Work › GitLab connects gitlab.com or a GitLab of your network (CE or EE, 15.5 or later for the
token's details): the Board from its issues, the board driver (one open issue = one thread), labels and columns, new
issues, the merge requests with their pipelines and the Merge button, the flow config and the memory import. Only a
global admin of the server types another URL than gitlab.com (https:// only, a path such as https://corp/gitlab
works); a space admin then keeps that instance. The server calls GitLab itself, from this machine, with the space's
token (project, group or service account token, scope api, Developer or more); the token never reaches a browser
nor an agent. Calls go through HTTPS_PROXY like the update check: put the GitLab host in NO_PROXY when it is
reached directly.
Internal certificate. Node.js trusts the public CAs only. When GitLab's certificate comes from your company CA, Settings says « This GitLab's certificate is not trusted by the server ». Give that CA (PEM file, the chain if there are intermediates) when the server starts, it is read only then:
-
npx briefling:NODE_EXTRA_CA_CERTS=/etc/ssl/corp-ca.pem npx briefling;briefling installkeeps the variable in the service it writes (install again after changing it). -
Docker: mount the file and set the variable, in a
docker-compose.override.ymlnext todocker-compose.yml:services: briefling-server: environment: { NODE_EXTRA_CA_CERTS: /ca/corp-ca.pem } volumes: ["/etc/ssl/corp-ca.pem:/ca/corp-ca.pem:ro"]
Never turn verification off for the whole server (NODE_TLS_REJECT_UNAUTHORIZED=0): the token would go to whoever
answers. As a last resort, Settings › Work › GitLab has Disable SSL verification (global admin): it applies to
that instance's calls only, with the same risk for its token.
With Docker
One command on a machine with Docker (Compose v2.24 or later):
docker compose up -d
docker compose logs briefling-server
The logs print Open http://127.0.0.1:8787/#token=...: open that address. The token is the admin's key, so keep it
to yourself (it stays in data/admin-token on the data volume, and the same one comes back at each start). The
server is reachable from this machine only (port published on 127.0.0.1). Its data (SQLite, files, keys) lives in the
data volume.
With a Hermes agent (hermes profile)
docker compose --profile hermes up -d
A Hermes agent with the briefling plugin (the release the server announces, checked against its commit) joins the Home space by itself, using the invitation the server leaves on a volume that only these two services share. Its shell is its own container: no Docker socket, no host folder, no port. It needs a model:
- An OpenAI-compatible server (vLLM of the
gpuprofile, Ollama, llama.cpp...): setBRIEFLING_HERMES_BASE_URL(e.g.http://vllm:8000/v1) andBRIEFLING_HERMES_MODELin.env. - A provider key (Anthropic, OpenAI, OpenRouter...): run Hermes' wizard once with
docker compose run --rm hermes setup. It writes the key into thehermesvolume, never into this folder.
The agent reaches the hub at the same 127.0.0.1 address as your browser, through a small relay in its container
(docker/hermes/relay.py) to the server on the compose network: a restarted or crashed server is found again.
Over the network (tls profile)
Set BRIEFLING_DOMAIN=briefling.example.org and BRIEFLING_URL=https://briefling.example.org in .env, point the
name at the machine, then docker compose --profile tls up -d: Caddy gets the certificate and forwards to the
server. With your own proxy instead, set only BRIEFLING_URL and forward to 127.0.0.1:8787, keeping the Host
header. Without OIDC (below), the admin token is the only key: anyone who has it drives your agents.
People signing in (dex profile, or your own OIDC provider)
With an OIDC issuer set, people sign in there and the admin token is refused. Only the addresses of
BRIEFLING_OIDC_ADMINS and the ones invited from a space (Settings > Members, valid 7 days, no mail sent: tell them)
get in, with a verified e-mail; everyone else the provider knows is turned away by briefling.
-
Create a
dexfolder next todocker-compose.ymlwith your sign-in methods (both files optional):dex/connectors.yamlfromdocker/dex/connectors.example.yaml(GitHub, Google, any OIDC provider: register<BRIEFLING_OIDC_ISSUER>/callbackat the provider, the secrets go in.envasDEX_CONNECTOR_CLIENT_IDandDEX_CONNECTOR_CLIENT_SECRET), and/ordex/passwords.yamlfromdocker/dex/passwords.example.yaml(local accounts, bcrypt hashes). -
In
.env:BRIEFLING_OIDC_ISSUER=https://briefling.example.org/dex # on this machine only: http://127.0.0.1:5556/dex BRIEFLING_OIDC_ADMINS=me@example.org BRIEFLING_OIDC_INTERNAL_URL=http://dex:5556/dex -
docker compose --profile dex --profile tls up -d(withouttlson this machine only).
Your own provider instead of Dex (Keycloak, Authentik, Google...): a public client (no secret) with the code flow and
PKCE, redirect URI BRIEFLING_URL/, scopes openid email profile; set BRIEFLING_OIDC_ISSUER and
BRIEFLING_OIDC_CLIENT_ID, no dex profile. Agents never use the provider: they keep the keys the server gives them
when they join. Sessions last 12 h, then the app goes back through the provider (silently while its own session
lasts): Dex's refresh tokens deadlock on SQLite in v2.46.1, so they are off.
Previews (preview profile)
Agent previews need a TURN relay: set BRIEFLING_TURN_SECRET (a long random string), BRIEFLING_TURN_IP (the
machine's public address) and BRIEFLING_TURN_URLS=turn:<that address>:3478, then --profile preview. Ports 3478
(TCP/UDP) and 49160-49200 (UDP) must be reachable.
Local model on a GPU (gpu profile)
vLLM (BRIEFLING_VLLM_MODEL, default Qwen/Qwen3-8B, HF_TOKEN for gated models) served as local at
http://vllm:8000/v1 inside the compose network only. Needs an NVIDIA GPU and the NVIDIA container toolkit.
Settings (.env next to docker-compose.yml)
| Name | Default | What |
|---|---|---|
BRIEFLING_PORT |
8787 |
port published on 127.0.0.1 |
BRIEFLING_URL |
http://127.0.0.1:<port> |
the address browsers and agents use: http on loopback, else https |
BRIEFLING_AGENT |
hermes |
name of the Home space's agent |
BRIEFLING_HERMES_BASE_URL, BRIEFLING_HERMES_MODEL |
OpenAI-compatible model of the hermes service |
|
BRIEFLING_DOMAIN |
tls profile |
|
BRIEFLING_TURN_SECRET, BRIEFLING_TURN_IP, BRIEFLING_TURN_URLS |
preview profile |
|
BRIEFLING_VLLM_MODEL, HF_TOKEN |
gpu profile |
|
BRIEFLING_OIDC_ISSUER, BRIEFLING_OIDC_ADMINS |
people sign in at this issuer; these e-mails are admins | |
BRIEFLING_OIDC_CLIENT_ID, BRIEFLING_OIDC_INTERNAL_URL |
briefling |
client id; where the server reaches the issuer (http://dex:5556/dex) |
BRIEFLING_DEX_DIR, DEX_PORT, DEX_CONNECTOR_CLIENT_ID, DEX_CONNECTOR_CLIENT_SECRET |
./dex, 5556 |
dex profile |
BRIEFLING_IMAGE, BRIEFLING_HERMES_IMAGE |
built here | a published image instead (docker compose pull) |
BRIEFLING_UPDATE_CHECK |
on | 0: never asks the npm registry for a newer version (« Updates » above) |
Images
docker compose builds both images from this folder. Each green run of the Docker workflow on main also pushes
them to ghcr.io/briefling/briefling-server and ghcr.io/briefling/briefling-hermes (tags main and
sha-<commit>). For now they are private, like the repo: docker login ghcr.io with a token that has
read:packages.