FAQ Guide

JSON or YAML for AI Agent Config?

Use JSON when strict machine parsing matters; use YAML when human-readable configuration matters and indentation is controlled.

Quick comparison

JSON

Option A

Strict and explicit

Option B

Less friendly

YAML

Option A

Readable

Option B

Indentation-sensitive

Best for

Option A

APIs

Option B

Config docs

Questions and answers

Why does YAML break?

Indentation, implicit values, and copied whitespace can change meaning.

Why does JSON help agents?

Strict structure makes inputs easier to validate and compare.

What should teams do?

Keep examples formatted, validated, and versioned.