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

# Use cases

- [Overview](https://docs.divaprotocol.io/use-cases/overview.md): A collection of use cases enabled by DIVA Protocol
- [Insurance](https://docs.divaprotocol.io/use-cases/insurance.md): Example insurance products that can be built on top of DIVA Protocol
- [Credit default protection](https://docs.divaprotocol.io/use-cases/insurance/credit-default-protection.md): A product that offers default protection to lenders in an undercollateralized loan
- [Agrarian insurance](https://docs.divaprotocol.io/use-cases/insurance/agrarian-insurance.md): How DIVA Protocol can help unlock affordable insurance for farmers
- [DeFi Hack insurance](https://docs.divaprotocol.io/use-cases/insurance/defi-hack-insurance.md): An insurance product that protects users in the event of a protocol hack
- [Peg insurance](https://docs.divaprotocol.io/use-cases/insurance/peg-insurance.md): An insurance product that protects users from de-pegging of stablecoins
- [Yield optimization](https://docs.divaprotocol.io/use-cases/yield-optimization.md): Earn additional yield on otherwise idle sitting assets
- [Bullish accumulation](https://docs.divaprotocol.io/use-cases/yield-optimization/bullish-accumulation.md): Accumulating long-term holdings in a bullish market environment
- [Bearish accumulation](https://docs.divaprotocol.io/use-cases/yield-optimization/bearish-accumulation.md): Accumulating long-term holdings in a bearish market environment
- [Risk management](https://docs.divaprotocol.io/use-cases/risk-management.md): Use derivatives to protect against adverse events
- [Downside protection](https://docs.divaprotocol.io/use-cases/risk-management/downside-protection.md): Protecting against falling prices
- [Increasing cost protection](https://docs.divaprotocol.io/use-cases/risk-management/increasing-cost-protection.md): Protecting against increasing costs
- [Directional bets](https://docs.divaprotocol.io/use-cases/directional-bets.md): Short and long assets in one single step
- [Downside bet](https://docs.divaprotocol.io/use-cases/directional-bets/downside-bet.md): How to benefit from the downside of an asset with one single transaction
- ["Bottom-Is-In" bet](https://docs.divaprotocol.io/use-cases/directional-bets/bottom-is-in-bet.md)
- [Upside bet](https://docs.divaprotocol.io/use-cases/directional-bets/upside-bet.md)
- ["Top-Is-In" bet](https://docs.divaprotocol.io/use-cases/directional-bets/top-is-in-bet.md)
- [Leverage](https://docs.divaprotocol.io/use-cases/leverage.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 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.divaprotocol.io/use-cases.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.
