Loads an agent definition from a markdown file. The file may contain an
optional YAML front matter block with backstory, model, name, and
description fields. The markdown body is appended to backstory (if any)
to form the final backstory string.
Parameters
filePath: string
Path to the agent markdown file (absolute or relative to cwd)
Loads an agent definition from a markdown file. The file may contain an optional YAML front matter block with
backstory,model,name, anddescriptionfields. The markdown body is appended tobackstory(if any) to form the final backstory string.