Skip to main content
Loading navigation
Back to prompt library

Initialize Mastra AI Entity Agent Workflow

Linked challenge: Build a Cross-Border Entity Resolution Workflow with Mastra AI and ZenML

Prompt source

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

export const entityResolverAgent = new Agent({
  name: 'Entity Resolver',
  instructions: 'Disambiguate corporate entity names and match against GLEIF LEI records.',
  model: {
    provider: 'OPEN_AI',
    name: 'gpt-4o',
  },
});

// Create Mastra tool for LEI lookup...