> For the complete documentation index, see [llms.txt](https://griffin-ai.gitbook.io/knowledge-base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://griffin-ai.gitbook.io/knowledge-base/decentralized-ai-network.md).

# Decentralized AI Network

Service providers (SPs) within the Griffin AI network serve a dual role as node operators, running the Griffin protocol software. Their primary function is to act as conduits between off-chain AI services and on-chain activities, facilitating a seamless integration of these environments. Each SP operating a node delivers specific services, which can range from providing general inference from hosted Language Models to executing complex, specialized AI orchestrated workflows.&#x20;

&#x20;

SPs receive service requests either directly from users or through Client Providers (CPs). These requests could involve inference tasks or other services supported by the SP. In response, SPs activate the appropriate on-chain or off-chain processes and deliver the results back to the users.&#x20;

&#x20;

To participate in offering services within the Griffin AI network, an SP must operate a node. If an AI model provider or another type of service provider is unable or unwilling to run a Griffin node, an independent SP can be established to create a bridge from the Griffin network to the AI model provider using off-chain mechanisms.&#x20;

&#x20;

Beyond their primary role, SPs are also crucial in the operation and maintenance of the Griffin network's backbone—the distributed database. By operating nodes, SPs ensure the integrity and continuity of the network, actively participating in the validation and synchronization processes. &#x20;

&#x20;

In addition to SP, the Griffin AI network also incorporates full-nodes operated by Guardians. They are particularly crucial for their role in overseeing and securing network operations, including monitoring for compliance and potential malpractices within the network, ensuring that the ecosystem remains secure and trustworthy. &#x20;

&#x20;

Client Providers (CPs), may operate either full- or light-nodes depending on their capacity and the needs of their service offerings, facilitating accessibility and functionality for a broader user base. &#x20;

&#x20;

Light Nodes, optimized for lower resource requirements, enable not only CPs but also individual developers, AI agents, and smaller entities to participate actively in the network without the need for extensive infrastructure.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://griffin-ai.gitbook.io/knowledge-base/decentralized-ai-network.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
