What runs where.
The daemon, the terminals, your settings and your transcripts live on your computer. The daemon listens on 127.0.0.1 only, and there is no unauthenticated mode, even on localhost. Every client, including the desktop app, opens with the daemon token before anything else.
Your code, your prompts, what your agents print and your model keys stay on your computer. Polias uses no analytics library and no third-party tracking. Everything that can leave the machine is listed below, including the four things that go to MTMN Digital, the company that makes Polias.
| What leaves | When | Who receives it |
|---|---|---|
| Model requests | An agent is routed to a provider you added | That provider only, such as Anthropic, OpenAI, Google, OpenRouter, or a server of your own |
| Vendor traffic | Agent tools on subscription sign-ins, and Gemini CLI, run | Their own vendors, directly. Polias does not proxy them |
| Mesh traffic | You pair a phone or another computer | The paired device, encrypted end to end, by direct connection or through a relay that sees only ciphertext. The mesh also does n0 DNS address lookup |
| Push requests | An agent starts waiting on you, and you set a push service | Your push service, then FCM or APNs. It carries the platform, the phone's push token and the agent's name |
| Update checks | You press Check for updates | The public GitHub repository MTMN-Digital/polias-releases |
| The account check | When you sign in, then every 6 hours while online | MTMN Digital: your email address, an id for this install, the computer's name, its system and the Polias version. It is what lets Polias start new agents; signing out stops it |
| Usage figures | Once a day while you are signed in, unless you switch them off in Settings, Account | MTMN Digital: counts only, such as agents started and minutes worked, stored against your account so your recap can be emailed to you. Never prompts, code, file or repository names, or terminal output |
| Crash reports | Only if you turn them on in Settings, General, when Polias itself crashes | MTMN Digital: the version, the system, the fault and the last log lines, with paths, names and keys removed |
| Problem reports | Only when you press Send in Report a problem, after you have seen exactly what it contains | MTMN Digital |
| Agent tool usage | Every 15 minutes, unless you switch it off in Settings | The agent tool's own service (for Claude Code, Anthropic), with that account's sign-in on your computer. Nothing about it goes to MTMN |
The data folder sits at ~/.local/share/polias on Linux and ~/Library/Application Support/polias on macOS. On Windows it is under your local app data folder. It holds the database, the daemon file, the token, logs, backups and task worktrees. The daemon refuses to start on a data folder owned by someone else.
Your keys and tokens.
Provider API keys go into the operating system keychain: Keychain on macOS, Credential Manager on Windows, Secret Service on Linux. They are never written to the database, config files or logs, and no method returns them.
The daemon token is a random 32-byte hex value in a file only your user can read. Terminal sockets need a single-use ticket that lasts 30 seconds, and tokens never appear in a URL. Each agent also gets its own hook, gateway and control tokens. Only their SHA-256 is stored, and an ended agent's tokens open nothing.
Model traffic and the private-repo rule.
Agents routed to a registered provider send their model requests through a gateway on 127.0.0.1. The gateway strips inbound auth headers and adds the provider key itself, so a provider never sees a Polias token. A regression test checks that the upstream sees the key and nothing else.
A rule marked Strict is enforced in the gateway. An agent under it cannot reach a provider outside the rule's set, even through a fallback: the gateway answers 403 and opens no upstream connection. A manual model outside the set is refused, and helpers an agent starts inherit the set. A regression test sets a strict local set beside a mock remote and asserts zero connections to the remote.
Strict guarantees that traffic stays inside the providers the rule names. It means local only when the rule names a local one, such as Ollama on a machine you own.
Subscription logins are not proxied, and Gemini CLI does not go through the gateway in this version. A strict rule cannot govern traffic that does not pass through it.
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 and Aider with --analytics-disable.The device mesh and relays.
Computers and phones reach each other through iroh (QUIC, hole punching, relay fallback). Each daemon has an Ed25519 device key, and QUIC with those keys authenticates every stream end to end. An unpaired device is refused before any stream is read.
Pairing uses an 8-character code from your screen. It works once, for five minutes, and five wrong attempts burn it. A relay forwards ciphertext and learns nothing about the content.
Relays are iroh's default public relays unless you set a custom one in Settings, Devices, Relay. A self-hosted relay kit is in the repository, and nothing has been applied from it yet. If you use Tailscale or Headscale, tailnet addresses serve as a direct-path hint, and the connection is still pinned to the device key. Polias installs no system VPN.
Port sharing offers a local TCP port to named paired devices for 60 seconds to 24 hours (one hour by default). The receiver binds it on its own 127.0.0.1, never publicly, and you can revoke it. Phones cannot use it.
A paired computer can do everything you can do locally. Pair one as you would hand over a session.
Phones and push.
A phone pairs with each desktop separately, and the desktop answers its own calls. By default a phone can read agents, tasks and diffs, watch terminals, answer an agent that is waiting on you, and send text. Starting, stopping and landing work needs a grant per phone: launch, lifecycle or full. The desktop checks every request against that scope and audits each refusal.
A device declares itself phone or computer when it pairs and cannot change it. An answer carries the question it answers, so a delayed or replayed answer to an old question is rejected. If you lose a phone, remove it in Settings, Devices on each computer. Its key then stops working there.
A push carries the agent name, cut to 64 characters, and the words "needs you". It never carries the question, a command, a path, a diff or code. Firebase and Apple therefore see agent names, so name agents accordingly. The phone's push token is stored only in the desktop daemon's database and never logged or shown.
Push goes through a small service, athena-push, that holds the Firebase and Apple credentials so no desktop needs them. Each daemon signs its requests with its device key. The service refuses a request that is unsigned, stale by more than 60 seconds, replayed, or from a computer it has not enrolled. The repository records no push service deployed yet. Without one, the phone shows needs-you when you open it.
One known limit: a stolen device key can push until it is removed from the service's key file.
The agent sandbox.
Claude Code, Codex, Gemini CLI, OpenCode, Aider and shells run as your own user account, exactly as if you had started them in a terminal. They can read anything you can, including the daemon token. Rules like how many helpers an agent may start, file claims and per-agent tokens are cooperative. They keep well-behaved agents in their lane and record each action in the audit log. A determined agent can get around them.
The built-in agent, polias-agent, can run sandboxed. It uses one Docker container per session with --network none, --cap-drop ALL, no-new-privileges, a limit of 512 processes and 2 GB of memory. Only the repository is mounted read-write, and no environment is passed in. It gets no daemon token and no path to the data folder. Every file path is confined to its working directory after resolving .. and symlinks.
Its read and search tools never ask. Edit, write and shell ask unless you allow them. Docker is the default sandbox on every system. With that sandbox chosen and no Docker installed, the agent cannot run tools. Podman is not supported. The launcher also offers None, run on this machine, which runs its tools outside any container; an agent that spawns helpers can never choose it. Native sandboxes for each operating system are not built; they are planned for later.
The task board works in separate git worktrees. Nothing reaches your checkout until you press Apply, and Apply only fast-forwards.
Logs and retention.
- The daemon log is
logs/poliasd.login the data folder. It rotates at 5 MiB and keeps two old files. - The gateway writes one line per request: agent, provider, model, status, milliseconds and token counts. It never logs a body, header, key or token.
- Transcript search never logs a query or a message.
- Control calls, task changes, pairing and phone refusals go to an audit log in the daemon's database, without prompt text. There is no screen to read it yet.
- The self-hosted relay and push service kits keep their logs in journald for 14 days. Neither is deployed yet.
The desktop app's content security policy allows connections only to itself and ws://127.0.0.1. The phone app allows no network connections beyond its own IPC. Patch lines and search snippets are drawn as text, never HTML.
Updates.
Polias installs an update only when it is signed with the project's updater key, and the update feed cannot change that key. Checking is manual, under Settings, General, Updates. It never checks or downloads by itself.
Operating system signing is not set up yet. macOS Developer ID and notarisation, and Windows code signing, are pending, so do not expect builds that either system recognises as signed. There is no release yet. When there is, each platform will have a SHA256SUMS-<platform>.txt file to check the download against.
Reporting a problem.
In the app, use Report a problem in Settings or on any error message: you see exactly what will be sent before you press Send, and you get a reference to quote. Or email hello@mtmn.ie with what you saw, the steps to repeat it and your operating system. Say so if it concerns a key, a token or a paired device.