Back to prompt library
Mastra Workflow Setup
Linked challenge: Build an ONDC Grocery Sourcing and Delivery Agent with Mastra AI and Helicone
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.