# Coronium supply

> Coronium for device owners at https://supply.coronium.ai: connect a device with the open agent, and earn a share of what buyers pay for the traffic it carries. Buyers use https://coronium.ai.

This file is written from the service's own list of facts, whose digest is `00a38b8f822c`. Questions and more devices go to support@coronium.ai. An account withdraws its own device with one call.

coronium.io is the per-device shop for dedicated mobile modems and the marketplace where modem owners earn; coronium.ai is access for AI agents to proxies and devices on one account.

Every refusal carries `code`, `cause` and `fix`. Whether sign-up is open on this site, the sign-up call answers: while it is closed an existing account signs in with its access code. Whether buyers are charged and whether per-GB traffic is sold to them, `GET /app/api/buy` answers in `charging` and `peerSales`.

An agent does the whole job with HTTP calls and a shell: [/llms-full.txt](/llms-full.txt) holds every step and call in order, in one file, from an account to a payout. `GET /.well-known/search?q=<text>` finds a passage in these documents; the search guide below says how.

Before anything is signed: a device on a hosting or data-centre network, such as a cloud server, connects, is measured, and is then withheld as `class_not_sold`. It carries no buyer traffic and earns nothing. No read classes a network before sign-up: the first measurement after the device connects does. Tell your person so before they sign, because a signature is never withdrawn.

## The prompt to give an agent

> Read https://supply.coronium.ai/guides/integrate.md and follow its device steps to connect this machine to Coronium. Tell me first if this machine is in a data centre, where a device earns nothing. Before you sign the partner agreement, show me its text and wait for my yes; keep every secret in a file and out of this chat; when you finish, tell me the device's state and how to stop it.

The shortest that is still safe:

> Follow https://supply.coronium.ai/guides/integrate.md to connect this machine to Coronium, and get my yes before you sign anything.

When the agent is to use your account, add: "My access code is in the file coronium-account.json in this folder; read it there and never print it."

The device steps keep their files in one folder, `~/coronium` unless `CORONIUM_DIR` names another. An access code your person gives you goes into `coronium-account.json` in that folder: move the file there, or export `CORONIUM_DIR` as the folder that holds it.

## Which file answers which question

- What bandwidth sharing is, what is shared, what a device earns and the SDK for an app, before any account: [bandwidth sharing](/bandwidth-sharing.md), a page for people at [/bandwidth-sharing](/bandwidth-sharing).
- Sharing inside an app or across a fleet, as it stands today: [the bandwidth sharing SDK](/bandwidth-sharing/sdk.md).
- Everything, in one fetch: [/llms-full.txt](/llms-full.txt).
- Make the account, sign the agreement, enrol a device: [enrolment](/guides/device-enrol.md).
- Which file to download, and which way to run it: [the agent files](/guides/device-files.md), then [the Linux kit](/guides/device-linux-kit.md), [a container](/guides/device-docker.md) or [the program alone](/guides/device-program.md).
- Is it connected, and does it carry traffic: [device states](/guides/device-states.md).
- What did it earn, and how is it paid: [the statement and a payout](/guides/device-payouts.md).
- A newer agent, stopping, removing, withdrawing: [update, stop, remove and withdraw](/guides/device-lifecycle.md).
- Sign out, ending this session with `POST /app/api/logout`: [its block](/guides/device-lifecycle.md#sign-out).
- A line in the log, or an installer that refuses: [troubleshooting](/guides/device-troubleshoot.md).
- A call answered with a `code`: [refusals](/guides/device-refusals.md).

## Guides

In the order of the job:

- [Every integration in one file](/guides/integrate.md): each section below, in order, with the prompts and what only your person decides, and the sections for buyers.
- [Enrolment](/guides/device-enrol.md): the account, the partner agreement and one device.
- [The agent files](/guides/device-files.md): `/kit/index.json`, each file with its state and its limits, and how to check one.
- [The Linux kit](/guides/device-linux-kit.md), [a container](/guides/device-docker.md), a service on [macOS](/guides/device-macos.md) or [Windows](/guides/device-windows.md), or [the program alone](/guides/device-program.md), built for Linux, Windows, macOS and routers: each file's state, limits and what was observed of it are in the files section.
- [Device states](/guides/device-states.md): every state and reason with what to do, earnings and payouts.
- [Device health](/guides/device-health.md): whether a connected device still carries traffic, what each reading means, and what the checks cost its connection.
- [The statement and a payout](/guides/device-payouts.md): `GET /app/api/earnings` field by field, what the share applies to, and the payout request as a block to run.
- [Update, stop, remove and withdraw](/guides/device-lifecycle.md): one answer each, with the release `/kit/index.json` publishes and the call that withdraws a device.
- [Troubleshooting](/guides/device-troubleshoot.md): each line the agent and the installer print, with its cause and what to do, and what a device refuses.
- [Refusals](/guides/device-refusals.md): every code of a device owner's calls, with who acts and what to do.
- [Many devices](/guides/device-tokens.md): enrolment by token. While the operator keeps it closed, its routes answer 503 `enrol_tokens_off` and each device is enrolled with `POST /app/api/devices`.
- [Notifications](/guides/notifications.md): what happened on the account, devices admitted, withheld or gone offline included, how to mark it read, and whether it is mailed.
- [Search](/guides/search.md): `/.well-known/search`, the request, the answer and its bounds.
- [Stated limits](/guides/limits.md): what the service does not do yet.
- [Skills to install](/.well-known/agent-skills/index.json): `coronium-device` for this job alone, and `coronium` for this job and a buyer's.

## Files and API

- [Agent downloads](/kit/index.json): each way to connect and each file, with its state, its limits and its SHA-256. [`SHA256SUMS`](/kit/SHA256SUMS) lists the same digests, and [the signing contract](/kit/SIGNING.md) says what a signature and an enrolment store.
- `GET /app/api/agreement`: the partner agreement in force, its version and its SHA-256, with no account.
- [OpenAPI document](/openapi.json): every call, with its request, its answer and its refusals.
- [Documents manifest](/docs-manifest.json): every document of this site with its address, its title and, where the site serves the file as it is, its SHA-256 and size.
- [Discovery file](/.well-known/coronium-supply.json): the addresses above as JSON.
- [This site's front page as Markdown](/index.md): what `/` answers a request that accepts `text/markdown`.
- [Farmer portal](/farmer): the same steps in a browser, after sign-in.
