> For the complete documentation index, see [llms.txt](https://docs.makerdao.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.makerdao.com/build/dai.js/maker/plugins.md).

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