Back to Prompt Library
planning

Initial Mastra AI Agent Design and State Management

Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.

Linked challenge: Multi-Agent Warehouse Optimization

Format
Text-first
Lines
1
Sections
1
Linked challenge
Multi-Agent Warehouse Optimization

Prompt source

Original prompt text with formatting preserved for inspection.

1 lines
1 sections
No variables
0 checklist items
Begin by designing the core agents for your warehouse system using Mastra AI. Define at least three agents (e.g., 'Observation Agent', 'Inventory Agent', 'Logistics Agent') with distinct roles. For each agent, describe its responsibilities and how it will utilize Mastra AI's built-in memory to maintain state regarding the warehouse layout, inventory levels, or drone positions. Outline a basic message passing structure between these agents.

Adaptation plan

Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.

Keep stable

Preserve the role framing, objective, and reporting structure so comparison runs stay coherent.

Tune next

Swap in your own domain constraints, anomaly thresholds, and examples before you branch variants.

Verify after

Check whether the prompt asks for the right evidence, confidence signal, and escalation path.