Skip to main content

Learn the format

Markdown content in XML-like tags—the format frontier models prefer.

View on GitHub

Browse the source and contribute.

Example

example.ag
You are a financial analyst. Generate a Q2 report.

<context>
AcmeCorp is a B2B SaaS company.
Our investors value transparency.
</context>

<instructions>
1. Revenue Growth, Profit Margins, Cash Flow
2. Highlight strengths and improvements
</instructions>

<data>{{SPREADSHEET_DATA}}</data>

Guidelines

What frontier labs recommend for structuring prompts.

Format specification

The .ag file format explained.

Our approach

Why we follow lab guidance instead of benchmarks.

Tooling roadmap

Planned developer tools for .ag files.