# Autonomous

*The on-chain execution layer of Cozy World*

Autonomous is the invisible engine that keeps Cozy World running continuously, even in the absence of direct user input. It powers a seamless environment where actions such as claiming rewards, staking, completing quests, or purchasing in-game items happen directly on-chain in a secure and verifiable way.

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

At its core, **Autonomous** follows a structured flow:

* **Perception Layer**: Monitors signals across the Cozy ecosystem, from wallet states and game progress to token balances and quest status.
* **Reasoning Layer**: Interprets what actions are eligible, based on predefined conditions, preferences, or triggers from the environment.
* **Execution Layer**: Initiates on-chain transactions such as transferring tokens, claiming NFTs, or updating quest progression, all seamlessly signed and settled via Cozy Backpack.

One of the most powerful use cases of Autonomous is its integration with **on-chain IAP (In-App Purchases)**. Players can directly purchase in-game assets using **SEI** and **USDC,** both native to the Sei Network, without relying on external bridges or off-chain.&#x20;

Includes:

* Buying cosmetics, tools, or upgrades from in-game shops
* Unlocking seasonal passes, AI items, or Cozensei NFTs
* Auto-equipping or staking purchased items via Backpack


---

# 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.hotspring.games/the-cozy-world/autonomous.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.
