Setting the file. One moment.
Subchapter 2.2
references/core-concepts.mdMarkdown788 BView on GitHub
Use this reference when deciding which Mastra primitive to use or when explaining the high-level shape of a Mastra application.
Agent: Autonomous, makes decisions, uses tools. Use for open-ended tasks such as support, research, analysis, and tool-using assistants.
Workflow: Structured sequence of steps. Use for defined processes such as pipelines, approvals, ETL, multi-step business logic, and resumable processes.