Back to Prompt Library
implementation

Initial Mastra AI Setup

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

Linked challenge: Autonomous Predictive Maintenance Agent for Hypersonic Propulsion Systems

Format
Text-first
Lines
1
Sections
1
Linked challenge
Autonomous Predictive Maintenance Agent for Hypersonic Propulsion Systems

Prompt source

Original prompt text with formatting preserved for inspection.

1 lines
1 sections
No variables
0 checklist items
Initialize a Mastra AI project using Claude 4 Opus. Define an agent called 'EngineHealthAgent' that has access to a tool for calculating moving averages on telemetry data and a RAG tool for propulsion manuals. Show the imports and the agent initialization block.

Adaptation plan

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

Keep stable

Hold the task contract and output shape stable so generated implementations remain comparable.

Tune next

Update libraries, interfaces, and environment assumptions to match the stack you actually run.

Verify after

Test failure handling, edge cases, and any code paths that depend on hidden context or secrets.