> For the complete documentation index, see [llms.txt](https://mlayer.gitbook.io/introduction/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mlayer.gitbook.io/introduction/what-is-mlayer.md).

# What is mLayer

mLayer is a modular Layer 1 / Layer 2 blockchain specifically optimized for secure, privacy-centric, trustless, and incentivized real-time data communication that is crucial for real-world applications such as peer-to-peer (P2P) instant messaging, Gaming, the Internet of Things (IoT), Blockchain and Decentralized Physical Infrastructure Networks (DePIN). mLayer simplifies the creation of decentralized smart home networks, incentivized healthcare and fitness monitoring devices, connected vehicle and fleet tracking, remote monitoring and surveillance systems, energy, and more.

It empowers web2 and web3 developers to create cutting-edge distributed real-time applications that incentivizes both human and machine actively within the emerging Economy of Things. The ecosystem is driven by the mLayer Tokens, which are used to manage messaging and transaction costs and to provide incentives to Validators and Relay Builders who contribute to the network's stability and growth. Through this economic model, mLayer aims to cultivate a dynamic and rewarding environment for all its stakeholders.

The network is versatile, supporting multiple communication protocols, therefore simplifying its integration into existing web2 systems. mLayer offers a broad spectrum of functionalities tailored to the Web3, IoT, and DePIN ecosystems including smart chatbots (referred to as smartlets), privacy centric end-to-end encryption, mLRC20 token-gated communication channels, self-sovereign Account and Agent/Device IDs, gamification and reward systems and much more.

Figure 1

<figure><img src="/files/nIZQYIfx6k0dpPNaIUFh" 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://mlayer.gitbook.io/introduction/what-is-mlayer.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.
