npm · npm:ai
ai active
AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a single interface for any model using the Vercel AI Gateway or go direct to OpenAI, Anthropic, Google, or any other model provider.
The latest stable version of ai is 7.0.170, published on 2026-11-11. Verified by Vigia on 2026-11-11.
| Latest stable version | 7.0.170 |
|---|---|
| Published | 2026-11-11 18:38:03 UTC |
| Install | npm install ai@latest |
| Requires (engines) | {"node":">=22"} |
| Peer dependencies | zod ^3.25.76 || ^4.1.8 |
| Dist-tags | beta: 7.0.0-beta.187 ai-v5: 5.0.289 ai-v6: 6.0.330 alpha: 5.0.0-alpha.15 canary: 7.0.0-canary.176 latest: 7.0.170 snapshot: 0.0.0-f1630544-20260811180950 |
| License | Apache-2.0 |
| Advisories on latest version | none known |
| Last verified | 2026-11-11 20:24:22 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Is your project affected?
Check my whole package.jsonGet notified of new versions (Atom)Facts for my AGENTS.md
Free, no signup. Paste your manifest and see what is outdated, deprecated or vulnerable.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-11-11 18:38:03 UTC · 1 days ago |
| Stable releases in the last 12 months | 674 |
| Published versions | 1657 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
7.0.170 | 2026-11-11 18:38:03 UTC |
6.0.330 | 2026-11-11 06:19:12 UTC |
5.0.289 | 2026-11-11 06:15:28 UTC |
7.0.169 | 2026-11-10 20:18:05 UTC |
6.0.329 | 2026-11-10 20:13:51 UTC |
7.0.168 | 2026-11-10 17:49:32 UTC |
6.0.328 | 2026-11-10 17:46:40 UTC |
5.0.288 | 2026-11-10 17:42:37 UTC |
5.0.287 | 2026-11-09 19:47:30 UTC |
6.0.326 | 2026-11-09 03:02:24 UTC |
7.0.166 | 2026-11-09 02:55:51 UTC |
7.0.165 | 2026-11-07 19:27:05 UTC |
6.0.325 | 2026-11-07 19:25:48 UTC |
5.0.286 | 2026-11-07 19:22:25 UTC |
6.0.324 | 2026-11-06 22:24:49 UTC |
7.0.164 | 2026-11-06 19:44:06 UTC |
7.0.163 | 2026-11-05 01:12:02 UTC |
6.0.323 | 2026-11-05 01:10:40 UTC |
6.0.322 | 2026-11-03 01:20:11 UTC |
7.0.162 | 2026-11-03 01:19:34 UTC |
Showing the 20 most recent of 1184 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 3.0.21 |
node 18 | 6.0.330 |
node 20 | 6.0.330 |
node 22 | 7.0.170 |
node 24 | 7.0.170 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of ai?
The latest stable version of ai is 7.0.170, published on 2026-11-11. Verified by Vigia on 2026-11-11.
How do I install the latest version of ai?
Run npm install ai@latest. The latest stable version is 7.0.170 (verified 2026-11-11).
Is ai deprecated?
No. ai is not marked as deprecated in the registry.
Which Node.js version does ai require?
ai 7.0.170 declares this requirement: {"node":">=22"}.
Does ai 7.0.170 have known vulnerabilities?
No known advisories affect ai 7.0.170 according to the data Vigia checks.
Is ai still maintained?
ai published 674 stable releases in the last 12 months; the most recent was 1 days ago. Activity: active.
Observed changes
- Wed Nov 11 2026 20:24:22 GM +0000 (Coordinated Universal Time) — released 7.0.169 → 7.0.170
- Wed Nov 11 2026 04:24:09 GM +0000 (Coordinated Universal Time) — released 7.0.169 → 7.0.169
- ue Nov 10 2026 20:23:58 GMT+0000 (Coordinated Universal Time) — released 7.0.168 → 7.0.169
- ue Nov 10 2026 18:23:54 GMT+0000 (Coordinated Universal Time) — released 7.0.166 → 7.0.168
- Mon Nov 09 2026 04:23:04 GM +0000 (Coordinated Universal Time) — released 7.0.165 → 7.0.166
- Sat Nov 07 2026 20:22:29 GM +0000 (Coordinated Universal Time) — released 7.0.164 → 7.0.165
- Sat Nov 07 2026 04:22:19 GM +0000 (Coordinated Universal Time) — released 7.0.164 → 7.0.164
- Fri Nov 06 2026 20:22:10 GM +0000 (Coordinated Universal Time) — released 7.0.163 → 7.0.164
- hu Nov 05 2026 04:21:42 GMT+0000 (Coordinated Universal Time) — released 7.0.163 → 7.0.163
- hu Nov 05 2026 02:21:41 GMT+0000 (Coordinated Universal Time) — released 7.0.162 → 7.0.163
- ue Nov 03 2026 02:20:55 GMT+0000 (Coordinated Universal Time) — released 7.0.161 → 7.0.162
- Mon Nov 02 2026 22:20:52 GM +0000 (Coordinated Universal Time) — released 7.0.160 → 7.0.161
- Mon Nov 02 2026 20:20:51 GM +0000 (Coordinated Universal Time) — released 7.0.159 → 7.0.160
- Sat Oct 31 2026 16:20:05 GM +0000 (Coordinated Universal Time) — released 7.0.159 → 7.0.159
- Fri Oct 30 2026 22:19:52 GM +0000 (Coordinated Universal Time) — released 7.0.158 → 7.0.159
- Fri Oct 30 2026 16:19:47 GM +0000 (Coordinated Universal Time) — released 7.0.157 → 7.0.158
- hu Oct 29 2026 18:19:29 GMT+0000 (Coordinated Universal Time) — released 7.0.156 → 7.0.157
- Wed Oct 28 2026 20:19:09 GM +0000 (Coordinated Universal Time) — released 7.0.155 → 7.0.156
- ue Oct 27 2026 20:18:52 GMT+0000 (Coordinated Universal Time) — released 7.0.154 → 7.0.155
- Mon Oct 26 2026 20:18:28 GM +0000 (Coordinated Universal Time) — released 7.0.153 → 7.0.154
- Sat Oct 24 2026 19:03:29 GM +0000 (Coordinated Universal Time) — released 7.0.152 → 7.0.153
- Fri Oct 23 2026 21:03:12 GM +0000 (Coordinated Universal Time) — released 7.0.151 → 7.0.152
- Fri Oct 23 2026 19:03:10 GM +0000 (Coordinated Universal Time) — released 7.0.150 → 7.0.151
- hu Oct 22 2026 23:02:48 GMT+0000 (Coordinated Universal Time) — released 7.0.149 → 7.0.150
- hu Oct 22 2026 19:02:45 GMT+0000 (Coordinated Universal Time) — released 7.0.148 → 7.0.149
- Wed Oct 21 2026 03:57:07 GM +0000 (Coordinated Universal Time) — released 7.0.147 → 7.0.148
- ue Oct 20 2026 19:57:02 GMT+0000 (Coordinated Universal Time) — released 7.0.146 → 7.0.147
- ue Oct 20 2026 05:54:04 GMT+0000 (Coordinated Universal Time) — released 7.0.145 → 7.0.146
- Mon Oct 19 2026 21:53:58 GM +0000 (Coordinated Universal Time) — released 7.0.145 → 7.0.145
- Mon Oct 19 2026 19:53:56 GM +0000 (Coordinated Universal Time) — released 7.0.143 → 7.0.145
Related packages
- zod
- react-dropzone
- codepage
- papaparse
- graphql-ws
- cache-base
- parse-asn1
- prosemirror-tables
- metro-cache
- v8-compile-cache
- @azure/core-rest-pipeline
- xlsx
- d3-fetch
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/ai) [](https://vigia.coredls.cloud/npm/ai) [](https://vigia.coredls.cloud/npm/ai)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/ai
GET https://vigia.coredls.cloud/v1/packages/npm/ai/versions/{version}