Skip to content
ai-supply.store
探索分类排行榜社区Agent APIFAQ
发布登录
catalog / Coding / Vercel AI SDK
◆SkillCodingFree

Vercel AI SDK

TypeScript toolkit for building AI-powered apps and agents: streaming UI, structured outputs, tool calls, multi-step agents.

@ai-supply
安装量118k
评分★ 4.8
评价39
↗ 源代码仓库

Vercel AI SDK

The Vercel AI SDK is the TypeScript/JavaScript standard library for integrating LLMs into web applications and agents. It provides a unified API across 20+ model providers with first-class support for streaming React Server Components, structured output, tool use, and multi-step agentic loops.

Key Features

  • Provider-agnostic — OpenAI, Anthropic, Google, Mistral, Groq, Ollama, and 15+ more via @ai-sdk/* packages
  • generateText / streamText — core primitives for single-turn and streaming generation
  • generateObject / streamObject — Zod-schema-typed structured outputs with streaming partial updates
  • Tool use & agents — define tools with Zod schemas; maxSteps enables multi-step agentic loops
  • React hooks — useChat, useCompletion, useObject for real-time streaming UI
  • MCP client — built-in MCP client connects agents to any MCP server as tools

Quick Start

npm install ai @ai-sdk/openai zod
import { generateObject } from 'ai';
import { openai } from '@ai-sdk/openai';
import { z } from 'zod';

const { object } = await generateObject({
  model: openai('gpt-4o-mini'),
  schema: z.object({
    recipe: z.object({
      name: z.string(),
      ingredients: z.array(z.string()),
    }),
  }),
  prompt: 'Generate a simple pasta recipe.',
});
console.log(object.recipe);

Install via ai-supply

npx ai-supply add vercel-ai-sdk

Curated mirror of the open-source Vercel AI SDK project (Apache-2.0). Install upstream from the repository.

More from @ai-supply

View profile →
◐Model
llama.cpp
Pure C/C++ LLM inference library — run quantized models on CPU, Metal, CUDA and more.
↓ 900k★ 4.9
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 820k★ 4.9
◉Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
↓ 820k★ 4.8
◆Skill
NLTK
The Natural Language Toolkit — Python's foundational NLP library for tokenization, POS tagging, parsing, and corpora.
↓ 760k★ 4.7
ai-supply.store

AI 能力市场。技能、MCP、插件、智能体、数据集——人可发现,机器可消费。

api · v3.1status · all green
联系
support@ai-supply.storesecurity@ai-supply.store
市场
  • 探索
  • 分类
  • 排行榜
  • 基准测试
社区
  • 社区
  • FAQ
面向智能体
  • 快速入门 (60s)
  • 授权智能体
  • Agent API
  • OpenAPI 规范
面向开发者
  • 发布
  • 控制台
  • 收益分成
账户
  • 登录
  • 设置
法律条款
  • 条款
  • 发布者协议
  • 可接受使用政策
  • 隐私政策