Back to prompt library
Mastra Agent & Workflow Setup
Linked challenge: Mastra AI & Coplay AI Multifamily Demand Handling Assistant
Prompt source
implementation1 lines1 sectionsNo variables0 checklist items
Import `Agent` and `Workflow` from `@mastra/core`. Construct a Mastra agent that ingests tenant messages and uses a custom tool to verify availability against simulated PMS slot arrays.