> For the complete documentation index, see [llms.txt](https://docs.defindex.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.defindex.io/advanced-documentation/developer-introduction/what-is-a-strategy.md).

# What is a strategy?

A strategy is a set of **steps** to be followed to execute an investment in one or several protocols. This could be as simple as just holding assets, or as complex as farming and auto-compound rewards automatically, leverage lending or leveraged farming strategies for borrowing and lending markets like Blend.Capital.\
\
Example of an Autocompound Strategy on Blend Capital:

> When investing USDC in Blend, Blend gives interest by lending those USDC, plus a reward in BLND token, so the strategy will follow these steps:
>
> 1. Lend USDC on Blend
> 2. Wait a little.
> 3. Claim BLND rewards.
> 4. Swap BLND for USDC.
> 5. Lend those USDC after the swap.
>
> This strategy converts the regular APR given by Blend into APY.


---

# 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:

```
GET https://docs.defindex.io/advanced-documentation/developer-introduction/what-is-a-strategy.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.
