Build with GenLayer
Intelligent Contracts

Intelligent Contracts

An Intelligent Contract is an advanced type of smart contract that retains all the traditional capabilities of smart contracts but also has the ability to process natural language instructions and access data from the web.

Key Features of Intelligent Contracts

Here are the key features of Intelligent Contracts:

1. Natural Language Processing (NLP)

Intelligent Contracts can interpret and execute instructions written in natural language. This allows them to make complex decisions, use qualitative criteria, and extract information from text. Because Intelligent Contracts use LLMs, they can handle details and contexts that rigid code cannot, such as conditional reasoning and subjective criteria. This flexibility enables more complex agreements that would be difficult or impossible to code traditionally. Additionally, NLP by LLMs integrates with various data sources and services, providing dynamic responses to real-world conditions. This makes Intelligent Contracts adaptable and capable of evolving in response to changing circumstances without requiring manual code updates.

2. Web Interaction

Unlike traditional smart contracts, which are typically isolated from the internet, Intelligent Contracts can directly interact with web data. This allows them to utilize real-time information from various online sources, enhancing their functionality and application scope.

3. Non-Deterministic Operation Handling

Intelligent Contracts can perform non-deterministic operations. This means they can handle tasks where outputs are not predictable every time, such as those involving AI models or external data queries, and integrate these outputs into the blockchain's deterministic environment.

Writing Intelligent Contracts

Intelligent Contracts extend beyond traditional smart contract capabilities by interacting with the web and processing natural language (NLP) instructions. Intelligent Contracts are written in Python, making it ideal for handling complex data and string operations necessary for web interactions and natural language processing.

Building Intelligent Contracts