Skip to content
pi-c Artifact [3887726a97]
Login

Artifact [3887726a97]

Artifact 3887726a9729e01cae18ccd4a498b6fe30f0284b691b05c49af6ca1b50ce8e72:


# What pic sends, and to whom

pic sends no telemetry: no usage statistics, no crash reports, no analytics, no identifier. Every
request below is one you caused, or one a setting you can see turns on. They are sorted by who
wrote the request, because that decides who you can hold to it.

`/bug` is not on the list: it records the report in `~/.pic/pic.sqlite` and sends it nowhere.

## pic's own code

These are requests pic makes by itself, with its own HTTP and TLS code, except the two noted
below that go through the `gh` command. Besides a model provider's own host, they reach pi.dev,
the relay, the update source, a sign-in host, an endpoint you added, and the artifact publisher you
named; the hosts are in the table.

| What | Host | When | Turn it off |
|---|---|---|---|
| The model catalog | pi.dev | a refresh of the model list, at most every four hours per provider; nothing about you is sent but the provider name | `offline`, or `PIC_MODEL_CATALOG=offline` |
| A free check of a key | the key's own provider | the terminal at start and on opening `/key` or `/auth`, and `pic auth status --check`; a request for the key's balance or the provider's model list, never a conversation | `offline` |
| Updating pic | zeitforge.app | `pic update` and the terminal's background update: a pull of pic's source ([updating pic](updates.md)) | `offline`, or `autoUpdate` false |
| Remote control | the relay (`remote.relay`, remote.zeitforge.app by default) and, for a notification, the push service your phone named | only while `pic remote` runs; what crosses is end to end encrypted ([remote control](remote-control.md)) | do not run `pic remote` |
| Sign-in to a subscription | the provider's sign-in host (auth.openai.com, openrouter.ai) | `pic login` or `/login` for that provider, and renewing its token when it is used | do not sign in |
| A list of models from an endpoint you added | that endpoint | `pic endpoints add` and its refresh | do not add one |
| `/share` | the artifact publisher you named (`artifactsUrl`, else `HTML_PUBLISHER_URL`), or a gist through `gh`, which talks to api.github.com | only after you answer yes, once; the whole conversation as one web page ([sharing](tui.md#sharing)) | answer no |

`offline` is one setting for everything pic starts by itself: the catalog, key checks, updating
and the web tools. It does not stop what you asked for outright: requests to the model, `/share`
after its yes, sign-in and `pic remote`. `PIC_MODEL_CATALOG=offline` stops only the catalog.

pic opens a port on this machine only for a sign-in's redirect: a listener on 127.0.0.1 that
lives until the provider's redirect arrives or you cancel, and `/rc ssh` looks at port 22 of this
machine, nowhere else, to tell whether Remote Login is on.

### Programs pic starts

pic itself starts a few programs, which reach the network or the network's settings on their own:

| Program | Where | What it does |
|---|---|---|
| `tailscale status --json` | remote control's pages (`/rc`, `pic remote status`) | asks the local Tailscale daemon for this machine's name and address; nothing is sent out by pic |
| `scutil --get LocalHostName` | macOS, the same pages | reads this machine's `.local` name from the system configuration |
| the system's URL opener (`open`, `xdg-open`) | opening a link you chose: a sign-in page, a shared page, a link in the transcript | hands an https://, http://, file:// or mailto: address to your browser or mail program |
| `gh gist create` | `/share` with the gist destination, after the yes | the whole page goes to GitHub through your `gh` login |
| `git`, `ssh` and the like | only when a command, hook or tool you started runs them | not pic's request; see "Third-party code" |

### What `pic share` is

`pic share` is the command `/share` runs after the yes. It sends the page on its standard input to
the configured publisher (`artifactsUrl`, else `HTML_PUBLISHER_URL`, which `--to` verifies rather
than overrides), so a command the model runs with `bash` could pipe a conversation to that
publisher. It therefore sends nothing unless you answer `y` at a prompt on the terminal, or the
call carries `--yes`. The [permission mode](permissions.md) governs `bash`: `ask-all` asks before
`bash` runs and `read-only` refuses `bash`, while `ask-edits` only asks on `write` and `edit`.

## The conversation

Everything you type, the files and command output the model asked to read, and the system prompt
go to the model provider you chose, and only to it, on each request. The hosts are the provider's
own API (for example api.anthropic.com or api.openai.com), or the base URL you gave a custom
provider in the models file or an endpoint. pic does not route a conversation through a service of
its own. A subscription sign-in sends its token to that provider and nowhere else.

When the provider has its own web search and a request uses it, that search runs on the provider's
side, inside the model request, and is billed by it ([web search](tools.md#web-search)).

## The model

A tool the model calls reaches the network only as far as the tool lets it:

| Tool | Host | Notes |
|---|---|---|
| `web_fetch` | the address the model chose | a GET of a public page; refused for addresses on this machine or its network, and while `offline` is on ([web fetch](tools.md#web-fetch)) |
| `web_search` | api.search.brave.com, or api.stackexchange.com | on by default; sends model-written queries to Brave with your Brave key, or to Stack Exchange (Stack Overflow, no key needed; results note CC BY-SA attribution and link to each post) when neither a provider search nor a Brave key is configured; off with `--exclude-tools web_search` or `offline` ([web search](tools.md#web-search)) |
| an MCP server over HTTP | the server's address in your configuration | each call the model makes to one of its tools ([MCP servers](mcp.md)) |
| `bash` | whatever the command contacts | see the next section |

The [permission mode](permissions.md) decides which of these ask first.

## Third-party code

pic cannot see, and does not limit, what these send, because they are not pic's code:

- commands the model runs with `bash`, and processes you start with `/monitor` or a loop;
- MCP servers started as local programs (stdio), and the tools they offer;
- [hooks](hooks.md), and scripts a skill or a prompt template runs;
- a key command (a stored key that is a command, such as `pass show ...`), and your external editor.

`offline` does not reach them. The [permission mode](permissions.md) is what asks before the model
starts one, and a hook can refuse a call before it runs.