# Prompt-to-dApp

CodeXero is the application layer built natively on Cluster Protocol's infrastructure. It enables anyone to create, and deploy fully on-chain applications using a natural language prompt.

<figure><img src="/files/Dcd0pZ84GIAgRzSdTyga" alt=""><figcaption></figcaption></figure>

A user describes what they want to build in plain language. CodeXero:

1. Interprets the prompt and generates a build plan
2. Generates frontend code and smart contract logic
3. Compiles smart contracts (Solidity → ABI/bytecode)
4. Deploys frontend to hosting (Netlify/IPFS)
5. Deploys contracts to the target blockchain via the user's connected wallet

The entire process happens in the browser. No local setup, no CLI, no dependencies.


---

# Agent Instructions: 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:

```
GET https://cluster-protocol.gitbook.io/whitepaper/codexero-application-layer/prompt-to-dapp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
