Skip to main content
Loading navigation
Back to prompt library

System Architecture Setup

Linked challenge: BESS Health Monitoring Agent

Prompt source

implementation1 lines1 sectionsNo variables0 checklist items
Initialize a Mastra AI project. Define a tool called 'BatteryAnalyzer' that takes voltage and temperature arrays as input and returns an anomaly score. Use CodeCarbon's @track_emissions decorator on this tool's implementation. Provide the basic structure of the Mastra agent that will orchestrate this tool.