# What is BasisOS

BasisOS is a decentralized protocol designed to optimize yield in exotic markets through a managed basis trading strategy. At its core, BasisOS takes a long position in the spot market while simultaneously opening a short position on perpetual decentralized exchanges. This dual approach allows the protocol to capture funding fee premiums while maintaining market neutrality.

By continuously adjusting positions using automated rebalancing algorithms and robust risk management techniques, BasisOS aims to maximize returns and minimize potential risks. What truly sets BasisOS apart is its visionary goal: it aspires to become the first fully autonomous DeFAI (Decentralized Finance and Artificial Intelligence) protocol. This means that beyond traditional trading mechanisms, BasisOS integrates an AI-driven, multi-agent system that autonomously monitors market conditions, makes real-time decisions, and optimizes trade execution—ushering in a new era of self-governed financial protocols.

<figure><img src="https://1276112373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUW9Ft0WHGsVxMhUtETld%2Fuploads%2FZeQ2aRyHD8FpJo4DzGqj%2Fimage.png?alt=media&#x26;token=765d35d6-fcbb-4e03-9c34-f62186486622" alt=""><figcaption></figcaption></figure>


---

# 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.basisos.org/introduction/what-is-basisos.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.
