agent-tool
Agent Tool Definition
Tools are the agent's hands. Every action the agent can take is a tool with defined parameters, approval requirements, and execution logic.
Agent Core (Mastra)
import { Agent } from '@mastra/core'
import { supportTools } from './tools'
export const supportAgent = new Agent({
name: 'support-agent',
instructions: `
You are a support agent for Skill Recordings products.
Your goal is to resolve customer issues quickly and empathetically.
## Authority Levels
AUTO-APPROVE (do immediately):
More from skillrecordings/support
vercel-cli
Deploy and manage Vercel projects via CLI. Use when deploying apps, managing environment variables, configuring domains, or pushing secrets to Vercel. Triggers on deploy, vercel, env vars, production.
4ai-sdk
Comprehensive guide to AI SDK v6 for agent development, tool definitions, multi-step agentic workflows, and result extraction patterns
2lesson-content-question
Answer lesson-specific content questions. Use when a customer asks about a lesson, code example, or concept in a course.
2vector-search
Implement vector search for knowledge retrieval. Use when adding RAG, semantic search, knowledge base features, or context building for the agent.
2ops-setup
Guide user through support platform setup. Use when user says "set up", "configure", "I'm on step X", or provides API keys/credentials.
2email-change
Transfer licenses to a new email address. Use when a customer wants to change account email, move a license, or update access after a job change.
2