Skip to main content
Loading navigation
Back to prompt library

Initialize Mastra AI Lab QC Workflow

Linked challenge: Liquid Biopsy QC Automation and Web Workflow Triage with Mastra AI and Skyvern

Prompt source

implementation11 lines3 sectionsNo variables0 checklist items
import { Agent } from '@mastra/core';

// Initialize Mastra AI agent for liquid biopsy QC
export const labQcAgent = new Agent({
  name: 'LiquidBiopsyQCAgent',
  instructions: 'Evaluate NGS QC metrics and trigger Skyvern browser tasks for rerun scheduling when thresholds fail.',
  model: {
    provider: 'OPEN_AI',
    name: 'gpt-4o',
  },
});

// Implement triage flow