// devtools · vercel/ai

ai

ai — проект с открытым исходным кодом из категории «Инструменты разработчика» от vercel (vercel/ai на GitHub). У него 27 180 звёзд на GitHub и 5 288 форков, он распространяется по лицензии NOASSERTION и последний раз обновлялся на GitHub 8 октября 2026.

Vercel's AI SDK: the TypeScript toolkit for building AI apps and agents with any model provider

★ 27,2 тыс. звёзд⑂ 5,3 тыс. форковNOASSERTIONобновлено окт. 2026
▦ визуал — в README этого проекта нет встраиваемого скриншота,
поэтому здесь заглушка. Руководство ниже в любом случае полное.
// факты о проекте

Факты о проекте

Репозиторий
vercel/ai
Звёзды GitHub
27 180
Форки
5 288
Лицензия
NOASSERTION
Последнее обновление на GitHub
8 октября 2026
Тип страницы
Полное руководство по установке
Официальный сайт
Official site
// как это работает

Как это работает

  1. Clarify your goal

    Decide what you want to achieve with ai and check the README on GitHub for requirements before installing.

  2. Get the code

    Clone the repository from GitHub (or take the packaged install route in step 3 if the README offers one).

  3. Install and configure

    Follow the project's documented install commands — the Run section below lists the exact ones — and add any required API keys or models.

  4. Run your first task

    Work through the README's quickstart example end to end, then adapt it to your own project or data.

// возможности

Почему его любят

Unified provider API

Switch models and providers without rewriting your generation code.

Text and structured generation

Generate text and type-safe structured objects from the same toolkit.

Agent building blocks

Tool calling and agent patterns are first-class parts of the SDK.

UI integrations

Streaming chat and generative-UI hooks/packages for React, and support for Svelte, Vue and Angular.

Templates to start from

Official templates help scaffold common AI app shapes quickly.

Coding-agent skill

The project even ships a skill (npx skills add vercel/ai) that teaches coding agents the SDK.

Advertisement
// запустите сами

Запустите сами

  1. Clone the repository

    Get the AI SDK monorepo source and examples.

    git clone https://github.com/vercel/ai.git
    cd ai
  2. Install the SDK in your app

    Add the core package and the provider package for your model.

    npm install ai
    npm install @ai-sdk/openai
  3. Generate your first text

    Use generateText (or streamText) with your provider key as shown in the README usage section.

    # import { generateText } from 'ai';
    # import { openai } from '@ai-sdk/openai';  // see README Usage for the full snippet
// сценарии использования

Что можно создать

Advertisement
// вопросы и ответы

Вопросы и ответы

Who maintains ai?

ai is maintained by the vercel organization/account on GitHub, together with open-source contributors, in the public repository vercel/ai.

Is ai free to use?

Yes — the code is open source under the NOASSERTION license. Check the repository's LICENSE file for the exact terms before commercial use.

Does ai need a paid API key?

The SDK is free; model calls use your own provider API keys (OpenAI, Anthropic, Google and others), billed by that provider.

How does ai compare to LangChain.js?

LangChain.js is a broad framework with chains and retrievers; the AI SDK is a leaner, provider-unified toolkit especially strong on streaming UI in the Vercel/React ecosystem.

How do I get started with ai?

Clone the repository from GitHub, follow the install commands in the Run section (taken from the project's README), and complete the documented quickstart example before adapting it to your own use case.

// продолжить изучение

Похожие инструменты

Инструменты разработчика

java-sdk

The official Java SDK for building Model Context Protocol servers and clients.

★ 3,7 тыс. звёздMIT
Смотреть руководство →
Инструменты разработчика

skybridge

Skybridge: the full-stack TypeScript framework for building type-safe MCP Apps and ChatGPT Apps with React.

★ 2,1 тыс. звёздMIT
Смотреть руководство →
Инструменты разработчика

superduper

An end-to-end framework for building custom AI applications and agents on top of your database.

★ 5,3 тыс. звёздApache-2.0
Смотреть руководство →
Инструменты разработчика

csharp-sdk

The official C# SDK for the Model Context Protocol — build MCP servers and clients in .NET

★ 4,6 тыс. звёздApache-2.0
Смотреть руководство →
Инструменты разработчика

rust-sdk

rmcp: the official Rust SDK for the Model Context Protocol — tokio-based servers and clients

★ 4,0 тыс. звёздNOASSERTION
Смотреть руководство →
Инструменты разработчика

CopilotKit

The frontend stack for AI agents and generative UI in React, Angular, mobile and chat apps

★ 37,8 тыс. звёздMIT
Смотреть руководство →
// альтернативы

Альтернативы: Инструменты разработчика

Другие проекты из категории «Инструменты разработчика» с наибольшим числом звёзд в каталоге LibreAI — реалистичный список альтернатив, если ai вам не подходит.

// ещё в категории devtools

Больше проектов: Инструменты разработчика

Соседние проекты из категории «Инструменты разработчика» в каталоге, ближайшие по числу звёзд к ai — продолжайте изучать полку по обе стороны от него.

Получить ai

Бесплатно и открыто — забирайте исходный код, ставьте звезду репозиторию и начинайте создавать.