Prompt Content
Outline the Mastra AI agent's internal logic for performing a multi-step cost analysis. This should involve: 1. Using the `rag_retriever` to gather background information. 2. Using `phi3_analyzer` to process simulated raw data and identify patterns/inefficiencies. 3. Synthesizing these findings into a concise report. Provide pseudo-code or a detailed flow diagram within the Mastra AI agent's `onMessage` or `plan` method to illustrate this process, demonstrating how the agent would chain tool calls and internal reasoning.
Try this prompt
Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.
Related Prompts
Explore similar prompts from our community
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