Skip to main content

Runtime

Runtime

init

Scaffold a new agent.yaml locally.

Synopsis

Shell
$ phrony init [DIR]

Description

Writes a minimal agent.yaml in DIR (default: current working directory). Does not contact the runtime.

The scaffold starts with a yaml-language-server comment that points editors at the Agent Spec JSON Schema, so Cursor and VS Code can complete and validate the file. See Editor completion.

Fails if agent.yaml already exists in the target directory.

Example

Shell
$ phrony init ./weather-assistant

On success:

Text
created ./weather-assistant/agent.yaml

Up next