Skip to content

Variable: DEFAULT\_STYLE\_INSTRUCTIONS

const DEFAULT_STYLE_INSTRUCTIONS: string

Style guardrails appended to every agent’s instructions to curb common LLM-isms (em dashes, emojis, sycophantic openers, excessive hedging, throwaway closers). Appended rather than prepended so the agent’s role/context comes first; the model’s recency bias then helps the style rules dominate the response surface.

Override globally via MastraPluginConfig.styleInstructions (pass false to disable entirely, or a string to replace).