Synopsis
$ phrony agents validate MANIFESTDescription
Parses and resolves an agent manifest on disk. Does not contact the runtime or publish anything. Use this before publish to catch schema and resolution errors early.
MANIFEST is the path to a kind: Agent YAML file (for example weather-assistant/agent.yaml). For bundle manifests, use phrony bundles validate instead.
Validation includes the Agent secrets section when present: secret names, fromEnv references, rejection of inline values, and spec.model.secret consistency. It does not read or send secret values to the runtime.
When the manifest declares secrets, validate prints a warning to stderr for each fromEnv variable that is unset or empty in your local environment (dry-run only). Set those variables (or use run -e to load a file) before starting a session.
Example
$ phrony agents validate path/to/agent.yamlOn success, prints the resolved namespace, name, and version:
valid: demo/echo-agent 1.0.0Up next