# Anchor IDL

The Squads MPL is built in Anchor, and can be found in the [Anchor Program Registry](https://www.apr.dev/program/SMPLecH534NA9acpos4G6x7uf3LWbCAwZQE9e8ZekMu). Developers can interact with the program using the standard TypeScript functionality outlined in the [Anchor TS Doc](https://coral-xyz.github.io/anchor/ts/index.html).

To get started, first make sure that the latest version of Anchor is added to your project.

```
// if  using yarn
yarn add @project-serum/anchor
// if using npm
npm install @project-serum/anchor
```


---

# 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.squads.so/squads-v3-docs/development/anchor-idl.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.
