Other
code
agent
udsl
document-structure
document-schema
ai-standards
llm-framework
model-agnostic
cross-llm
prompt-engineering
reasoning-models
governance
compliance
auditability
explainability
interoperability
renmetrix
loom-protocol
structured-writing
ai-governance
ai-compliance
responsible-ai
ai-evaluation
ai-validation
document-architecture
nlp
standard
First beta release for the Universal Document Structure Layer
Browse filesUDSL: Universal Document Structure Layer
Is an AI-native, model-agnostic document framework designed to make large language models produce:
- structurally consistent
- explainable
- auditable
- human-aligned
- repeatable long-form documents
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
---
|
| 2 |
-
---
|
| 3 |
license: cc-by-4.0
|
|
|
|
| 4 |
tags:
|
| 5 |
- code
|
| 6 |
- agent
|
|
@@ -26,193 +26,346 @@ tags:
|
|
| 26 |
- responsible-ai
|
| 27 |
- ai-evaluation
|
| 28 |
- ai-validation
|
| 29 |
-
- document-
|
| 30 |
-
-
|
| 31 |
-
-
|
|
|
|
| 32 |
---
|
| 33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
---
|
| 36 |
-
UDSL v1.0 — Universal Document Structure Layer
|
| 37 |
|
| 38 |
-
|
| 39 |
-
Version: v1.0 (Public Beta Release)
|
| 40 |
-
Author: Nathan Lumulisanay — RenMetrix — LOOM Protocol
|
| 41 |
-
License: CC-BY-4.0
|
| 42 |
|
| 43 |
-
|
|
|
|
| 44 |
|
| 45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
-
|
| 48 |
|
| 49 |
-
|
| 50 |
|
| 51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
|
| 53 |
-
|
| 54 |
|
| 55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
|
| 57 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
|
| 59 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
|
| 61 |
reasoning schemas (Toulmin, deductive, inductive)
|
| 62 |
|
| 63 |
tone profiles
|
| 64 |
|
| 65 |
-
UX writing
|
| 66 |
|
| 67 |
-
terminology
|
| 68 |
|
| 69 |
-
|
| 70 |
|
| 71 |
-
|
|
|
|
|
|
|
|
|
|
| 72 |
|
| 73 |
structural drift
|
| 74 |
|
| 75 |
-
missing sections
|
|
|
|
|
|
|
| 76 |
|
| 77 |
-
|
| 78 |
|
| 79 |
-
|
| 80 |
|
| 81 |
-
model-
|
| 82 |
|
| 83 |
-
|
| 84 |
|
| 85 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
|
| 87 |
This public release contains:
|
| 88 |
|
|
|
|
|
|
|
| 89 |
UDSL Core Specification (PDF)
|
| 90 |
|
| 91 |
-
|
| 92 |
|
| 93 |
-
|
| 94 |
|
| 95 |
-
|
| 96 |
|
| 97 |
-
|
| 98 |
|
| 99 |
-
|
| 100 |
|
| 101 |
-
|
| 102 |
|
| 103 |
-
|
| 104 |
|
| 105 |
-
|
| 106 |
|
| 107 |
-
|
| 108 |
-
doc_type: policy_memo
|
| 109 |
-
tone_profile: formal_concise
|
| 110 |
-
reasoning_mode: toulmin
|
| 111 |
-
audience: board
|
| 112 |
|
| 113 |
-
|
| 114 |
-
Apply the reasoning rules from reasoning_schemas.yaml.
|
| 115 |
-
Do NOT invent additional sections.
|
| 116 |
|
|
|
|
| 117 |
|
| 118 |
-
|
| 119 |
|
| 120 |
-
|
| 121 |
|
| 122 |
-
|
| 123 |
|
| 124 |
-
|
| 125 |
|
| 126 |
-
|
| 127 |
|
| 128 |
-
|
| 129 |
|
| 130 |
-
|
| 131 |
|
| 132 |
-
|
| 133 |
|
|
|
|
| 134 |
|
| 135 |
-
|
| 136 |
|
| 137 |
-
|
| 138 |
|
| 139 |
-
|
| 140 |
|
| 141 |
-
|
| 142 |
|
| 143 |
-
|
| 144 |
|
| 145 |
-
|
| 146 |
|
| 147 |
-
|
| 148 |
|
| 149 |
-
|
| 150 |
-
https://github.com/nathanlumulisanay-lgtm/udsl
|
| 151 |
|
| 152 |
-
|
| 153 |
-
➡️ doi.org/10.5281/zenodo.17625481
|
| 154 |
|
| 155 |
-
|
| 156 |
-
Lumulisanay, N. (2025). UDSL — Universal Document Structure Layer (v1.0).
|
| 157 |
-
RenMetrix — LOOM Protocol.
|
| 158 |
|
| 159 |
-
|
| 160 |
-
document-structure
|
| 161 |
-
ai-framework
|
| 162 |
-
llm-standard
|
| 163 |
-
reasoning
|
| 164 |
-
prompt-engineering
|
| 165 |
-
auditability
|
| 166 |
-
governance
|
| 167 |
-
tooling
|
| 168 |
-
nlp
|
| 169 |
|
| 170 |
-
|
|
|
|
|
|
|
|
|
|
| 171 |
|
| 172 |
-
|
|
|
|
|
|
|
| 173 |
|
| 174 |
-
✔ License → cc-by-4.0
|
| 175 |
-
✔ Language → "not applicable" (dit is geen taalmodel)
|
| 176 |
-
✔ Base model → none
|
| 177 |
-
✔ Pipeline tag → "other"
|
| 178 |
-
✔ Tags → plak deze:
|
| 179 |
-
UDSL
|
| 180 |
-
document-structure
|
| 181 |
-
nlp
|
| 182 |
-
model-agnostic
|
| 183 |
-
framework
|
| 184 |
-
llm
|
| 185 |
-
compliance
|
| 186 |
-
governance
|
| 187 |
-
standard
|
| 188 |
-
auditability
|
| 189 |
-
reasoning
|
| 190 |
-
prompt-engineering
|
| 191 |
-
docs
|
| 192 |
|
| 193 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 194 |
|
| 195 |
-
|
| 196 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 197 |
|
| 198 |
-
|
| 199 |
|
| 200 |
-
|
| 201 |
|
| 202 |
-
Documenten (optioneel maar aan te raden)
|
| 203 |
|
| 204 |
-
|
| 205 |
-
✔ /Docs/UDSL_Architecture_arXiv_Ready.pdf
|
| 206 |
-
✔ /Docs/UDSL_AI_Usage_Directive_v1.0.pdf
|
| 207 |
-
✔ /Docs/UDSL_Specification_v1.0_Expanded.pdf
|
| 208 |
|
| 209 |
-
|
| 210 |
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
✔ udsl_reasoning_minimal.png
|
| 214 |
|
| 215 |
-
|
|
|
|
| 216 |
|
| 217 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 218 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
license: cc-by-4.0
|
| 3 |
+
|
| 4 |
tags:
|
| 5 |
- code
|
| 6 |
- agent
|
|
|
|
| 26 |
- responsible-ai
|
| 27 |
- ai-evaluation
|
| 28 |
- ai-validation
|
| 29 |
+
- document-architecture
|
| 30 |
+
- nlp
|
| 31 |
+
- standard
|
| 32 |
+
pipeline_tag: "other"
|
| 33 |
---
|
| 34 |
|
| 35 |
+
# UDSL v1.0 — Universal Document Structure Layer
|
| 36 |
+
*A model-agnostic document architecture for consistent, explainable long-form AI output.*
|
| 37 |
+
|
| 38 |
+
[](https://github.com/nathanlumulisanay-lgtm/udsl)
|
| 39 |
+
[](https://doi.org/10.5281/zenodo.17625481)
|
| 40 |
+

|
| 41 |
|
| 42 |
---
|
|
|
|
| 43 |
|
| 44 |
+
## What is UDSL?
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
+
**UDSL (Universal Document Structure Layer)** is an AI-native, model-agnostic document framework designed to make
|
| 47 |
+
large language models produce:
|
| 48 |
|
| 49 |
+
- structurally consistent
|
| 50 |
+
- explainable
|
| 51 |
+
- auditable
|
| 52 |
+
- human-aligned
|
| 53 |
+
- repeatable long-form documents
|
| 54 |
|
| 55 |
+
It works across ChatGPT, Claude, Gemini, Perplexity, and open-source models via one unified document standard.
|
| 56 |
|
| 57 |
+
UDSL defines:
|
| 58 |
|
| 59 |
+
- canonical outline structures
|
| 60 |
+
- reasoning schemas (Toulmin, deductive, inductive)
|
| 61 |
+
- tone profiles
|
| 62 |
+
- UX writing constraints
|
| 63 |
+
- terminology maps
|
| 64 |
+
- compliance validation rules
|
| 65 |
+
|
| 66 |
+
---
|
| 67 |
+
|
| 68 |
+
## Why UDSL exists
|
| 69 |
+
|
| 70 |
+
LLMs produce tokens — not documents — causing:
|
| 71 |
+
|
| 72 |
+
- missing sections
|
| 73 |
+
- drifting structure
|
| 74 |
+
- inconsistent reasoning
|
| 75 |
+
- hallucinated outlines
|
| 76 |
+
- differences between models
|
| 77 |
+
|
| 78 |
+
UDSL fixes this by enforcing one shared, explicit structure layer.
|
| 79 |
+
|
| 80 |
+
---
|
| 81 |
|
| 82 |
+
## Contents of v1.0
|
| 83 |
|
| 84 |
+
- UDSL Core Specification (PDF)
|
| 85 |
+
- Canonical YAML + Markdown definitions
|
| 86 |
+
- Validator toolkit (structure, reasoning, tone, terminology)
|
| 87 |
+
- Integration profiles (ChatGPT, Claude, Gemini, Perplexity)
|
| 88 |
+
- Example UDSL-compliant documents
|
| 89 |
+
- Integrity scripts (checksums + ZIP builder)
|
| 90 |
+
- Release notes + checksum file
|
| 91 |
|
| 92 |
+
---
|
| 93 |
+
|
| 94 |
+
## Using UDSL with any LLM
|
| 95 |
+
|
| 96 |
+
Minimal invocation:
|
| 97 |
+
|
| 98 |
+
```yaml
|
| 99 |
+
You are an AI system that MUST follow the UDSL v1.0 standard.
|
| 100 |
+
doc_type: policy_memo
|
| 101 |
+
tone_profile: formal_concise
|
| 102 |
+
reasoning_mode: toulmin
|
| 103 |
+
audience: board
|
| 104 |
+
|
| 105 |
+
Follow the canonical outline from structure.yaml.
|
| 106 |
+
Apply reasoning rules from reasoning_schemas.yaml.
|
| 107 |
+
Do NOT invent additional sections.
|
| 108 |
|
| 109 |
+
|
| 110 |
+
- Overview
|
| 111 |
+
|
| 112 |
+
UDSL (Universal Document Structure Layer) is a vendor-neutral architecture designed to make large language models
|
| 113 |
+
(ChatGPT, Claude, Gemini, Perplexity, Grok, Llama, etc.) produce:
|
| 114 |
+
|
| 115 |
+
structurally consistent documents
|
| 116 |
+
|
| 117 |
+
explainable reasoning
|
| 118 |
+
|
| 119 |
+
auditable long-form output
|
| 120 |
+
|
| 121 |
+
multi-model aligned text
|
| 122 |
+
|
| 123 |
+
repeatable, reliable structure
|
| 124 |
+
|
| 125 |
+
Instead of relying on ad-hoc prompting, UDSL introduces a formal specification layer with:
|
| 126 |
+
|
| 127 |
+
canonical YAML structure definitions
|
| 128 |
|
| 129 |
reasoning schemas (Toulmin, deductive, inductive)
|
| 130 |
|
| 131 |
tone profiles
|
| 132 |
|
| 133 |
+
UX writing constraints
|
| 134 |
|
| 135 |
+
terminology consistency rules
|
| 136 |
|
| 137 |
+
UDSL is not a model — it is a standard that any model can follow.
|
| 138 |
|
| 139 |
+
# Why UDSL Exists
|
| 140 |
+
|
| 141 |
+
LLMs generate tokens, not documents.
|
| 142 |
+
This causes:
|
| 143 |
|
| 144 |
structural drift
|
| 145 |
|
| 146 |
+
missing or inconsistent sections
|
| 147 |
+
|
| 148 |
+
unstable tone
|
| 149 |
|
| 150 |
+
weak or incomplete reasoning
|
| 151 |
|
| 152 |
+
differences between models for the same prompt
|
| 153 |
|
| 154 |
+
UDSL solves this through a unified, enforceable, model-agnostic structure layer.
|
| 155 |
|
| 156 |
+
Every compliant document produced by any LLM becomes:
|
| 157 |
|
| 158 |
+
predictable
|
| 159 |
+
|
| 160 |
+
traceable
|
| 161 |
+
|
| 162 |
+
comparable
|
| 163 |
+
|
| 164 |
+
auditable
|
| 165 |
+
|
| 166 |
+
# What’s Included in UDSL v1.0
|
| 167 |
|
| 168 |
This public release contains:
|
| 169 |
|
| 170 |
+
Specifications
|
| 171 |
+
|
| 172 |
UDSL Core Specification (PDF)
|
| 173 |
|
| 174 |
+
UDSL Architecture (arXiv-ready)
|
| 175 |
|
| 176 |
+
UDSL AI Usage Directive
|
| 177 |
|
| 178 |
+
UDSL Specification Expanded Edition
|
| 179 |
|
| 180 |
+
Canonical Definitions
|
| 181 |
|
| 182 |
+
Structure definitions (YAML)
|
| 183 |
|
| 184 |
+
Reasoning modes
|
| 185 |
|
| 186 |
+
Tone profiles
|
| 187 |
|
| 188 |
+
UX constraints
|
| 189 |
|
| 190 |
+
Terminology maps
|
|
|
|
|
|
|
|
|
|
|
|
|
| 191 |
|
| 192 |
+
Validator Toolkit
|
|
|
|
|
|
|
| 193 |
|
| 194 |
+
Compliance schema
|
| 195 |
|
| 196 |
+
Scoring model
|
| 197 |
|
| 198 |
+
CLI validator (udsl_validate.py)
|
| 199 |
|
| 200 |
+
Example valid/invalid documents
|
| 201 |
|
| 202 |
+
Integrations
|
| 203 |
|
| 204 |
+
ChatGPT profile
|
| 205 |
|
| 206 |
+
Claude profile
|
| 207 |
|
| 208 |
+
Gemini profile
|
| 209 |
|
| 210 |
+
Perplexity profile
|
| 211 |
|
| 212 |
+
Examples
|
| 213 |
|
| 214 |
+
Policy memo
|
| 215 |
|
| 216 |
+
Business report
|
| 217 |
|
| 218 |
+
Technical report
|
| 219 |
|
| 220 |
+
Cross-LLM comparison outputs
|
| 221 |
|
| 222 |
+
Build & Integrity Scripts
|
| 223 |
|
| 224 |
+
ZIP builder
|
| 225 |
|
| 226 |
+
Checksum generator
|
| 227 |
|
| 228 |
+
Hash verification script
|
|
|
|
| 229 |
|
| 230 |
+
# How to Use UDSL With Any LLM
|
|
|
|
| 231 |
|
| 232 |
+
Example prompt (works in ChatGPT, Claude, Gemini, Perplexity, etc.):
|
|
|
|
|
|
|
| 233 |
|
| 234 |
+
You are an AI system that MUST comply with the UDSL v1.0 standard.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 235 |
|
| 236 |
+
doc_type: policy_memo
|
| 237 |
+
tone_profile: formal_concise
|
| 238 |
+
reasoning_mode: toulmin
|
| 239 |
+
audience: executive_board
|
| 240 |
|
| 241 |
+
Follow the canonical structure from `structure.yaml`.
|
| 242 |
+
Apply the reasoning rules from `reasoning_schemas.yaml`.
|
| 243 |
+
Do NOT invent additional sections.
|
| 244 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 245 |
|
| 246 |
+
This ensures the model produces fully structured, auditable documents.
|
| 247 |
+
|
| 248 |
+
# Validator (CLI)
|
| 249 |
+
|
| 250 |
+
UDSL includes a validation tool that checks:
|
| 251 |
+
|
| 252 |
+
structure compliance
|
| 253 |
|
| 254 |
+
reasoning alignment
|
| 255 |
+
|
| 256 |
+
tone profile adherence
|
| 257 |
+
|
| 258 |
+
UX rules
|
| 259 |
+
|
| 260 |
+
terminology consistency
|
| 261 |
|
| 262 |
+
Run validator:
|
| 263 |
|
| 264 |
+
python validator/udsl_validate.py your_document.md
|
| 265 |
|
|
|
|
| 266 |
|
| 267 |
+
Outputs a detailed JSON compliance score.
|
|
|
|
|
|
|
|
|
|
| 268 |
|
| 269 |
+
# Official Links
|
| 270 |
|
| 271 |
+
GitHub (source):
|
| 272 |
+
https://github.com/nathanlumulisanay-lgtm/udsl
|
|
|
|
| 273 |
|
| 274 |
+
Zenodo (archival release + DOI):
|
| 275 |
+
https://doi.org/10.5281/zenodo.17625481
|
| 276 |
|
| 277 |
+
# Citation
|
| 278 |
+
Lumulisanay, N. (2025).
|
| 279 |
+
UDSL — Universal Document Structure Layer (v1.0).
|
| 280 |
+
RenMetrix / LOOM Protocol.
|
| 281 |
+
Zenodo. https://doi.org/10.5281/zenodo.17625481
|
| 282 |
|
| 283 |
+
🏷 Recommended Tags (for discovery)
|
| 284 |
+
udsl
|
| 285 |
+
document-structure
|
| 286 |
+
ai-standards
|
| 287 |
+
model-agnostic
|
| 288 |
+
llm-framework
|
| 289 |
+
reasoning
|
| 290 |
+
prompt-engineering
|
| 291 |
+
auditability
|
| 292 |
+
compliance
|
| 293 |
+
governance
|
| 294 |
+
structured-writing
|
| 295 |
+
nlp
|
| 296 |
+
ai-evaluation
|
| 297 |
+
interoperability
|
| 298 |
+
|
| 299 |
+
structure-de-document
|
| 300 |
+
normes-ia
|
| 301 |
+
cadre-llm
|
| 302 |
+
interopérabilité
|
| 303 |
+
gouvernance-ia
|
| 304 |
+
conformité-ia
|
| 305 |
+
auditabilité
|
| 306 |
+
explicabilité
|
| 307 |
+
estructura-de-documentos
|
| 308 |
+
normas-ia
|
| 309 |
+
marco-llm
|
| 310 |
+
gobernanza-ia
|
| 311 |
+
cumplimiento-ia
|
| 312 |
+
auditabilidad
|
| 313 |
+
explicabilidad
|
| 314 |
+
interoperabilidad
|
| 315 |
+
dokumentstruktur
|
| 316 |
+
ki-standards
|
| 317 |
+
llm-rahmenwerk
|
| 318 |
+
interoperabilität
|
| 319 |
+
governance-ki
|
| 320 |
+
compliance-ki
|
| 321 |
+
auditierbarkeit
|
| 322 |
+
erklärbarkeit
|
| 323 |
+
struttura-documentale
|
| 324 |
+
standard-ia
|
| 325 |
+
framework-llm
|
| 326 |
+
governance-ia
|
| 327 |
+
conformità-ia
|
| 328 |
+
auditabilità
|
| 329 |
+
interoperabilità
|
| 330 |
+
spiegabilità
|
| 331 |
+
estrutura-de-documentos
|
| 332 |
+
normas-ia
|
| 333 |
+
quadro-llm
|
| 334 |
+
governança-ia
|
| 335 |
+
conformidade-ia
|
| 336 |
+
auditabilidade
|
| 337 |
+
explicabilidade
|
| 338 |
+
文档结构
|
| 339 |
+
人工智能标准
|
| 340 |
+
LLM框架
|
| 341 |
+
跨模型
|
| 342 |
+
治理
|
| 343 |
+
合规
|
| 344 |
+
可审计性
|
| 345 |
+
可解释性
|
| 346 |
+
структура-документа
|
| 347 |
+
стандарты-ии
|
| 348 |
+
llm-фреймворк
|
| 349 |
+
взаимная-совместимость
|
| 350 |
+
управление-ии
|
| 351 |
+
соответствие-ии
|
| 352 |
+
аудируемость
|
| 353 |
+
объяснимость
|
| 354 |
+
struktur-dokumen
|
| 355 |
+
standar-ai
|
| 356 |
+
kerangka-llm
|
| 357 |
+
interoperabilitas
|
| 358 |
+
tata-kelola-ai
|
| 359 |
+
kepatuhan-ai
|
| 360 |
+
auditabilitas
|
| 361 |
+
keterjelasan
|
| 362 |
+
هيكل-الوثائق
|
| 363 |
+
معايير-الذكاء-الاصطناعي
|
| 364 |
+
إطار-llm
|
| 365 |
+
قابلية-التشغيل-البيني
|
| 366 |
+
حوكمة-ai
|
| 367 |
+
امتثال-ai
|
| 368 |
+
قابلية-التدقيق
|
| 369 |
+
الشفا��ية
|
| 370 |
+
|
| 371 |
+
---
|