The role of a Provider agent is sharing hardware resources within the Golem network in return for GLM tokens.
A provider agent - as understood in the context of the Golem network - is a specific piece of code running on an Internet-connected device. The code implements the Golem network protocol, thus the machine running it acts as a Golem node.
In general, almost any computer might act as a provider. It can be a laptop, desktop, or a server machine. The particular resource details (for example, the number of CPUs or its memory limit) that are subject to sharing can be configured by the hardware owner.
The Provider announces the availability of its resources in the Golem market. This is called an Offer.
The Golem market performs the matching between provider side (Offers) and requestor side (Demands).
If there is a Requestor willing to use the Provider's resources, the Agreement is signed.
The resources are used by the Requestor (for example by transferring input/output files and running a particular Golem VM Image, which is derived from docker image, on the Provider's hardware).
The Provider bills the Requestor in GLM tokens.
The Requestor performs an Ethereum payment (zkSync or ERC20) for resource usage.
After installing and running the Golem Provider Agent you will start participating in the Golem Network in the following way:
serving other actors in the Golem Network that are in need of computing resources, with your hardware that has idle capacity.
receiving payments for the resources you share.
The typical resource usage scenario is as follows: after receiving the input data, the processing is performed by your machine. Next, the output data is sent back to the requestor and the payment is executed through Ethereum.