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

# Public Repositories

## Primary Repositories

These repositories represent the core components of BitFlow, directly managed and maintained under the BitFlow GitHub organization.

### [BitFlow StableSwap](https://github.com/BitflowFinance/bitflow)

**Category:** Smart Contracts

This repository contains the smart contracts integral to BitFlow's StableSwap exchange protocol operating on the Stacks layer.

### [AppleSwap StableSwap](https://github.com/BitflowFinance/appleswap)

**Category:** Smart Contracts

This repository contains the initial smart contracts for the AppleSwap protocol, a precursor to the current BitFlow StableSwap exchange protocol.

{% hint style="warning" %}
This repository is no longer actively maintained and stands as legacy code.
{% endhint %}

### [AppleSwap Web Interface](https://github.com/BitflowFinance/appleswap-ux)

**Category:** Web Interface

This repository contains the initial web interface for the AppleSwap protocol, a precursor to the current BitFlow StableSwap exchange protocol.

{% hint style="warning" %}
This repository is no longer actively maintained and stands as legacy code.
{% endhint %}

***

## Additional Repositories

These repositories are utilized by BitFlow, but are not directly managed and maintained under the BitFlow GitHub organization.

### [Magic Protocol Core](https://github.com/magicstx/magic-protocol)

**Category:** Smart Contracts and Web Interface

This repository contains the smart contracts of Magic Protocol and provides a web interface to interact with the protocol.


---

# 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.bitflow.finance/bitflow-documentation/developers/public-repositories.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.
