vlmrun.yaml defines how a skill executes within VLM Run’s Orion agent. It specifies the model, available toolsets, and a state machine graph that orchestrates the agent’s workflow.
Fields
Model Variants
State Machine Graph
The graph field uses Mermaid stateDiagram-v2 syntax to define the agent’s execution flow. Each state represents a step the agent performs, with transitions defining the order.
Syntax
Simple Example (2 states)
A basic image analysis skill with analyze → output flow:
Multi-Step Example (3+ states)
A video analysis skill with multiple processing stages:
Plan Field
The optional plan field provides a human-readable explanation of the state machine. It helps document the skill’s workflow for other developers:
Write descriptive state names and descriptions. The agent uses them to understand what to do at each step — more detail leads to better execution.