Intelligent Contracts

GenLayer's Intelligent Contracts go beyond traditional smart contracts. Written in Python, they can access the internet, call language models, and reach consensus on subjective decisions through Optimistic Democracy.

Look Up Contract

Enter an address to view its schema, state, and source code

What makes them intelligent?

Capabilities that set GenLayer contracts apart from traditional smart contracts

Internet Access

Contracts can fetch and process live web data — prices, APIs, news feeds — directly within on-chain execution.

LLM Integration

Call large language models from within contract logic to interpret, classify, summarize, or generate content.

Subjective Decisions

Optimistic Democracy consensus enables validators to agree on subjective outcomes that traditional smart contracts can't handle.

Python Runtime

Write contracts in Python — not Solidity. Leverage the full Python ecosystem with a familiar, expressive language.

Start Building Intelligent Contracts

Learn how to write, deploy, and interact with Intelligent Contracts on GenLayer. The developer documentation covers everything from setup to advanced patterns.