# Plugins

Dai.js supports plugins, which allow a developer to add functionality (hardware wallet support, exchange support, etc.) for specific needs without increasing the size and dependency list of the core library.

### Available Plugins

1. [Trezor Plugin](https://github.com/makerdao/dai-plugin-trezor-web) for using Trezor with dai.js in a browser environment.
2. [Ledger Plugin](https://github.com/makerdao/dai-plugin-ledger-web) for using Ledger in a browser environment.
3. [Governance Plugin](https://github.com/makerdao/dai-plugin-governance) for working with the governance contracts.
4. [eth2dai Instant Plugin](https://app.gitbook.com/s/-LtJ1VeNJVW-jiKH0xoL/build/dai.js/maker/dai-plugin-eth2dai-instant) for atomic trading on maker OTC (Oasis).
5. [Maker OTC Plugin](https://github.com/makerdao/dai-plugin-maker-otc) for interacting with the maker OTC contract (Oasis).
6. [MCD Plugin](/build/dai.js/the-mcd-plugin.md) for interacting with the multi-collateral dai contracts.
7. [SCD Plugin](/build/dai.js/single-collateral-dai.md) for interacting with the single-collateral dai contracts.

### Building your own plugin

Check out the [Dai Plugin Template](https://github.com/makerdao/dai-plugin-template).


---

# 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://docs.makerdao.com/build/dai.js/maker/plugins.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.
