> For the complete documentation index, see [llms.txt](https://docs.kiln.fi/v1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kiln.fi/v1/~/revisions/4UAN6yWl2kl6UVohTDJW/kiln-products/defi.md).

# DeFi

## Kiln DeFi&#x20;

Kiln DeFi is a suite of smart contracts that our partners can use to enable native integration of DeFi protocols into their wallets or platforms. The solution is 100% onchain, fully automated, and provides a simplified integration. Utilize the Kiln API for native integration directly within your platform or customize our [widget](/v1/~/revisions/4UAN6yWl2kl6UVohTDJW/kiln-products/widget.md) to fit your needs.

The platform is currently integrated with many [protocols](/v1/~/revisions/4UAN6yWl2kl6UVohTDJW/kiln-products/defi/how-to-integrate/supported-defi-protocols.md) allowing partners to leverage Kiln's tech stack to offer these services to their end users

<figure><img src="/files/XJd4Is4l5vyCAqrrXDgo" alt=""><figcaption></figcaption></figure>

## Values

Kiln DeFi is designed with the same principles as other smart contract-based products:

* **Transparency**: All actions, including deposits, withdrawals, and fee dispatching, occur on-chain and are easily trackable via event emissions.
* **Security**: The audited contracts are secured with numerous on-chain and off-chain safety measures in place to protect users' funds and rewards.
* **Flexibility**: Integrators can choose from multiple DeFi protocol integration types and create custom offerings.

## Project Licence

Kiln DeFi is under the [BUSL-1.1 licence](https://spdx.org/licenses/BUSL-1.1.html), some smart contract public interfaces are under [MIT licence](https://spdx.org/licenses/MIT.html).


---

# 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.kiln.fi/v1/~/revisions/4UAN6yWl2kl6UVohTDJW/kiln-products/defi.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.
