# Frontend SDK

A technical system summary including contract descriptions, function descriptions, and more is available in the [**Liquity README**](https://github.com/liquity/beta/blob/main/README.md).

Our technical documentation (SDK) and middleware library enables you to build your own Liquity frontend or integrate Liquity with your existing service, abstracting away some the underlying contract calls.

It consists of two libraries, written in TypeScript:

| [**lib-base**](https://github.com/liquity/dev/tree/main/packages/lib-base)     |
| ------------------------------------------------------------------------------ |
| Common interfaces and classes shared by the other lib- packages.               |
| [API Reference](https://github.com/liquity/dev/blob/main/docs/sdk/lib-base.md) |

| [**lib-ethers**](https://github.com/liquity/dev/tree/main/packages/lib-ethers)                                        |
| --------------------------------------------------------------------------------------------------------------------- |
| [Ethers](https://github.com/ethers-io/ethers.js/)-based middleware that can read Liquity state and send transactions. |
| [API Reference](https://github.com/liquity/dev/blob/main/docs/sdk/lib-ethers.md)                                      |


---

# 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.liquity.org/liquity-v1/documentation/sdk.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.
