Skip to tools

The right AI library
for every JavaScript app
you build with your agent

Your agent checks JavaScriptAI before it picks an AI package, so it uses what's current, not what it remembers.

Or install the skill yourself:
npx skills add goodmeasurelabs/skills --skill javascriptai -yDownload SKILL.md

Works with every agent

  • Claude Code
  • Codex
  • Cursor
  • GitHub Copilot
  • Windsurf
  • ChatGPT
  • Gemini

37 tools listed6 categories

Same agent, same prompt

Claude Code on one task from our test, with and without JavaScriptAI. Condensed from the runs; line counts are the average of two runs each.

Without JavaScriptAI

> Build a customer-support agent that remembers each user across restarts.

  • npm install @anthropic-ai/sdk
  • writes its own memory store
  • writes its own tool-calling loop
  • writes its own human-handoff logic
  • 411 lines to maintain

With JavaScriptAI

> Build a customer-support agent that remembers each user across restarts.

  • reads javascriptai.com/llms.txt
  • “Agents with memory… Mastra (@mastra/core)”
  • npm install @mastra/core
  • uses Mastra's agent, memory and local SQLite storage
  • 243 lines to maintain

See the full test →

New to AI in JavaScript? Start with one of these.

Frameworks

11 tools

Full-featured JavaScript frameworks for building AI-powered applications with LLMs, agents, and retrieval pipelines.

About frameworks and how to choose →

Vercel AI SDK

Frameworks

The TypeScript toolkit for building AI apps. Streaming UI, tool calling, and multi-provider support.

npm i aivercel/ai

TanStack AI

Frameworks

Type-safe, provider-agnostic TypeScript AI SDK from TanStack: streaming chat, tool calling, agents, structured output and multimodal apps, with React, Vue, Svelte and Solid bindings.

npm i @tanstack/aitanstack/ai

LangGraph.js

Frameworks

Low-level orchestration for stateful agents as graphs. Durable execution, human-in-the-loop, and memory.

npm i @langchain/langgraphlangchain-ai/langgraphjs

LangChain.js

Frameworks

Framework for building LLM-powered apps. Chains, agents, retrieval, and memory out of the box.

npm i langchainlangchain-ai/langchainjs

Mastra

Frameworks

Open-source TypeScript framework for AI agents and workflows. Memory, observability, and integrations with React, Next.js, and Node.

npm i @mastra/coremastra-ai/mastra

OpenAI Agents SDK

Frameworks

Lightweight framework for multi-agent workflows: agents with tools, handoffs, guardrails, sessions, and tracing. Provider-agnostic.

npm i @openai/agentsopenai/openai-agents-js

Claude Agent SDK

Frameworks

The agent harness behind Claude Code as a library: an agent loop with file, shell, and web tools, subagents, and MCP.

npm i @anthropic-ai/claude-agent-sdkanthropics/claude-agent-sdk-typescript

Cloudflare Agents

Frameworks

Cloudflare's SDK for AI agents that run on its network, each with its own state, storage, scheduling and WebSocket connections (built on Durable Objects).

npm i agentscloudflare/agents

Chat SDK

Frameworks

Vercel's TypeScript toolkit for chat bots and AI agents on Slack, Microsoft Teams, Google Chat, Discord, WhatsApp and more, from one codebase.

npm i chatvercel/chat

LlamaIndex.TS

Frameworks
Deprecated: not for new projects

Deprecated by LlamaIndex and no longer maintained. Listed for reference; for RAG in TypeScript use another framework here with a vector database.

run-llama/LlamaIndexTS

ModelFusion

Frameworks
Archived: not for new projects

Archived TypeScript library for multimodal AI apps. Retained as a historical reference; use AI SDK for new projects.

vercel/modelfusion

LLM SDKs

6 tools

Official JavaScript and TypeScript SDKs for connecting to large language model APIs from OpenAI, Anthropic, Google, and more.

About llm sdks and how to choose →

Workflows & MCP

4 tools

Durable workflows and background jobs for long-running AI tasks, and the SDK for building MCP servers and clients.

About workflows & mcp and how to choose →

ML & Browser AI

5 tools

Run machine learning models directly in the browser or Node.js — no Python server required.

About ml & browser ai and how to choose →

Vector & Data

6 tools

JavaScript clients for vector databases — store and search embeddings for RAG, semantic search, and AI memory.

About vector & data and how to choose →

AI Dev Tools

5 tools

AI-powered developer tools that help JavaScript developers write, review, and ship code faster.

About ai dev tools and how to choose →

Use JavaScriptAI from your AI agent

The whole directory is published for agents: llms.txt as text and tools.json as data. Copy the prompt into Claude Code, Codex, Cursor or any coding agent: it installs the JavaScriptAI skill and adds a project rule, so the agent checks here every time it picks an AI library.

Or install the skill yourself:
npx skills add goodmeasurelabs/skills --skill javascriptai -yDownload SKILL.md

Stay up to date

Get a short note when new JavaScript AI tools are added.

We only collect your email address and use it only for JavaScriptAI updates.

Know a tool we're missing?

Suggest a JavaScript AI tool for the directory. Prepare your suggestion here, then email it to us for review.

Get in Touch

Have a question, partnership idea, or business inquiry? We'd love to hear from you.

[email protected]