> For the complete documentation index, see [llms.txt](https://docs.fira.money/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fira.money/getting-started/how-it-works.md).

# How It Works

Fira is a fixed-rate lending protocol. Borrowers lock a rate for a defined period. Lenders earn predictable yield through Bond Tokens (BTs). Every position has a maturity date and a rate set at origination.

## The Core Loop

1. **Deposit collateral** — A borrower deposits an accepted collateral asset into a Fira market.
2. **Borrow at a fixed rate** — The protocol mints Bond Tokens (BTs) and Coupon Tokens (CTs). The borrower receives the loan token. The rate is locked.
3. **Maturity** — At the end of the term, BTs redeem 1:1. The borrower repays principal + accrued fee. The lender receives their principal back.

This loop runs the same way in every Fira market. The collateral, loan token, rate, and maturity change — the structure does not.

## Fixed Rates vs. Floating Rates

|                     | Floating-rate DeFi lending               | Fira                                               |
| ------------------- | ---------------------------------------- | -------------------------------------------------- |
| **Rate**            | Changes every block based on utilization | Fixed at origination for the full term             |
| **Term**            | Open-ended — no maturity                 | Defined maturity date                              |
| **Predictability**  | None — rates can spike 10x in a day      | Full — cost and yield known at entry               |
| **Position tokens** | Vault/Market Tokens                      | BT (principal) + CT (yield) — composable, tradable |

## Key Concepts

### Bond Token (BT)

Represents a claim on principal at maturity. Analogous to a zero-coupon bond. Trades at a discount before maturity and redeems 1:1 at term.

### Coupon Token (CT)

Represents the yield portion of a lending position. Accrues interest over time. Can be sold early for upfront yield or held to maturity.

### FiraWrapped (FW)

Wrapped yield-bearing tokens that standardize different collateral assets for use in Fira markets. FW tokens make any yield-bearing asset compatible with Fira's lending infrastructure.

### Markets

Each Fira market is an independent instance defined by a collateral asset, a loan asset, and a set of parameters (LTV, oracle, fee, maturity).

> [Full token mechanics](/protocol/token-mechanics.md) · [Architecture overview](/protocol/architecture-overview.md)

## For Different Users

**Borrowers** borrow at a known cost. No surprise rate hikes. The total cost of the loan is visible before execution.

> [Borrower Guide](/guides/borrower-guide.md)

**Lenders** earn predictable yield by purchasing BTs at a discount. The return is set at purchase — not subject to utilization changes.

> [Lender Guide](/guides/lender-guide.md)

**LPs** provide liquidity to the rate discovery AMM and earn trading fees plus rehypothecation yield.

> [LP Guide](/guides/lp-guide.md)


---

# 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.fira.money/getting-started/how-it-works.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.
