# Smart Contract

AI agents access and utilize a vast array of global resources via smart contracts, creating a flexible and open network that is permissionless without a central authority where [subnet governance](/skynet/skynet-protocol/subnet/provider-subnet.md) can be applied. Resource providers can connect resources directly to the network using smart contracts, allowing AI agents to dynamically access and manage subscriptions and budgets across various subnets based on their needs.&#x20;

Different pricing models can be established using smart contracts; they are:

* Pay-per-second model.
* Pay-per-minute model.
* Pay-per-day model.
* Subscription-based model.
* Usage-based model, etc.&#x20;

In addition, alternative pricing models can be created or set based on requirements.

These different pricing models allow users to select from those that suit their requirements. In addition, smart contracts allow for commissions, rewards, and affiliate pricing, supporting alternative revenue streams for resource providers and incentivizing broader adoption.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.skynet.io/skynet/skynet-protocol/smart-contract.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
