Skip to main content

parse_agent_md

Function parse_agent_md 

Source
pub fn parse_agent_md(content: &str) -> Result<AgentConfig>
Expand description

Parse an agent markdown file (YAML frontmatter + body) into an AgentConfig.

The frontmatter provides name, description, and optional model. The markdown body (trimmed) becomes the agent’s system prompt.