Defines reusable instructions that agents and teams reference instead of repeating them inline.
agno/prompt
Config
Outputs
Dependencies
Depends on: Nothing. Depended on by:agno/agent— in thepromptfieldagno/team— in thepromptfield
Example — Instructions
Example — Template with variables
Notes
- Rendering:
instructionsare joined with newlines;templatehas its placeholders replaced byvariables. When both are set, the rendered template is appended after the instructions. - Every
{{variable}}intemplatemust have a value invariables, or the config is rejected. - When an agent or team sets
prompt, the rendered prompt replaces that agent’s or team’s owninstructions. - Updating a prompt re-renders it and propagates to every agent and team that references it.