# Data and privacy

What the seller node, the local buyer and the desktop app keep on your machine, what they send and to whom, and what never leaves your machine.

Source: https://docs.gyblos.com/en/reference/data-and-privacy

Gyblos services never receive your prompts, answers or keys. The seller that answers a request does
read it, though. This page lists what each part of Gyblos sends, where it goes, and how to turn off
what is optional.

## At a glance

| What                                      | Goes to                                                     | When                                                                                    | Turn it off                                                          |
| ----------------------------------------- | ----------------------------------------------------------- | --------------------------------------------------------------------------------------- | -------------------------------------------------------------------- |
| Your prompts and the answers              | The seller that serves the request, and its engine provider | Every request                                                                           | No. A seller has to read a prompt to answer it                       |
| [Signed receipts](#receipts)              | The metrics collector, `collector.gyblos.com`               | Release builds, about once a minute                                                     | No                                                                   |
| [Telemetry observations](#observations)   | The metrics collector                                       | Release builds, with the receipts                                                       | Yes: `GYBLOS_OBSERVATIONS=off`                                       |
| [Public seller records](#discovery)       | The discovery index, `discovery.gyblos.com`                 | While a seller is listed; the network list and the price history longer                 | Partly: set `publish = false`                                        |
| [Registration](#discovery)                | The discovery index and Solana devnet                       | Once, when you run `gyblos seller register`                                             | You choose whether to register                                       |
| [GitHub verification](#github)            | The discovery index, which then reads your gist on GitHub   | Only when you run `gyblos seller verify github`; the index rechecks about every 6 hours | You choose whether to verify; `--cancel` removes it                  |
| [Seller name](#seller-name)               | The discovery index                                         | Only when you run `gyblos seller name`                                                  | You choose whether to set one; `--clear` removes it                  |
| [Update checks](#update-checks)           | The GitHub API                                              | Desktop app: at start and every 5 minutes. Seller: on `status`                          | Yes: `GYBLOS_UPDATE_CHECK=0`                                         |
| [Explorer time zone](#explorer-time-zone) | A cookie in your browser, read by `explorer.gyblos.com`     | Written automatically on your first visit; kept for one year                            | Yes: block cookies for `explorer.gyblos.com`; times then show in UTC |
| [Network metadata](#network)              | Relays, peers, the index, the collector and the Solana RPC  | Every connection                                                                        | Partly: [relay-only mode](/en/reference/configuration)               |

A development build from a source checkout uploads no receipts or observations unless you set
`GYBLOS_COLLECTOR_URL`.

## What never leaves your machine

- **Private keys.** The owner, node and payment keys of a seller, the buyer key and the desktop wallet
  stay on your machine. In the desktop app, the wallet's paying key is also held in the memory of its
  local buyer while the app runs. Nothing sends them anywhere.
- **Credentials.** An engine API key goes only to its own provider. A relay token goes only to a relay
  that requires one. Neither is uploaded to Gyblos.
- **Prompts and answers, to Gyblos.** Receipts, observations, local telemetry files and diagnostic logs
  carry no message text. The metrics collector refuses any upload with a field it does not expect, such
  as a prompt.

## Desktop tokenizer download

A desktop profile with paid chat enabled checks its local tokenizer when the buyer starts. If either public file is missing or fails its integrity check, the app downloads the two pinned files from Hugging Face. The provider receives the model revision and filenames in the request URL and ordinary connection information such as your IP address. The request includes no chat text, credentials or wallet details. The buyer verifies both SHA-256 hashes before installing the files. It reuses a verified local copy offline. Free-only profiles do not start the download.

## Who can read your messages

- **The seller.** The seller that serves your request runs the model, so it can read your prompt and the
  answer. A free answer is not a private answer. Encryption protects messages on the way, not from the
  seller.
- **The seller's engine provider.** A seller that serves a model through an OpenAI- or
  Anthropic-compatible API forwards your prompt to that provider.
- **Not the relays or Gyblos services.** Relays carry only encrypted traffic, and the index and the
  collector never receive message text.

Do not send passwords, keys or other secrets to any model.

The desktop app saves your conversations and drafts in its own folder on your computer. They are not
synchronized anywhere, and the app does not encrypt them separately: protect them like any other file
in your account.

## Receipts

For every free answer, and every answer in a payment session, the seller signs a receipt. A single
priced request outside a session produces none. The buyer can add its own signed verdict on what it
received. A receipt contains:

- both NodeIds (seller and buyer) and the seller's owner address;
- the model, its settings and the engine kind;
- token counts, input and output sizes in bytes and characters, and timings;
- the outcome and finish or failure code, the reasoning level and metering mode, the offer's prices,
  and the amount and fee charged for this request;
- a digest (a hash) of the request, never its text.

Each upload also names the uploader's role, client kind (`seller-node`, `buyer-cli` or
`buyer-desktop`), release version, operating system and processor architecture.

**Who uploads.** Release builds of the Docker seller, the native seller, the desktop app and the command-line buyer (`gyblos buyer`) upload
receipts to `https://collector.gyblos.com/v1`. Receipts have no opt-out.

**How.** The node sends up to 50 receipts every minute. A failed upload keeps them pending on your
machine and retries later, waiting up to one hour between attempts. When the app, the seller or a command
closes, it spends up to 3 seconds sending buffered observations and pending receipts. Receipts still
pending wait on disk for the next start; observations not sent by then are dropped. Uploading never delays or blocks an answer.

**What is public.** The collector keeps the raw receipts private and publishes aggregates only: network,
model and per-seller daily totals, keyed by NodeId. It uses your IP address for rate limiting and does
not store it. Model totals are published as a leaderboard of the 100 most used models in the requested
range, and for one exact identity (model, variant and quantization) on demand: an exact query answers
that identity's rows even when they never made the leaderboard, so the totals of any model ever reported
in a valid receipt are public, however few its requests.

The same network, model and per-seller totals (requests, outcomes, tokens, seller latency, and the
authorized amounts and fees of paid requests) are also published per UTC hour, including the hour in
progress, updated about every 10 minutes. In an hour with a single request, that request's token count
and latency can be inferred, and on a seller's totals they belong to that seller. Buyer counts, new
buyers, observations, unserved demand, buyer applications and failures stay daily, as described below.

The network totals also count distinct buyers: free buyers by NodeId and paid buyers by wallet (or by
NodeId when a paid receipt names no wallet), never added together. Each count is published for all
time and for the buyers whose first receipt reported by the seller and not disputed by the buyer falls in the chosen days. A buyer stays counted even if that receipt is disputed later.
Buyers new today are counted only once the UTC day ends. A count below 5, zero included, is withheld.
These are counts only, never which buyers they are. Subtracting the counts of two ranges, or of all
time and a range, can still give counts below 5, down to the new buyers of a single day, and anyone
who creates their own keys can push a count past 5.

**On your machine.** The seller keeps pending receipts until the collector accepts them, plus a short
history of uploaded ones (at most 256, for up to seven days). `gyblos seller status` shows the queue.

## Telemetry observations

Observations are content-free events that receipts cannot carry: a request that no seller could serve,
a refusal before a seller was chosen, a failed connection, the latency the buyer experienced, whether
the seller was reached directly or through a relay, and when each request started. Each event belongs
to the node that sends it and carries no message text.

Each event names the buyer's NodeId and, once one is chosen, the seller's NodeId, plus a request ID, the
model, the timing and, when known, token counts, sizes and any amount charged. Observations therefore
show which sellers a buyer tried and when, including attempts that produced no receipt.

The collector publishes only daily totals of these events. For unserved demand it lists up to 20 models a
day, the most requested first, and also the number of models and requests behind that list. A day with
20 models or fewer lists every one of them, even a model asked for once; beyond 20, the rest count only
in the day's totals, without their names. Each day also says whether its totals are final,
partial, pending or not captured, and when they were last computed. The first day with any receipt or observation, even one that adds to no published total, is public as the start of collection: earlier days read "not captured".

Release builds send observations with the receipts. They wait in memory, at most 5,000 events, so a
restart loses the ones not yet sent.

To turn observations off, set `GYBLOS_OBSERVATIONS=off` in the environment of the process:

- **Docker seller:** add the line `GYBLOS_OBSERVATIONS=off` to `~/gyblos-seller/seller.env`, then
  recreate the container:

  ```sh
  cd ~/gyblos-seller
  docker compose up -d --force-recreate seller
  ```

- **Native seller:** add the same line to `seller.env` in the seller's home (`~/.gyblos` or
  `%USERPROFILE%\.gyblos`), then run the installer again. It reinstalls the service with the current
  `seller.env`.
- **Command-line buyer:** start it with the variable set: `GYBLOS_OBSERVATIONS=off gyblos buyer start`.
  In PowerShell, run `$env:GYBLOS_OBSERVATIONS = 'off'` first, then `gyblos buyer start`.
- **Desktop app:** quit the app, then start it from a terminal with the variable set. On macOS:

  ```sh
  GYBLOS_OBSERVATIONS=off /Applications/Gyblos.app/Contents/MacOS/gyblos-desktop
  ```

  On Linux, with the `.deb` installed:

  ```sh
  GYBLOS_OBSERVATIONS=off gyblos-desktop
  ```

  On Windows, in PowerShell, from the extracted `gyblos-desktop-win32-x64` folder:

  ```powershell
  $env:GYBLOS_OBSERVATIONS = 'off'
  .\gyblos-desktop.exe
  ```

  The setting applies to that launch only.

Receipts are still uploaded with observations off.

`[telemetry] file = true` in `config.toml` is a separate, local option: it writes private telemetry
files under the role's `telemetry/` folder and sends nothing. It is off by default.

## Discovery index and registration

A listed seller publishes signed public records to the discovery index: its NodeId, its owner address,
each offered model (name, variant, quantization and context size) with its price, which is zero for a
free offer, and its data-retention policy. While it runs it renews a presence record, and it publishes
a withdrawal when it stops or you unpublish it. Anyone can read these records. They contain no IP
address. Set `publish = false` to stop publishing (see [Register and publish](/en/sellers/register-publish)).

`gyblos seller register` sends your invite code to the index. The index stores your NodeId, owner
address and 8004 agent registry asset, a hash of the invite code (never the code), the time, and the
two-letter country of the request. It does not store your IP address. The invite code was issued to a
contact you gave Gyblos (an email address or Telegram handle). The index keeps that contact with the
invite, so Gyblos operators can link it to your NodeId, owner address and country. The contact is never
published. Registering also writes a public
entry in the 8004 agent registry on Solana devnet.

The index's public network list (`/v1/network`) shows every registered NodeId, since the 8004 registry
already makes it public, and any other seller the index saw in the last 30 days. For each one it shows
whether it is online, offline or unpublished (never published, or withdrawn), when the index first and
last saw it, and its models while online. Unpublishing does not take you off this list: a registered
seller stays on it, and any other until 30 days after its last presence. It shows no owner address,
contact, country or IP address. A revoked NodeId is listed only while it is online.

The index also keeps the history of every catalog it accepts (`/v1/offers/history`): the NodeId, the
owner address, each offered model with its exact price, and when that catalog started, was last
renewed and ended (replaced, withdrawn or expired). Anyone can read it by NodeId or by model, for up
to the last 92 days per request. It is kept after you unpublish, for about ten years after each catalog
ended, so past prices stay traceable.

The index also publishes how many sellers were online (`/v1/network/history`): the average and
peak counts per window of whole hours of the last 92 days, so down to a single hour, without NodeIds, computed from the same uptime the index already keeps.

`/v1/models/catalog` lists the offered models, up to 500, each with a `family` and `lab` read from the model id or from Gyblos's registry, never
from what the seller claims. An id no rule recognizes shows family `other` and its publisher, or
`Unknown`, as lab, with `source: "fallback"`. A model Gyblos classified by hand shows `source: "registry"` and its
`categories` (such as `coding` or `reasoning`), which describe the model, not any seller; other models show `categories: []`. It adds no seller data.

Buyers and the desktop app read the index to find sellers. `gyblos seller status --online` also asks it
for the seller's own uptime by NodeId, which the seller already publishes there. The index uses IP
addresses for rate limiting and stores none.

## GitHub verification

Linking a GitHub account to your seller is optional. Nothing is sent unless you run
`gyblos seller verify github` (see [Verify your GitHub account](/en/sellers/identity#verify-github)).

**What becomes public.** The index publishes your claim at `GET /v1/identity/github/<NodeId>`: your
NodeId, your GitHub account name, the gist id, the state (`pending`, `verified` or `lost`), the reason for
the last result, when the index last tried to check (even if GitHub didn't answer) and since when it was last verified (still shown after it turns `lost`), and the time your node signed the claim with its signature, so anyone can check the claim without trusting the index. Anyone can read it,
whatever the state. While the state is `verified`, the network list (`/v1/network`) also shows the account
and the gist next to your seller. The gist itself is public on GitHub. A secret gist works too, but its id
is published, so treat it as public.

**What the index sends to GitHub.** The index reads one file,
`https://gist.githubusercontent.com/<account>/<gist>/raw/gyblos-proof.txt`, with no GitHub token or API
call. It reads it when you send the claim, at most once a minute per seller, and then about every 6 hours
(it looks for due checks every 10 minutes). A claim that is still `pending` 7 days after you sent it is no
longer checked until you run the command again. GitHub sees these requests come from the index, not from
your machine.

**What your machine sends.** The command signs the claim with the node key and sends it to the index:
your NodeId, the account, the gist id and the time. It also reads the same gist file from your machine (and,
when that file is missing, the gist's bare raw URL, to tell a wrong file name from a missing gist), so
GitHub sees your IP address. If the GitHub CLI (`gh`) is installed, the command asks GitHub through `gh`
which account `gh` is signed in as, but only when it has no gist to reuse for that account: no `--gist`,
none saved for that account and none at the index (a saved gist that was found deleted doesn't count). It asks even if it then
doesn't use `gh`. When that is the account you named, it uses your signed-in GitHub session to list your
public gists and create the proof gist. `gyblos seller status --online`
and `--status` ask the index for your claim by NodeId.

**On your machine.** The command saves its progress (a format version, your NodeId, the account, the gist id and the last step) in
`github-verification.json` in the seller home's `seller/` folder, readable only by you.

**Remove it.** Run `gyblos seller verify github --cancel`. The index stops showing the account, the GET
route answers `404`, and the command deletes the progress file. The index keeps only three things, and never
serves them: your NodeId, the signed time of the cancel, and the last time a claim reserved a read of your
gist. That reservation is written before the index contacts GitHub, even if the read then fails, and
scheduled checks don't change it. The cancel's time makes the index refuse any older claim, so an old claim
can't be sent again; the reservation time keeps a new claim from making the index read GitHub more than once
a minute. The gist stays on GitHub: delete it yourself, or, if other sellers share it, remove only this
seller's line.
Copies that others made while it was public are outside Gyblos's control.

## Seller name

A public name for your seller is optional. Nothing is sent unless you run `gyblos seller name` (see
[`seller name`](/en/reference/cli#seller-name)).

**What becomes public.** The index publishes the name at `GET /v1/profile/<NodeId>`, with your NodeId, the
time your node signed it and the signature, and shows it next to your seller in the network list
(`/v1/network`). Anyone can read it. The name is not verified and not unique: anyone who sees it should
treat it as a label you chose, not as proof of who runs the seller. Don't put your legal name, email or
location in it. The name is linked to your NodeId, and through it to your seller's public uptime, models and
owner wallet, so anyone can connect them.

**What your machine sends.** The command signs the name with the node key and sends it to the index: your
NodeId, the name and the time. `--status` asks the index for the name by NodeId. Nothing is saved on your
machine.

**Remove it.** Run `gyblos seller name --clear`. The index stops showing the name, the GET route answers
`404`, and the index keeps only your NodeId and the signed time of the clear, so an older name can't be sent
again. Copies that others made while it was public are outside Gyblos's control.

**Removal by the operator.** The index operator may remove a name, for example one that impersonates
someone, and keep it from being set again until the operator allows it; the command then ends with
`DISCOVERY_PROFILE_HELD`. The index also stops showing a name once it no longer knows your seller.

## Solana devnet

Registration and payments are public devnet transactions: anyone can see the addresses and amounts on
a Solana explorer. Buyers and the desktop app also read the 8004 agent registry through a Solana RPC
(by default `https://api.devnet.solana.com`) to check each seller's identity. The RPC provider sees
those requests and your IP address.

The Gyblos explorer (`explorer.gyblos.com`) lists the latest on-chain transactions of Gyblos channels
(those whose open carries a Gyblos memo, or whose distribute pays the Gyblos treasury), newest first:
time, instruction type, USDC amount (for a payout, how it split between the seller, the Gyblos fee, the
program treasury and the refund to the buyer), signature, seller and channel, from the metrics
collector's public `GET /v1/stats/chain/txs`. The seller column shows a listed seller when the channel's
payout recipient (its first split recipient) equals the owner address that one, and only one, listed
seller publishes in the discovery index, and links to that seller's page; a payout shared by several
channels says "Several channels", and otherwise it says "Unlisted seller". That owner address is
self-declared, so the column is a display hint, not proof of who was paid. It does link a listed
seller's owner address to the channels that paid it and to the amounts.

Each seller also has a page in the explorer, `explorer.gyblos.com/sellers/<NodeId>`, that gathers what is
already public about it: its self-chosen name and verified GitHub account when it set them, its NodeId and
owner address, its online state and uptime from the discovery index, its daily and per-model totals from
the metrics collector's public `GET /v1/stats/sellers/<NodeId>` (buyer counts below 5 withheld, as above),
and the Gyblos channel transactions whose payout recipient is its owner address, from
`GET /v1/stats/chain/txs?recipient=<owner address>`. The owner address is shown only while the seller is
online, and other sellers may publish the same one, so the listed transactions may belong to any of them.
Going offline only hides the transactions from that page: anyone can ask the collector for the channels
of any recipient address, and the transactions stay public on chain. A buyer's channels with a seller,
with their deposits, payouts and refunds, are listed on that seller's page.

## Explorer time zone

The explorer stores one cookie, `gyblos_tz`. On your first visit the page writes it automatically with
your browser's time zone name (such as `America/Santiago`). When you choose **UTC**, it keeps only that
choice, without the zone. The cookie lasts one year. The explorer server reads it only to show times in
that zone and does not keep it. It has no identifier and is not used for analytics. To avoid it, block
cookies for `explorer.gyblos.com`: times then show in UTC. Clearing it shows times in UTC until the page
detects your zone again. The zone's UTC offset decides the times at which the explorer's days and weeks
start, and the explorer server sends those times to the collector and the discovery index when it reads the charts; it does not
send the zone name or your IP address.

## Update checks

- **Desktop app:** at startup and every five minutes, it asks the GitHub API for the latest desktop
  release. It sends no identity or chat content and never downloads or installs anything.
- **Seller:** on a release build, `gyblos seller status` asks the GitHub API for the latest release.
  It sends nothing about the seller.

Set `GYBLOS_UPDATE_CHECK=0` to turn either off: in the environment that starts the desktop app (as for
observations above), or in the shell that runs `gyblos seller status`. For the Docker seller, add it to
`seller.env`, because `docker compose exec` uses the container's environment.

## Network metadata

Sellers and buyers connect peer to peer. A direct connection shows each peer's IP address to the other.
A relay carries encrypted traffic when a direct path fails, and sees both IP addresses. Relay-only mode
(`transport.relay_only`) keeps a seller's address from buyers, but not from the relay. The discovery
index, the metrics collector and the Solana RPC see the IP address you connect from.

## Where data stays on your machine

| Install       | Location                                                                     | Contents                                                                                                                          |
| ------------- | ---------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| Docker seller | `~/gyblos-seller` and the Docker volume `gyblos` (mounted at `/data`)        | `config.toml` and `seller.env` in the folder. Keys, registration state, receipts and payment records in the volume                |
| Native seller | `~/.gyblos` (Windows: `%USERPROFILE%\.gyblos`)                               | `config.toml`, `seller.env`, `service.log` (macOS and Windows), and `seller/` with keys, registration, receipts and payments      |
| Desktop app   | `gyblos-desktop` and `gyblos-wallet` in the system's application-data folder | Conversations, activity, the Chat budget and the local buyer; the wallet, once you set it up, protected by the system's key store |

If you ran `gyblos seller verify github`, the seller's `seller/` folder (in the volume or in `~/.gyblos`)
also holds `github-verification.json` until you cancel.

The application-data folder is `~/Library/Application Support` on macOS, `%APPDATA%` on Windows and
`~/.config` on Linux.

> **Deleting these folders deletes keys**
>
>
> Removing a seller's home or volume, or the desktop's `gyblos-wallet` folder,
> permanently deletes its keys. It cannot be undone: the NodeId, registration
> and any funds controlled by those keys are lost. To stop instead, stop the
> seller or quit the app. To keep a backup, see [Identity and
> backups](/en/sellers/identity).

**Related:** [Identity and backups](/en/sellers/identity) ·
[Configuration reference](/en/reference/configuration) · [Desktop app](/en/buyers/desktop-app) ·
[Troubleshooting](/en/help/troubleshooting).
