> For the complete documentation index, see [llms.txt](https://thirdfi.gitbook.io/thirdfi.org-1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://thirdfi.gitbook.io/thirdfi.org-1/product/thirdfi-v2/technical-overview/network-architecture.md).

# Network Architecture

ThirdFi network is building a blockchain framework specifically tailored to support AI functionalities, focusing on high data throughput, low latency, and enhanced security. Here's how the architecture is structured:

### Core Blockchain Layer&#x20;

* **Function**: This is the primary layer where all transactions are recorded. It supports basic blockchain functionalities, including token transactions, consensus mechanisms, and network governance.
* **Technology**: Uses a Proof of Stake (PoS) consensus algorithm designed for energy efficiency and fast transaction processing. This layer is built using a scalable blockchain framework that can handle high transaction volumes typical in AI applications.

### Computational Layer&#x20;

* **Function**: Dedicated to processing intensive AI tasks. This layer handles off-chain computations to maintain network performance without overloading the main blockchain.
* **Technology**: Utilizes state channels for executing AI tasks related to the blockchain but off the main ledger, allowing for real-time processing without transaction fee implications. This layer is also where machine learning models can interact, learn, and store intermediate states without committing all data to the main blockchain.

### Data Management Layer&#x20;

* **Function**: Focuses on managing the vast amounts of data required for AI operations, including storage, access, and privacy.
* **Technology**: Integrates decentralized storage solutions such as the InterPlanetary File System (IPFS) for distributing and storing large datasets securely. It uses advanced encryption methods, such as homomorphic encryption and zero-knowledge proofs, to allow computations on data without exposing the underlying data itself.

<figure><img src="/files/nNxpQTaqyr4m0xWqIt27" alt=""><figcaption></figcaption></figure>

<br>


---

# 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://thirdfi.gitbook.io/thirdfi.org-1/product/thirdfi-v2/technical-overview/network-architecture.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.
