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.

