Mastra Workflow Setup
Prompt source
implementation1 lines1 sectionsNo variables0 checklist items
Initialize a Mastra AI project using TypeScript. Create an agent using `import { Agent } from '@mastra/core'` and configure Helicone headers in the OpenAI client configuration to track latency and step-wise token consumption.