ai-sdk-core

仓库创建 2025年11月8日最近提交 29 天前SkillHot 收录 22 天前
▸ 精选理由

集中处理后端 AI 调用与 agents 场景,便于多提供商切换与稳定部署。

▸ 风险提示

需要配置外部 API 密钥与正确的秘钥管理。

这个 Skill 做什么

面向服务端的 Vercel AI SDK v5,支持文本生成、结构化输出与工具调用。

面向后端的 Vercel AI SDK v5 工具集,支持文本生成、结构化输出、工具调用和 agent 流程,能对接多家模型提供器。适合在服务器端整合 AI 能力、做流式响应或处理常见 API/流式错误时使用。包含生产级迁移建议与常见错误排查(比如 AI_APICallError、流式失败)的实用指导。

▸ 展开 SKILL.md 英文原文

Vercel AI SDK v5 for backend AI (text generation, structured output, tools, agents). Multi-provider. Use for server-side AI or encountering AI_APICallError, AI_NoObjectGeneratedError, streaming failures.

开发编程后端 AI多提供商工具调用通用
180
Stars
28
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/secondsky/claude-skills/main/plugins/ai-sdk-core/skills/ai-sdk-core/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/secondsky/claude-skills/main/plugins/ai-sdk-core/skills/ai-sdk-core/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# AI SDK Core

Production-ready backend AI with Vercel AI SDK v5.

**Last Updated**: 2025-11-21

## Table of Contents
1. [Quick Start](#quick-start-5-minutes)
2. [Core Functions](#core-functions)
3. [Provider Setup & Configuration](#provider-setup--configuration)
4. [Tool Calling & Agents](#tool-calling--agents)
5. [Critical v4→v5 Migration](#critical-v4v5-migration)
6. [Top 12 Errors & Solutions](#top-12-errors--solutions)
7. [Production Best Practices](#production-best-practices)
8. [When to Load References](#when-to-load-references)
9. [When to Use This Skill](#when-to-use-this-skill)
10. [Dependencies & Versions](#dependencies--versions)
11. [Links to Official Documentation](#links-to-of
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有