Agent Instructions
Overview
VoltAgent supports three approaches for defining agent instructions. Each approach addresses different requirements around flexibility, team collaboration, and deployment workflows.
The Three Approaches
| Approach | Definition | Context Access | Team Workflow |
|---|---|---|---|
| Static Instructions | Hardcoded string | No | Code-based |
| Dynamic Instructions | Function with runtime context | Yes | Code-based |
| VoltOps Management | Externally managed prompts | Yes | Platform-managed |