mrkeyoor.comAsk

vercel/aitested 12 Oct 2026commit ba05943

ai review

Evaluate AI SDK when its documented message, tool-state and provider interfaces match a TypeScript application's needs.

  • Build failed
  • Tests failed
114 sto install
  • 3,890 packages
LLM Toolsevaluationupdated 30 Oct 2026
+84stars / 7d

Vercel's AI SDK is a TypeScript toolkit for model generation, agent tool loops and interfaces that display messages and tool results. Its documentation describes shared generation APIs, framework UI packages and connections through Vercel AI Gateway or direct-provider packages.

Verdict

Evaluate AI SDK when its documented message, tool-state and provider interfaces match a TypeScript application's needs. Our failed checks apply to the contributor checkout at ba05943; consumer setup and live provider behavior need separate verification. Contributors should investigate the named failures before relying on the monorepo validation commands.

We ran it

Lab card: what happened when we ran ai
Lab card from our sandbox run
Screenshot of ai (ai-sdk.dev)
ai-sdk.dev
Install✓ · 114s3890 packages · 4462 MB
Build✗ · 195s
Tests✗ · 19sran, no count parsed
Repo9335 files~1,094,038 lines of source · 88.4 MB · 13 CI workflows

Answers from our run

Does ai build from source?

Dependencies installed in 114 seconds (3890 packages), and the build failed. We cloned commit ba05943 into a clean Debian container with 3 CPUs and no project-specific setup.

Do ai's tests pass?

No. The project's own test command exited unsuccessfully after 19 seconds, and its output did not expose an individual test count.

Who should not use ai?

Teams expecting a verified clean contributor checkout: our monorepo build and test commands both failed.

What are the alternatives to ai?

OpenAI TypeScript and JavaScript library, Mastra. Evaluate AI SDK when its documented message, tool-state and provider interfaces match a TypeScript application's needs.

Setup2/5Our source checkout installed but the build failed.Editor’s note: The contributor workspace installed, but its build and tests failed. A consumer application setup was not reproduced.
Docs4/5Under the visible five-point rubric, installation instructions, concrete generation and UI examples, and explicit provider-route limits support 4. The relevant routes were not independently executed.
Community4/5Last push on 2026-10-30, 27,953 stars and 1,520 open issues and pull requests is a heavy backlog for its size.Editor’s note: The supplied repository activity does not measure support response times, resolution quality or maintainer capacity.
Maturity4/5Latest release @ai-sdk/vue@3.0.319 on 2026-10-29, repository created 2023-05-23 and its test suite did not pass in our sandbox.Editor’s note: The monorepo build and tests failed without diagnostic causes in the supplied tails. Published-package reliability was not assessed.

How we score

Discussed on

  1. hnA full-featured, open-source AI chatbot built by Vercel3 points

Who it’s for

TypeScript teams building chat interfaces that display streamed messages and tool progress.
Developers evaluating shared generation APIs who will check their required capabilities on each provider route.
SDK contributors prepared to investigate the repository-wide failures recorded in our sandbox.

Who it’s NOT for

Teams expecting a verified clean contributor checkout: our monorepo build and test commands both failed.
Applications requiring every direct OpenAI API through Gateway: the provider documentation explicitly says Gateway does not expose every API in @ai-sdk/openai.
Teams unable to meet the README's documented local development prerequisite of Node.js 22 or newer.
Developers whose requirement is direct OpenAI REST API access and who have little use for shared UI conventions; the official OpenAI client is another candidate.

Setup reality

Our October 12, 2026 sandbox run at commit ba05943 installed the pnpm workspace in 114 seconds, recording 3,890 dependencies and 4,462 MB on disk. The build failed with exit 137 after 195 seconds. Tests failed with exit 1 after 19 seconds. These figures describe the contributor checkout, not a consumer application's installation.

The current README requires Node.js 22 or newer on the local development machine. This statement does not establish a deployment runtime minimum. It documents the core ai package, direct-provider packages and framework UI packages. Model strings use Vercel AI Gateway by default. The OpenAI provider documentation describes AI_GATEWAY_API_KEY for Gateway access and OPENAI_API_KEY for direct access.

The recorded configuration was 3 CPUs, 8 GB RAM and image label lab-node:22. That label does not establish the actual runtime version. The build summary names two example builds; the test summary names openai-compatible. Neither log tail supplies the underlying cause. This run does not establish a broken published package or verify a live model request.

Vercel AI SDK's failed contributor checks answer a different question from whether its published packages fit your application. Our sandbox measured the monorepo at commit ba05943. It did not measure a consumer installation or exercise a live model request.

For TypeScript teams building chat interfaces, the documented message and tool states are a reason to evaluate the SDK. Contributors also need to account for the unsuccessful repository-wide checks described below.

Where the UI APIs fit

The AI SDK README documents text generation, structured output, agent tool loops and framework packages for chat interfaces. Its React example uses useChat and renders message parts according to their type. The image-generation component displays a pending state separately from a completed result.

Those examples give application teams a concrete evaluation question: do these message and tool states cover what users need to see? A server making an occasional model request may have less use for the UI packages. These are judgments about fit based on the documented interfaces, not results from an application workload we tested.

Gateway and direct access have different limits

The current README routes model strings through Vercel AI Gateway by default and also documents direct-provider packages. The OpenAI provider documentation describes AI_GATEWAY_API_KEY for Gateway access and OPENAI_API_KEY for direct access. Choose which service receives requests before adopting a model-string example.

AI Gateway does not expose every API in @ai-sdk/openai. The documentation recommends the direct provider for provider-specific APIs or custom connection settings. Shared generation calls therefore do not establish feature parity across routes. Check the particular capability your application needs.

The README's shell-agent example obtains a sandbox and executes the requested command there. The application supplies that execution implementation. Before allowing a tool to change customer data, define its permissions and authorization behavior. Our sandbox run provides no evidence about the safety of such a deployment.

What happened when we ran it

Our AI SDK checkout recorded 4,462 MB of dependencies, and its build and test commands both failed. We cloned commit ba05943 and ran it on October 12, 2026. Installation succeeded in 114 seconds and recorded 3,890 dependencies. The checkout itself was 88.4 MB, with 9,335 files and approximately 1,094,038 source lines. These are contributor-workspace observations, not measurements of an application consuming ai.

The build failed with exit 137 after 195 seconds. The tail reports 69 successful tasks out of 85 and names @example/next-google-vertex#build and @example/next-openai-pages#build as failures. Several other examples also reported lifecycle errors. The supplied lines do not explain the exit, so they do not support a diagnosis involving memory, credentials or a runtime defect.

Tests failed with exit 1 after 19 seconds. The final summary names @ai-sdk/openai-compatible#test, while lifecycle errors also appear for other packages. The tail supplies no underlying assertion or exception. Cached-task counts are not passing-test counts; the evidence gives no passing-test total.

The recorded configuration was 3 CPUs, 8 GB RAM and image label lab-node:22. The label does not establish the actual Node.js version. The scan found 13 CI workflow files, monorepo workspaces, no Dockerfile and no tests directory. The missing conventional directory does not mean the repository had no tests: the test command ran and failed. These results establish unsuccessful repository-wide checks in this sandbox, without establishing that the published package is broken.

Evaluate the application separately

The current README requires Node.js 22 or newer on the local development machine. It does not establish a deployment runtime minimum. The supplied current documentation is separate from the October 12 checkout measurement and does not verify the behavior of published packages at that commit.

Choose the provider connection and framework integration, then evaluate that combination in your application. A useful trial would send a representative request, render its streamed response and display the tool state your product needs. Check how an interrupted request appears to the user. If provider switching matters, repeat the workload through the other intended provider. These are proposed acceptance checks, not tests performed for this review.

Documentation and unassessed dimensions

For documentation, this review uses a five-point rubric: 1 means scant instructions; 2 means partial instructions with no clear setup route; 3 means a usable route with material gaps; 4 means concrete setup and usage examples with explicit limits, without independent verification of the relevant routes; 5 requires that independent verification.

AI SDK receives 4 under that rubric. The supplied README and provider documentation contain installation instructions, generation and UI examples, and explicit Gateway limits. Their presence supports the documentation assessment; it does not establish that every example is complete or works in an application. No code example was executed for this correction.

Consumer setup ease, community support capacity and production maturity remain unassessed. The contributor install succeeded, but later checks failed. The supplied activity records do not measure support response times, and the failed checks do not establish published-package reliability.

Compare the requirement before choosing a library

The OpenAI TypeScript and JavaScript library provides access to the OpenAI REST API from TypeScript or JavaScript. Evaluate it when direct OpenAI access is the requirement and shared UI conventions add little to your application. This review does not establish a footprint or performance advantage for either library.

Mastra documents graph-based workflows and stored execution state for pausing and resuming. Its README describes waiting for user input or approval and integrating with AI SDK UI. Evaluate it when explicit workflow control and human input are central requirements. The documented integration also means the two projects need not be exclusive choices.

Start an AI SDK application trial with the message and tool states your users need, then verify the chosen provider route. For contributor work, investigate the named build and test failures before relying on the repository-wide checks.

Alternatives

ProjectWhat it isPick it when
OpenAI TypeScript and JavaScript libraryA library providing access to the OpenAI REST API from TypeScript or JavaScript.Evaluate it when direct OpenAI API access is your requirement and shared UI conventions add little to your application. No comparative footprint or performance measurement is supplied.
Mastra gh↗A TypeScript framework documenting graph-based workflows and stored execution state for pausing and resuming.Evaluate it when explicit workflow control and waiting for user input are central requirements. Its README also documents integration with AI SDK UI.

What people are saying

  1. [velocity-scout] sleepy-zone/ai-ref-library-cn
  2. [github-trending] JCodesMore/ai-website-cloner-template
  3. [theverge] Reddit’s CEO says Google’s AI Mode ‘does not drive traffic’
  4. [techcrunch-ai] Rivian expands joint venture with VW to include AI assistant
  5. [techcrunch-ai] You don’t need to believe in a god to get a religious exemption from using AI at work
  6. [hackernews] We ran AI agent swarms in Minecraft and Mindustry

Sources

  1. AI SDK README
  2. AI SDK OpenAI provider documentation
  3. OpenAI TypeScript and JavaScript library README
  4. Mastra README
  5. AI SDK repository metadata
  6. AI SDK recent issues and PRs

More llm tools reviews