Back to Prompt Library
planning
Mastra Agent & Claude SDK Integration
Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.
Linked challenge: Autonomous Trade Finance Document Verification Agent with Claude Agents SDK and Mastra AI
Format
Code-aware
Lines
1
Sections
1
Linked challenge
Autonomous Trade Finance Document Verification Agent with Claude Agents SDK and Mastra AI
Prompt source
Original prompt text with formatting preserved for inspection.
1 lines
1 sections
No variables
0 checklist items
Set up a Mastra AI Agent (`import { Agent } from '@mastra/core'`) powered by Claude (`anthropic('claude-3-7-sonnet')`). Enable extended thinking (`thinking: { type: 'enabled', budget_tokens: 2048 }`). Register tool definitions for checking HS code pricing benchmarks, container number validation (ISO 6346), and vessel AIS route verification.Adaptation plan
Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.
Keep stable
Preserve the role framing, objective, and reporting structure so comparison runs stay coherent.
Tune next
Swap in your own domain constraints, anomaly thresholds, and examples before you branch variants.
Verify after
Check whether the prompt asks for the right evidence, confidence signal, and escalation path.