Prompts live in files, not in YAML
You declare a path to a Markdown file. The engine loads and renders it per request.Variables
Prompt files can contain{{variable}} placeholders:
generate):
Extra’s default system prompt
Every agent and orchestrator gets Extra’s built-in default system prompt in front of its own system prompt. It keeps the model inside the capabilities you configured: don’t invent tools, data, or actions; say so when a request is out of scope; respect tool restrictions, authorization, and agent boundaries; never claim an action happened unless it actually ran. The final system prompt is composed in a fixed order, with a blank line between parts:- Extra’s default system prompt (unless disabled)
- The node’s own prompt —
prompts.system(or itsdescriptionif there is no system file); for orchestrators, followed byprompts.orchestrator - For orchestrators only, the engine’s routing contract
{{variables}}. Extra’s default and the routing contract are engine text and are never interpolated.
Opt a single node out with prompts.extra_default: false. That removes only Extra’s default — the node’s own prompt is still sent unchanged:
When rendering happens
At startup — prompt file paths are validated. If a file doesn’t exist, the engine fails before serving requests. Per request — resolvers run, variables are substituted, the final prompt string is produced. Rendered prompts are never cached globally — each request gets a fresh render with its own resolved values. This means dynamic values likecurrent_date, customer_name, or account_tier are always accurate per request, regardless of when the engine started.
Rules
- A variable with no matching resolver fails clearly — the engine names the node, the variable, and what’s missing.
- Prompt text is not a security boundary. Don’t rely on prompt instructions to enforce access control — use the access plugin and runtime hooks instead.
- Secrets must never appear in prompt files or YAML.