qmetrics.net

AI SDK

TypeScript toolkit for AI applications and agents

AI SDK screenshot

The AI SDK is a provider-agnostic TypeScript library for building AI-powered applications and agents with popular UI frameworks and Node.js runtimes.

Overview

The AI SDK is a free open-source library from the Vercel and Next.js team for building AI-powered applications and agents in TypeScript. It targets popular UI frameworks such as Next.js, React, Svelte, Vue, and Angular, and runtimes like Node.js.

It provides a unified API to interact with model providers including OpenAI, Anthropic, Google, and others. By default it can use the Vercel AI Gateway, or you can connect to providers directly with their SDK packages using a model string.

Core capabilities include generating text, generating structured data, building agents, and UI integration. The AI SDK UI module offers framework-agnostic hooks for chatbots and generative user interfaces, with separate packages per framework.

Templates are available for different use cases, providers, and frameworks. Documentation covers API reference, agents, and UI integration patterns.

Key features

  • Unified provider API
  • Vercel AI Gateway support
  • Text and structured output
  • Agent building
  • UI hooks for chat and generative UI
  • Framework packages for Next.js, React, Svelte, Vue
  • Starter templates
  • Direct provider SDK packages

Use cases

  • AI chatbots in web apps
  • Generative user interfaces
  • Multi-provider LLM apps
  • Agent workflows
  • Structured data from models

Tags

Similar software

PageIndex

Reasoning-based document retrieval without vector indexes

PageIndex builds a hierarchical tree index from PDFs and answers questions by having a language model reason over that structure instead of embedding chunks in a vector database.

  • Tree index built from PDF layout
  • LLM reasoning over the index for retrieval
  • Local SDK with pluggable chat models
PythonDetails →
★ 40.9k⟳ yesterdayMIT

Composio

SDK and CLI for connecting AI agents to many apps

Composio equips AI agents with large sets of pre-authenticated toolkits, per-user sessions, authentication, triggers, and a sandbox. SDKs ship for TypeScript and Python with adapters for common agent frameworks.

  • Pre-authenticated app toolkits
  • Per-user agent sessions
  • Runtime tool discovery and execution
TypeScriptCLIDetails →
★ 31.4k⟳ todayMIT

PageAgent

In-page JavaScript GUI agent for web applications

Embeddable script adds a natural-language agent to any webpage for DOM-based actions without screenshots or a Python backend.

  • Single-script or npm integration
  • DOM-based page manipulation
  • Bring-your-own LLM configuration
TypeScriptWeb, Browser extensionDetails →
★ 29.8k⟳ 16 days agoMIT
Open Source Alternative to:Claude in Chrome

Stagehand

SDK for AI-driven browser automation

Stagehand gives agents Playwright-style browser control with natural-language act, observe, and extract helpers. It ships for TypeScript, Python, and Go with local Chrome or hosted cloud browsers.

  • Playwright-style page methods
  • Natural-language act and extract
  • Self-healing action adaptation
TypeScriptCLIDetails →
★ 26.2k⟳ todayMIT

turbovec

In-process TurboQuant vector index for Python and Rust

An in-process vector index for Python and Rust that compresses embeddings to 2 or 4 bits per dimension and searches the compressed form with SIMD kernels.

  • 2-bit and 4-bit TurboQuant compression
  • SIMD search on compressed vectors
  • Incremental add and remove without rebuild
RustDetails →
★ 17.5k⟳ 1 month agoMIT

Memvid

Single-file portable memory layer for AI agents

Packages embeddings, search structure, and metadata into one portable file so agents get fast retrieval and persistent memory without a separate vector database

  • Single .mv2 memory capsule file
  • Append-only Smart Frame storage
  • Hybrid BM25 and vector search
RustCLIDetails →
★ 17.4k⟳ 4 months agoApache-2.0