Skip to main content
Loading navigation

Mastra Agent Workflow Definition

Prompt source

implementation5 lines2 sectionsNo variables0 checklist items
import { Agent, Workflow } from '@mastra/core';

export const leadIntakeAgent = new Agent({
  name: 'Leasing Intake Agent',
  instructions: 'Qualify prospective renters and select optimal tour times from available calendar slots.'
});