> For the complete documentation index, see [llms.txt](https://docs.alexlab.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.alexlab.co/developers/introduction/readme.md).

# Overview

**ALEX** is building the financial infrastructure on Bitcoin by combining Bitcoin L1 with Stacks L2 to unlock smart contract capabilities, DeFi primitives, and permissionless financial tools for Bitcoin users.

Our architecture allows decentralized trading, cross-chain swaps, yield generation, and more — all secured by Bitcoin and powered by Stacks. With Ordinals, BRC-20s, and Layer 2 innovation accelerating, ALEX is shaping the future of Bitcoin DeFi.

## About

This documentation is designed for developers building on or integrating with the ALEX ecosystem. Here you'll find:

🧩 Technical overviews of [AMM](/developers/products/alexs-automated-market-maker-amm.md), [Orderbook](/developers/products/what-is-orderbook.md) and [Launchpad](/developers/products/what-is-the-launchpad.md)

📡 [REST API reference](https://github.com/alexgo-io/alexlab-doc/blob/main/developers/developers/api-references.md) to access the latest market data on ALEX

🏛️ [Smart contracts documentation](https://github.com/alexgo-io/alexlab-doc/blob/main/developers/developers/protocol-contracts/README.md)

🛡️ [Security audit reports](https://github.com/alexgo-io/alexlab-doc/blob/main/developers/developers/security-audit.md)

## Need Help?

If you have questions or need assistance, join our developer community on [GitHub](https://github.com/alexgo-io) or reach out to our team through [Discord](https://discord.gg/alexlab).


---

# 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.alexlab.co/developers/introduction/readme.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.
