For AI agents: the complete documentation index is at https://buddy.works/llms.txt
$ bdy yaml validate [options] <file>
Validate a Buddy YAML file
ARGUMENTS file
Path to the YAML file (required)
OPTIONS --context <name>
Connection and scope context: default, git, link or a saved name. Overrides the globally active context for this invocation.
--examples
Show only examples; with this flag --format accepts text, json or jsonl
--verbose
Show REST API requests, responses, timing and retries on stderr
--format <text|json>
Output format: json, text. JSON CLI errors: {error:{code,message,hint}}, exit 1. Default: text (choices: "text", "json")
--type <type>
What the file defines; by default taken from its content, else pipeline (choices: "pipeline", "custom-action", "environment", "target", "sandbox", "agent", "domain", "distro")
-h, --help
display help for command
Documentation for bdy v1.26.5
Last modified on Dec 1, 2026
bdy yaml validate buddy.yml$ Return the result as JSON bdy yaml validate buddy.yml --format json$ Validate an environment file, the type taken from its content bdy yaml validate .buddy/environments/stage.yml$ Validate a file as a given type bdy yaml validate agent.yml --type agent$