> For the complete documentation index, see [llms.txt](https://docs.alphaos.net/whitepaper/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.alphaos.net/whitepaper/alphaos/how-does-it-work.md).

# How does it Work?

**AlphaOS** represents the pinnacle of AI-driven Web3 interaction, designed to serve as a comprehensive operating system that empowers users to perform all Web3 interactions through a conversational AI interface. Leveraging advanced pre-trained open-source models and fine-tuning techniques, AlphaOS achieves unparalleled proficiency in handling a diverse range of Web3 tasks.

<figure><img src="/files/dJ4ro7rfh5jYKgcFCVR1" alt=""><figcaption><p>AlphaOS Operating Principle Diagram</p></figcaption></figure>

**Pre-training and Mixed-Task Instruction Tuning**

The foundation of AlphaOS is built on the utilization of vast quantities of high-quality Web3 data, exceeding tens of millions of data points. This extensive dataset is employed to perform **Mixed-Task Instruction Tuning** (MTIT) on pre-trained open-source models.

**Direct Preference Optimization Alignment**

To address the specific requirements of Web3 scenarios, **Direct Preference Optimization Alignment** (DPO) is implemented. DPO enables the AI to fine-tune its responses and actions based on direct user preferences and feedback, particularly in complex transaction scenarios. This alignment ensures that AlphaOS not only understands the intricacies of Web3 operations but can also execute them efficiently and accurately.


---

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.alphaos.net/whitepaper/alphaos/how-does-it-work.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
