# Get started

## What is Cozy?

Cozy is an open-source protocol for automated and trust-minimized [Protection Markets](/what-is-cozy/overview.md#what-are-protection-markets). Protection Markets allow you to provide and receive protection against predefined conditions like a loss of funds due to a smart contract hack. Anybody can create and use Protection Markets.

To learn more, visit the [Overview](/what-is-cozy/overview.md).

## For Users

Learn about the protocol, how to get protection, and how to provide protection.

{% content-ref url="/pages/-Mi2m5PnUOH43nO4sXzU" %}
[Overview](/what-is-cozy/overview.md)
{% endcontent-ref %}

{% content-ref url="/pages/-Mi2m5PoyjPc\_riPVGSW" %}
[Case study](/what-is-cozy/case-study.md)
{% endcontent-ref %}

{% content-ref url="/pages/-Mi2m5PpabdOphH8B4Ay" %}
[FAQ](/what-is-cozy/faq.md)
{% endcontent-ref %}

## For Developers

Learn how to programmatically create, provide, and purchase protections.

### Guides

{% content-ref url="/pages/-Mi2m5PvcYDlJ3JU4j12" %}
[Create a protection market](/for-developers/guides/how-do-i-create-a-protection-market.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MQOphTEd9tfO0YuJYKd" %}
[Buy protection programmatically](/for-developers/guides/how-do-i-buy-protection-programmatically.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MQOq1GXbIykZURx8gFq" %}
[Manage protection programmatically](/for-developers/guides/how-do-i-manage-protection-programmatically.md)
{% endcontent-ref %}

{% content-ref url="/pages/-M\_MCPd2wXKt0SI4j0vP" %}
[Provide protection programmatically](/for-developers/guides/providing-protection-programmatically.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MQOq8vgS9MmY6znF2dr" %}
[Liquidate a vault](/for-developers/guides/how-do-i-liquidate-a-vault.md)
{% endcontent-ref %}

{% content-ref url="/pages/wfeAHWIw9z3m8yPOBDls" %}
[Create a protected investing opportunity](/for-developers/guides/create-a-protected-investing-opportunity.md)
{% endcontent-ref %}

{% content-ref url="/pages/StjVobS1khLwXOVdJK9c" %}
[Create an invest/divest contract](/for-developers/guides/how-do-i-create-an-invest-divest-contract.md)
{% endcontent-ref %}

### Reference

{% content-ref url="/pages/-MQOqJVMNHsQ1FJJC1nJ" %}
[API reference](/for-developers/api-reference.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MXXW21R39EumU6Y61wg" %}
[Contract deployments](/for-developers/contract-deployments.md)
{% endcontent-ref %}


---

# 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://v1-docs.cozy.finance/readme.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.
