# How AI-NFT Works?

<img src="/files/IAoaXxinQzvhPr1BmS35" alt="" class="gitbook-drawing">

This diagram illustrates the architecture and functionality of AI-NFTs.&#x20;

The key component an AI-NFT needs:

* An extended NFT metadata with AI agent's character config file.
* A general NFT contract.
* A runtime in TEE with Eliza installed.

In this way, AI-NFTs can utilize existing frameworks and infrastructure. By embedding the AI agent’s character file JSON into an NFT metadata and deploying it on the blockchain, the AI agent seamlessly transforms into an on-chain asset.

Simple is the best.

For more details about AI-NFT metadata, pls check this page:

{% content-ref url="/pages/ARQsjZxalNLtBtKADAun" %}
[AI-NFT Metadata](/technology/ai-nft-metadata.md)
{% endcontent-ref %}


---

# 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://docs.xnomad.ai/technology/how-ai-nft-works.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.
