ai-integration
Installation
SKILL.md
AI Integration Skills
This skill covers best practices for integrating artificial intelligence and large language models into applications using the Vercel AI SDK v6, including agent patterns, tool management, and advanced LLM integration patterns.
Agents with AI SDK v6
Purpose
Build production-ready AI agents that can autonomously use tools, make decisions, and handle multi-step tasks using the ToolLoopAgent abstraction in AI SDK v6.
ToolLoopAgent Basics
The ToolLoopAgent class provides a complete agent implementation that handles the tool execution loop automatically:
import { ToolLoopAgent } from "ai";
import { anthropic } from "@ai-sdk/anthropic";