# Adapt Modules

Adapt Modules are smart contract extensions separate from the main RAILGUN privacy system. They allow for extended functionality without impacting the main privacy system’s code. Adapt Modules require 2 fields, a contract address, and parameters to execute the contract.

The parameters in Adapt Modules are not validated by the core RAILGUN code, which allows for them to be implemented with any custom logic, and arbitrarily across any smart contract. Any relevant proofs are only submittable from the specified contract, and they are only valid if they pass both the RAILGUN core protocol rules and the Adapt Module’s validation rules.

Execution parameters are bound into the SNARK proof itself, such that the interaction is only valid if the parameters are met.

<figure><img src="https://4189133001-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgpI5FGDnzf3cR6tzx7%2Fuploads%2FbY728eKZ8dImEs9cA6Ee%2Fimage.png?alt=media&#x26;token=600b7c24-8e53-4a2d-8906-e9529da7b4c3" alt=""><figcaption></figcaption></figure>


---

# 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.railgun.org/wiki/learn/integrating-railgun/adapt-modules.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.
