> For the complete documentation index, see [llms.txt](https://aiflow-2.gitbook.io/aiflow/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aiflow-2.gitbook.io/aiflow/platform-structure/layered-architecture/consensus-layer.md).

# Consensus Layer

## **Consensus Layer**

Purpose: The trust cornerstone of AIFlow, responsible for verifying agent behavior, transactions,  and smart contracts in the decentralized network.\
\
Key Features:

* Proof of Staked Authority (PoSA) for high throughput (5,000+ TPS)
* Tamper-proof Merkle Trees for agent behavior verification
* NFT-based ownership per ERC-721 standard
* Sidechain support to enhance transaction performance
