Skip to main content
Loading navigation
Back to prompt library

Mastra Agent Workflow Definition

Linked challenge: Build a Multifamily Demand Intake Agent with Mastra AI in TypeScript

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.'
});