# For Developers

- [Guides](https://v1-docs.cozy.finance/for-developers/guides.md): Interact with Cozy markets programmatically using samle scripts and  developer guides.
- [Set up your development environment](https://v1-docs.cozy.finance/for-developers/guides/development-environment-setup.md): Get everything you need to start developing using the developer guides.
- [Create a protection market](https://v1-docs.cozy.finance/for-developers/guides/how-do-i-create-a-protection-market.md): Learn how to create a trigger contract for a protection market.
- [Buy protection programmatically](https://v1-docs.cozy.finance/for-developers/guides/how-do-i-buy-protection-programmatically.md): Learn how to buy protection programmatically on the Cozy protocol.
- [Manage protection programmatically](https://v1-docs.cozy.finance/for-developers/guides/how-do-i-manage-protection-programmatically.md): Learn how to view and manage positions and accounts programmatically on the Cozy protocol.
- [Provide protection programmatically](https://v1-docs.cozy.finance/for-developers/guides/providing-protection-programmatically.md): Learn how to provide protection by supplying assets to a protection market programmatically.
- [Liquidate a vault](https://v1-docs.cozy.finance/for-developers/guides/how-do-i-liquidate-a-vault.md): Learn how to liquidating a vault programmatically on the Cozy protocol.
- [Create a protected investing opportunity](https://v1-docs.cozy.finance/for-developers/guides/create-a-protected-investing-opportunity.md): Learn how to create a protected investment opportunity for another DeFi protocol.
- [Create an invest/divest contract](https://v1-docs.cozy.finance/for-developers/guides/how-do-i-create-an-invest-divest-contract.md): Learn how to create an invest/divest contract for an investment opportunity.
- [Error codes](https://v1-docs.cozy.finance/for-developers/error-codes.md): Explanation of what error codes are and how to handle them in your code
- [API reference](https://v1-docs.cozy.finance/for-developers/api-reference.md): Reference information for the methods available in the Cozy protocol.
- [Cozy tokens](https://v1-docs.cozy.finance/for-developers/api-reference/cozy-tokens.md): API reference for Cozy tokens. Cozy tokens are a core contract in the Cozy protocol and each market is a unique instance of a Cozy token.
- [Comptroller](https://v1-docs.cozy.finance/for-developers/api-reference/comptroller.md): API reference for the Comptroller, which is responsible for ensuring the safety of the protocol.
- [Full API reference](https://v1-docs.cozy.finance/for-developers/api-reference/full-api-reference.md): API reference for all Cozy contracts
- [Contract deployments](https://v1-docs.cozy.finance/for-developers/contract-deployments.md): Cozy Protocol contract deployment addresses


---

# 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/for-developers.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.
