System Architecture Setup

implementationChallenge

Prompt Content

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.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations