Skip to main content
Loading navigation
Back to prompt library

Create Mastra AI Data Agent

Linked challenge: Industrial Operations Capture Analysis with Mastra AI and Claude 4 Opus

Prompt source

implementation6 lines2 sectionsNo variables0 checklist items
import { Agent } from '@mastra/core';

export const captureAgent = new Agent({
  name: 'Capture Diagnostic Agent',
  instructions: 'Analyze raw industrial historian capture strings and normalize missing fields...',
  model: { provider: 'ANTHROPIC', name: 'claude-3-opus-20240229' }
});