Skip to main content

Document Identity Keywords

Four keywords that establish what a document is — its title, description, metadata, and execution context.

title:​

Category: Identity Arabic: عنوان:

The document title. Renders as H1. Every document should have exactly one.

Syntax​

title: content

Examples​

title: Service Agreement
title: Q2 2026 Financial Report
title: Invoice {{invoice.number}}

Notes​

  • One title: per document
  • In templates, supports {{variables}}

summary:​

Category: Identity Arabic: ملخص:

Brief description of the document. Renders as a subtitle below the title.

Syntax​

summary: content

Examples​

summary: Consulting services agreement between Acme Corp and GlobalTech
summary: Monthly financial performance report for the board

meta:​

Category: Identity Arabic: بيانات:

Document metadata as key-value pairs. Not rendered visually — used for classification, filtering, and template system.

Syntax​

meta: | key: value | key: value

Properties​

PropertyTypeDescription
typestringDocument type: template, invoice, contract, etc.
authorstringDocument author
datestringDocument date
versionstringDocument version
langstringLanguage code (e.g., en, ar)
licensestringLicense identifier
domainstringBusiness domain (e.g., finance, legal)
tagsstringComma-separated tags
themestringDefault theme for rendering
dirstringExplicit text direction: rtl or ltr — overrides auto-detection

Examples​

meta: | type: template | domain: finance | author: Ahmed Al-Rashid
meta: | type: contract | lang: en | tags: consulting, q2-2026
meta: | theme: corporate | version: 2.1
meta: | dir: rtl

Notes​

  • meta: content is empty — all data is in pipe properties
  • type: template is how the merge system identifies templates
  • Can have multiple meta: blocks — properties merge

context:​

Category: Document Identity

Execution context for the document — the agent identity, goal, and operating constraints.

Syntax​

context: agent name | goal: description | constraints: rules

Properties​

PropertyTypeDescription
agentstringAgent name or identifier
goalstringWhat the agent aims to accomplish
constraintsstringRules or limitations

Examples​

context: Data Migration Agent | goal: Migrate legacy DB to cloud | constraints: Zero downtime
context: Report Generator | goal: Produce monthly financial summary | constraints: Data from SAP only

Notes​

  • Typically the first block after title: in agent task plans
  • Sets the framing for all step:, gate:, and decision: blocks that follow