---
title: What the Coronium device agent does on your device
description: The agent connects out to Coronium's relay and needs no open port. What it carries, what it refuses, what is measured and recorded, and how to stop it.
label: What the agent does
template: article
audience: device-owners
updated: 2026-11-26
---

# What the agent does on your device

The agent makes one outgoing, encrypted connection to Coronium's relay and keeps it open, and it opens no listening port on your device. When the relay asks, it opens a TCP connection from your device to the address a buyer requested and passes the bytes both ways. It refuses local and private destinations, writes no files of its own, logs only when its connection to the relay goes up or down, and stops when you stop it. This page is part of [Sell bandwidth](/sell-bandwidth), and each statement on it comes from the partner agreement and the kit's own guides.

## One connection, opened by your device

The agent dials Coronium's [relay](/peer-proxy-network/glossary#relay) over TLS 1.3, at the relay address you were given when you added the device, and needs outbound TCP to it and no inbound port. Nothing connects in: buyer streams reach your device over the connection it opened itself. If the connection drops, the agent dials again by itself.

Run one agent per public address. On a residential network, a second device behind the same connection is [withheld](/peer-proxy-network/glossary#withheld) as `same_exit`: the device enrolled first keeps the exit.

## What it carries

<!-- kit:path -->
1. A buyer or an AI agent sends a request to Coronium's edge with a username that says which kind of device should carry it.
2. The edge chooses an eligible device and counts the bytes of the request and of the answer, in whole bytes.
3. The relay carries the stream over the connection your device opened outward.
4. The agent checks the destination, opens the connection from your device, and the site sees your device's public internet address.
5. The site answers, and the answer travels back through your device, the relay and the edge.
<!-- /kit:path -->

Coronium does not restrict buyers to one site. A buyer can send a request through your device to any public internet address, except the destinations below. Names are looked up with your device's own DNS settings, so your DNS provider sees the names that are requested. The software sets no daily limit on bytes, and everything sent through the device counts against your connection's data allowance. Section 3 of the partner agreement states how many connections the agent carries at once.

## What it refuses to connect to

Coronium's servers refuse buyer traffic to mail ports and to a destination written as an IPv6 address; the [stated limits](/guides/limits.md) give the ports. The agent on your device refuses these destinations, whoever asks:

- your device itself (loopback) and the unspecified addresses;
- private home and office ranges;
- link-local addresses;
- carrier-grade NAT;
- multicast and reserved ranges, broadcast included;
- IPv6 addresses that carry one of those IPv4 addresses inside them.

The agent checks a name after it is looked up. If any of its addresses is on the list, the whole name is refused, and the agent connects only to an address it checked. Section 4 of the partner agreement lists each range exactly.

<!-- kit:callout limit -->
The list is by address range. If devices on your local network have public addresses, which is common with IPv6, the agent does not tell them apart from the rest of the internet, and the same holds for your device's own public address. These are the only destination rules the software enforces.
<!-- /kit:callout -->

## What it reads, writes and sends

- **Reads:** its settings (the relay and the device id) from its command line or environment, the device secret from its environment, and the system's DNS settings and certificate roots. It reads no other files, no browsing data and no other programs' traffic.
- **Writes:** the agent writes no files. The Linux kit's installer writes the program, the service file and `/etc/coronium-agent` with the settings, the secret and a record of your acceptance. The Docker image keeps nothing on the device; the settings file you pass with `--env-file` is yours to create and protect.
- **Logs:** one line when the connection to the relay goes up or down, with the cause. No line per request and no destination addresses.
- **Sends to Coronium:** the device id, the device secret, the protocol version, the software name and version, and the number of connections it will carry at once.

The agent keeps no record of destinations, so you cannot check them on your device. You can ask Coronium for its record of the requests and bytes carried through your device.

## What Coronium measures and records

Coronium's servers see your device's public internet address and when it is connected, and its [edge](/peer-proxy-network/glossary#edge) counts the bytes carried through it. That count is the only one used for billing and earnings: your device and the agent report no usage of their own.

The server measures where the device exits: its country, region, city, network and carrier. Nobody types those labels, and the measurement does not store the address it measured. The IP class and the carrier follow from the network's [ASN](/peer-proxy-network/glossary#asn). The exit is measured on IPv4 only, and a modified agent can recognise the measurement. A device waits as `new` until its first measurement. A device on a network Coronium does not sell, such as a data centre, is withheld with `class_not_sold`, and one on a network not classified yet stays connected and carries nothing, with `unclassified_asn`.

Coronium records the measured location and network of the device's public address, the byte counts, your earnings and payout requests, and your signing record. A buyer can learn your device's public address, as any site reached through it can.

## The signing record and the receipt

You sign the partner agreement before any device is added. The signature's fingerprint is the SHA-256 of one line of fields joined by `|`:

```text
coronium-partner-agreement|<version>|<accountId>|<name>|<organisation>|<sha256>|<signedAt>
```

The service computes the fingerprint again from what it received and refuses any difference with `bad_signature`. It stores the record with the time it received it, the client address, the `User-Agent` and `Accept-Language` headers, the session it came through, and a [receipt](/peer-proxy-network/glossary#receipt): an HMAC-SHA-256 keyed with a key the service reads from a file, which never enters the database. A row rewritten by someone with access to the database alone no longer matches its receipt. Each device you add has an acceptance row with a receipt of its own. Records are never changed or removed.

The Linux kit's installer also asks you to type the agreement digest from your device page, shows you the agreement on the device and goes on only when you type the words it asks for. A kit whose agreement text does not match that digest is refused with `agreement_not_accepted`. The Docker image has no installer, so the acceptance stored when you added the device is the record for it. [The signing contract](/kit/SIGNING.md) states every field, with worked examples to check a record by hand.

## How do I stop and remove it?

Stopping is the only step that stops traffic, and you can take it at any time without asking. With the Linux kit, the first line stops the agent and keeps it stopped after a reboot, and the second starts it again:

```sh
sudo systemctl disable --now coronium-agent   # stops it, and keeps it stopped after a reboot
sudo systemctl enable --now coronium-agent    # starts it again
```

An agent started in a terminal stops with Ctrl-C, and a container with `docker stop coronium-agent`. To remove the Linux kit, run the remover from the kit folder. It removes the service, the program, the service user and `/etc/coronium-agent` with the secret, and warns when it still finds an agent you started yourself:

```sh
sudo ./uninstall.sh
```

Log lines already in the system journal stay until the journal drops them. [Run the agent in Docker](/sell-bandwidth/docker) lists the commands that remove a container, its settings file and its image.

Your device owner account is in the [farmer portal](/farmer). Withdrawing a device is a request to Coronium at the contact in section 10 of the agreement. From then on its servers start no new connection through the device, and its id and secret no longer work for a new start. Withdrawal does not disconnect an agent that is already running, so stop it yourself. Withdrawal is permanent for that device id, and the record of bytes already carried is kept.

## What is not done yet

Nothing in `/kit/` is signed, so a digest is only as trustworthy as the HTTPS connection to the supply site. A file marked `preview` in `/kit/index.json` was built for its system and has not been run by Coronium there. The partner agreement places responsibility for each enrolled device, its connection and any complaint that reaches you on you, in section 9; read it before you enrol.

## Questions device owners ask

<!-- kit:faq -->
### Does the agent open a port on my router?

No. The agent dials out to the relay, and buyer streams come back over that connection. It opens no listening port on your device.

### Does my device report its own usage?

No. Coronium's edge counts the bytes, and that count is the only one used for billing and earnings.

### Can I see which sites were reached through my device?

Not on the device: the agent keeps no record of destinations. Ask Coronium for its record of the requests and bytes carried through your device.
<!-- /kit:faq -->

<!-- facts:begin sentence -->
Infrastructure for AI agents to act on the web and on real devices: mobile and residential proxies with real IP addresses, and next phones, Macs and browsers an agent can drive.

One account, one balance, one file to read.
<!-- facts:end sentence -->
