> For the complete documentation index, see [llms.txt](https://docs.permission.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.permission.ai/permission-protocol.md).

# Permission Protocol

- [Concepts](https://docs.permission.ai/permission-protocol/concepts.md)
- [Overview](https://docs.permission.ai/permission-protocol/concepts/overview.md)
- [Examples](https://docs.permission.ai/permission-protocol/concepts/examples.md): This section shows how the Permission Protocol is commonly used by websites and marketplaces.
- [DID Generation](https://docs.permission.ai/permission-protocol/concepts/did-generation.md): DID is an ethereum wallet address
- [Proof of Consent](https://docs.permission.ai/permission-protocol/concepts/proof-of-consent.md)
- [V1 Protocol](https://docs.permission.ai/permission-protocol/v1-protocol.md)
- [Consent Record Schema](https://docs.permission.ai/permission-protocol/v1-protocol/consent-record-schema.md)
- [Data Access Patterns](https://docs.permission.ai/permission-protocol/v1-protocol/data-access-patterns.md): Defined process of accessing data in permission protocol by a consumer utilizing dataRef in a consent record for secure access of supplier provided data according to consent.
- [Contracts](https://docs.permission.ai/permission-protocol/v1-protocol/contracts.md): Smart Contracts Addresses and Repositories
- [Agreement](https://docs.permission.ai/permission-protocol/v1-protocol/contracts/agreement.md)
- [DIDRegistry](https://docs.permission.ai/permission-protocol/v1-protocol/contracts/didregistry.md)
- [Consent](https://docs.permission.ai/permission-protocol/v1-protocol/contracts/consent.md)
- [Subgraph](https://docs.permission.ai/permission-protocol/v1-protocol/subgraph.md): Coming Soon
- [MCP Protocol](https://docs.permission.ai/permission-protocol/v1-protocol/mcp-protocol.md): Permission Protocol MCP Server Example


---

# 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.permission.ai/permission-protocol.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.
