# Agent hosts

To make our service as efficient as possible and not suffer from the concurrency issue that would limit us to execute only 1 request per block (which is unacceptable for a [decentralized exchange](https://docs.wingriders.com/glossary#dex)) we came up with a solution - [Agents](https://docs.wingriders.com/glossary#agent).

Agents are services that ensure strict ordering of swap requests and liquidity operations and their fulfillment. Agents also protect [liquidity pools](https://docs.wingriders.com/glossary#liquidity-pool) from unauthorized access. They aim to eliminate front running and allow higher throughput of the DEX by batching requests that interact with a single liquidity pool in a single block.&#x20;

Agent hosts are entities running WingRiders' agent software on their machines making our solution as decentralized as possible. Currently, only a select number of closely monitored hosts are allowed to run the agent software to ensure optimal performance. WingRiders uses the collected data to evaluate our scaling solution and to improve our solution further.

Note that misbehaving agents can't steal any user funds nor can they block a pool indefinitely.


---

# 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.wingriders.com/entities/agent-hosts.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.
