# PAG · Introduction

> Pattern Abstract Grammar (PAG) is a structured format for writing instructions to LLMs, defined by a formal grammar that is grounded in a reasoning ontology and published with a guide and a set of templates.

Canonical: https://banes-lab.com/pag
Page as Markdown: https://banes-lab.com/pag.md
Page as JSON: https://banes-lab.com/json/pag
This index as JSON: https://banes-lab.com/json/api/pages/pag/introduction

## Entries

- [What PAG is](https://banes-lab.com/pag/introduction/what-is-pag.md): Pattern Abstract Grammar (PAG) is a structured format for writing the instructions a model is asked to follow.
- [Why it works](https://banes-lab.com/pag/introduction/why-pag-works.md): The grammar does not change how a model behaves; it changes what the model is completing.
- [PAG and the method](https://banes-lab.com/pag/introduction/pag-and-the-method.md): A PAG document is one instrument, a single input inside the loop the method owns, as shown in one input].
