---
title: "Discover the GenLayer protocol"
description: "Understand GenLayer architecture, Intelligent Contract execution, Optimistic Democracy, transactions, and protocol economics."
source: https://docs.genlayer.com/understand-genlayer-protocol
last_updated: 2026-08-19
---

# Discover the GenLayer protocol

GenLayer is an intelligent blockchain for applications that need consensus on outcomes derived from natural language, live web data, or other non-deterministic inputs.

Intelligent Contracts divide execution into deterministic code and isolated non-deterministic operations. A selected leader proposes an execution result, a validator committee evaluates it under the contract's equivalence rule, and the onchain consensus system coordinates appeals and finality.

## Start here

  - [What is GenLayer?](/understand-genlayer-protocol/what-is-genlayer)
  - [How GenLayer works](/understand-genlayer-protocol/optimistic-democracy-how-genlayer-works)
  - [Use cases](/understand-genlayer-protocol/typical-use-cases)
  - [Core concepts](/understand-genlayer-protocol/core-concepts)

## Architecture at a glance

```mermaid
%%{init: {"flowchart": {"curve": "basis", "nodeSpacing": 44, "rankSpacing": 54, "htmlLabels": true}}}%%
flowchart TB
    App(["Application"])
    Chain["GenLayer Chain<br/>orders and coordinates"]
    Worker["Validator node<br/>performs assigned duty"]
    VM["GenVM<br/>executes or validates"]
    Action["Signed proposal or vote"]
    State(["Updated onchain state"])

    App -->|"1 · submit transaction"| Chain
    Chain -->|"2 · publish assignment"| Worker
    Worker -->|"3 · run contract"| VM
    VM -->|"4 · return result"| Action
    Action -->|"5 · record consensus action"| State

    classDef actor fill:#F7F8FC,stroke:#8B95A7,color:#202536,stroke-width:1.5px;
    classDef chain fill:#EFEDFF,stroke:#6D5DF5,color:#251E63,stroke-width:2px;
    classDef compute fill:#EAF7FF,stroke:#2686C4,color:#113F59,stroke-width:2px;
    class App actor;
    class Chain,Action,State chain;
    class Worker,VM compute;
    linkStyle default stroke:#7C879C,stroke-width:1.8px;
```

- **GenLayer Chain** orders actions and stores the authoritative consensus state.
- **Validator nodes** watch the chain, maintain derived Intelligent Contract state, and perform assigned consensus duties.
- **GenVM** runs Intelligent Contracts in a WebAssembly sandbox and isolates web and LLM operations.

Each Intelligent Contract has an EVM-facing Ghost contract at the same address. The Ghost routes calls and messages between GenLayer Chain and GenVM.

## Explore by topic

  - [Architecture and GenVM](/understand-genlayer-protocol/core-concepts/rollup-integration)
  - [Non-deterministic operations](/understand-genlayer-protocol/core-concepts/non-deterministic-operations-handling)
  - [Optimistic Democracy](/understand-genlayer-protocol/core-concepts/optimistic-democracy)
  - [Equivalence Principle](/understand-genlayer-protocol/core-concepts/optimistic-democracy/equivalence-principle)
  - [Transactions and finality](/understand-genlayer-protocol/core-concepts/transactions)
  - [Protocol economics](/understand-genlayer-protocol/core-concepts/economic-model)

For the extended architectural rationale, read [Making GenLayer 100% Secure, Part 1: The Architecture](https://genlayer.com/blog/making-genlayer-100-percent-secure-part-1-the-architecture).
