> For the complete documentation index, see [llms.txt](https://docs.rivalz.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rivalz.ai/rome-swarm-protocol/dex.md).

# DEX

## Getting Started

The DEX introduces an innovative way to trade project tokens by encapsulating them within unique, tradable Auto Agents These agents act as containers for tokens, giving users a flexible trading experience.

Instead of swapping tokens directly, you buy and sell **Auto Agents** — smart containers packed with project tokens and real utility. Each Agent holds value and gives users the power to **trade, bid, unwrap, or stake** — all in one place.

Auto Agents act as a dynamic position – earn rewards while holding, bid with tokens of your choice, and exit anytime by selling.

<figure><img src="https://3708766619-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtEAVMQUfOtXSxHdeCogt%2Fuploads%2FYGAHpDQTXspC2AVl0YZE%2FScreenshot%202025-08-06%20at%2011.32.19%E2%80%AFPM.png?alt=media&amp;token=337d6ce2-e077-4d55-b031-f2b9e4fc9e58" alt=""><figcaption></figcaption></figure>

## Learn

If you want to learn more, get started by diving into these concepts:

* [Features](/rome-swarm-protocol/dex/features.md): An overview of the key capabilities available on DEX
* [Auto Agent Yield](/rome-swarm-protocol/dex/auto-agent-yield.md): Understand what AutoAgent yield is and see the exact formula used to calculate your earnings.
* [Connect X](/rome-swarm-protocol/dex/connect-x-on-dex.md) : How and Why users should connect X account on DEX
* [Rewards](broken://pages/PzeEGFhHvmaaw7peRU2O): Explore how the reward system works and discover the ways to maximize your returns.
* [Guides](/rome-swarm-protocol/dex/guides.md): Step-by-step instructions and best practices to help users perform DEX functions more effectively and efficiently.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.rivalz.ai/rome-swarm-protocol/dex.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
