© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Instructions vs role: system - Mastra
M
Mastra
•
11mo ago
•
3 replies
victor
Instructions vs role: system
Hey
, I
'm curious if passing the prompt in the
"instructions
" property of
.generate
(
) is better than using the messages array with
"system role
"
.
Is it
?
Mastra
Join
The TypeScript Agent FrameworkFrom the team that brought you Gatsby: prototype and productionize AI features with a modern JavaScript stack.
5,321
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
dynamic agents - throwing in `instructions`
M
Mastra / help-bugs-problems
9mo ago
Why persisting Message Thread implementation ignored the messages for role - System?
M
Mastra / help-bugs-problems
7mo ago
Agent Instructions Not being applied/followed
M
Mastra / help-bugs-problems
5w ago