@google/generative-ai の代わりになるライブラリ

npm AI・LLM

@google/generative-ai は最新版の公開から 566日たっています。同じ分類でいま一番使われているのは @modelcontextprotocol/sdk(週 8,911万 回)、4週間で一番伸びているのは ollama(+43.1%)です。

同じ分類のライブラリ 1行目が @google/generative-ai

比較ツールで開く →
パッケージ週間DL4週比スター依存最新版の公開
@google/generative-ai1年以上更新なし
Google AI JavaScript SDK
490万+8.0%1,23302025-04-29
@modelcontextprotocol/sdk
Model Context Protocol implementation for TypeScript
8,911万+24.7%1.4万972026-10-23
@anthropic-ai/sdk
The official TypeScript library for the Anthropic API
7,007万+32.8%2,16772026-11-10
openai
The official TypeScript library for the OpenAI API
5,853万+20.8%––2026-11-13
ai
AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a sing
4,556万+33.7%2.8万–2026-11-13
@google/genai
[![NPM Downloads](https://img.shields.io/npm/dw/%40google%2Fgenai)](https://www.
3,020万+12.5%1,708–2026-11-12
@langchain/core
Core LangChain.js abstractions and schemas
856万+24.0%1.8万–2026-11-13
@mistralai/mistralai
TypeScript client library for the Mistral AI API
696万-18.3%1611002026-11-01
langchain
Typescript bindings for langchain
404万+21.4%1.8万–2026-11-13
@mastra/core
Mastra is a framework for building AI-powered applications and agents with a mod
329万+40.5%2.9万–2026-11-12
ollama
Ollama Javascript library
118万+43.1%4,40912026-09-29

「代わり」は同じ分類に入っているライブラリです。機能や書き方は同じではないので、移る前にそれぞれの公式ドキュメントで確かめてください。