A curated list of Agentic AI frameworks, libraries, standards, and resources specifically for JavaScript / TypeScript developers.
Agentic AI refers to AI systems that can independently perceive their environment, reason about how to achieve goals, and take actions (use tools) to accomplish those goals.
- Standards & Protocols
- Model SDKs
- Frameworks & SDKs
- Cloud & Commercial AI Agents
- Multi-Agent Orchestration
- Distributed & Parallel Architectures
- Type-Safe Prompting & Declarative DSLs
- Browser & Computer-Use Agents
- Voice & Realtime Agents
- Visual & Low-Code Agent Builders
- Agentic Design Patterns
- JS Python Alternatives (CrewAI/AutoGen/DSPy)
- Agent Implementations
- AI Databases & Memory
- Knowledge Graphs for Agents
- Evaluation, Observability & Sandboxing
- Resources
- Courses & Tutorials
- Regulation, Governance & Standards for Agentic AI
- Security & Safety for Agentic AI
- Model Context Protocol (MCP) - An open standard that standardizes how applications provide context (tools, resources, prompts) to LLMs.
- TypeScript SDK - The official TypeScript SDK for building MCP servers and clients.
- Agent2Agent (A2A) Protocol - An open standard for communication and collaboration between AI agents.
- JS/TS SDK - Official SDK for building A2A-compliant agents.
- OpenAI Node.js - Official Node.js/TypeScript library for the OpenAI API.
- Anthropic TypeScript - Official TypeScript library for the Anthropic API.
- Google Generative AI - Official Google Generative AI SDK for Node.js and web.
- Mistral Client - Official TypeScript client for Mistral AI.
- Hugging Face.js - Libraries to interact with Hugging Face API.
- Cohere - Official TypeScript SDK for Cohere.
- Groq SDK - Official Groq TypeScript/Node.js library.
- Together AI - Official TypeScript library for Together AI.
- Ollama JS - Official Ollama JavaScript library.
- LangChain.js - The JavaScript version of the popular framework for developing applications powered by language models. Includes robust support for agents and tools.
- Vercel AI SDK - A TypeScript toolkit for building AI-powered applications with React, Next.js, Vue, Svelte, and Node.js. Features strict type safety and streaming support.
- OpenAI Agents SDK for JS/TS - Official production-ready agent framework from OpenAI (successor to Swarm). Tools with Zod validation, MCP, Sessions, Realtime Agents, and Sandbox Agents.
- System One API - Hosted decision layer for AI agents (Choice / Score / Noul) with a TypeScript SDK (
@system-one-ai/core). - Mastra - A batteries-included TypeScript framework for building AI applications. Includes workflows, agents, RAG, and observability.
- LlamaIndex.ts - A data framework for your LLM applications to ingest, structure, and access private or domain-specific data.
- Firebase Genkit - An open-source framework for building AI-powered apps, designed by Google.
- VoltAgent - An open-source TypeScript framework for building AI agents with built-in observability and memory.
- Inngest AgentKit - TypeScript multi-agent networks with deterministic state-based routing, MCP tools, and durable execution.
- Cloudflare Agents SDK - TS agents running on Durable Objects with per-agent SQLite, WebSockets, scheduling, and HITL support.
- Convex Agent - TS component for stateful agents on Convex with threads, messages, Vercel AI SDK integration, and WebSocket streaming.
- ElizaOS - TypeScript "agentic OS" with a large plugin ecosystem (Discord, Twitter, Solana, EVM).
- Google ADK for TypeScript - TypeScript port of Google's Agent Development Kit for code-first multi-agent systems.
- Cognipeer Agent SDK - Lightweight, message-first TypeScript agent runtime with planning, history summarization, sub-agents, tool approvals, MCP support and OpenTelemetry trace export.
- Google Vertex AI Node.js SDK - Official SDK supporting Gemini function calling and agentic features.
- Note: Google's Agent Builder also supports the A2A protocol.
- AWS Bedrock Agents - Build and configure agents using Amazon Bedrock.
- AWS SDK for JS v3 - Clients for managing and invoking Bedrock Agents (
@aws-sdk/client-bedrock-agent).
- AWS SDK for JS v3 - Clients for managing and invoking Bedrock Agents (
- Microsoft Semantic Kernel - SDK for integrating LLMs with existing code.
- Status: Microsoft's official SK does not yet ship a TypeScript build; the community-maintained port
@semantic-kernel-typescript/coreprovides a JS/TS implementation of the SK concepts.
- Status: Microsoft's official SK does not yet ship a TypeScript build; the community-maintained port
- LangGraph.js - A library for building stateful, multi-actor applications with LLMs, built on top of LangChain. Ideal for creating complex agent workflows and cyclic graphs.
- KaibanJS - A JavaScript-native framework for building and managing multi-agent systems with a Kanban-inspired approach.
- Praison AI - A low-code, centralized framework for building and managing multi-agent systems in TypeScript/JavaScript.
- Inngest AgentKit - Multi-agent network primitive built on durable Inngest workflows.
- Cloudflare Agents - Stateful agents on the edge with Durable Object isolation per agent.
Tools and patterns for running agents in parallel, distributed, or high-concurrency environments.
- Workflow & Orchestration
- Mastra - Supports complex, parallel workflow execution with a focus on production-grade observability and control.
- VoltAgent - Features a "Workflow Chain API" designed for composing branching and parallel multi-agent workflows.
- LangGraph.js - Inherently supports parallel node execution (Fan-out/Fan-in) within its graph architecture.
- Actor Model
- Concept: Treating agents as independent "actors" that communicate via asynchronous messages. Ideal for isolated, distributed, and fault-tolerant agent systems.
- XState - Robust state machine library with first-class Actor model support. Excellent for deterministic agent behavior.
- Kaiban Distributed - Distributed actor-model runtime for multi-agent systems with Redis/Kafka messaging, Kanban-style visibility, and KaibanJS integration.
Libraries that bring TypeScript's type system to LLM I/O, structured outputs, and declarative agent composition.
- ax-llm - DSPy-inspired declarative framework for TypeScript with signatures and optimisers.
- BAML - Schema-first prompting DSL with first-class TS codegen (Zod-typed clients, VS Code playground).
- GenSX
⚠️ (archived Oct 2025) - TypeScript framework with React-like component composition for agents/workflows, built-in tracing, durable storage, and long-running deploys. - Effect AI - The
@effect/aimodules bring Effect-TS's typed-error and resource model to LLM calls. - NextJSON - Free online nested JSON parser and formatter for inspecting structured LLM and tool-call JSON output.
- JSON-TOON Gateway - Free gateway for a compact, human-readable on-the-fly encoding of the JSON data model built for LLM prompts.
Browser automation and computer-use primitives for agents in JS/TS.
- Stagehand - Browserbase's TS-first SDK for AI browser agents with
act/extract/observe/agentprimitives over Playwright. - Steel Browser - Open-source, self-hostable browser API and sandbox for AI agents; Puppeteer/Playwright/Selenium-compatible with a Node SDK.
- LiveKit Agents JS - Node.js port of LiveKit's realtime voice agent framework (STT/LLM/TTS/VAD, semantic turn detection).
- ElevenLabs Agents SDK - Official TS monorepo (
@elevenlabs/client, React SDK) for Conversational AI with WebRTC streaming and client-side tools. - ElevenLabs JS - Official Node library covering TTS and agents.
- Vapi Server SDK (TS) - Official TypeScript server SDK for the Vapi voice-agent platform.
- Pipecat Client Web - JS/TS client for Pipecat realtime voice/multimodal agents (Pipecat server is Python-only).
- Flowise
⚠️ (archived) - Node.js-based visual builder with the AgentFlow SDK and LangChain v1 integration. - Dify - Open-source LLM app and agent platform with visual workflows, knowledge bases, tools, and API-first deployment options.
- n8n - TypeScript workflow platform with first-class AI / LangChain nodes.
- Activepieces - TypeScript open-source Zapier alternative with AI agent pieces.
- Langflow - Python visual builder; usable from JS via API and MCP integration.
Understanding these patterns is crucial for building effective agents in JS/TS.
- ReAct (Reason + Act)
- Concept: The agent thinks, decides on an action (tool use), observes the result, and repeats.
- JS Implementation: LangChain ReAct Agent
- Plan-and-Execute
- Concept: The agent first formulates a step-by-step plan and then executes it. Better for complex tasks than ReAct.
- JS Implementation: LangChain Plan-and-Execute
- Reflection
- Concept: The agent critiques its own output and refines it.
- JS Implementation: Can be implemented using LangGraph.js cycles.
- Structured Outputs / Tool Use
- Concept: Forcing the LLM to output strictly structured JSON, essential for reliable tool calling.
- JS Support: Native in Vercel AI SDK (
generateObject) and LangChain (withStructuredOutput).
If you are coming from Python, here are the best JS/TS equivalents:
| Python Framework | JS/TS Alternative | Notes |
|---|---|---|
| CrewAI | KaibanJS | Closest in spirit for role-based multi-agent teams. |
| AutoGen | PraisonAI | Low-code orchestration, supports AutoGen concepts. |
| AutoGen | LangGraph.js | For building custom, stateful multi-agent workflows (lower level than AutoGen). |
| OpenAI Swarm | OpenAI Agents SDK for JS | The official production-grade successor in TypeScript. |
| DSPy | ax-llm | Declarative DSPy-like framework for TypeScript. |
| BAML (Py) | BAML | Same project — first-class TS codegen. |
| LangGraph (Py) | LangGraph.js | One-to-one TS port. |
- create-agent-chat-app (LangGraph.js)
⚠️ (archived) - Vercel AI SDK Starters
- Tiny Local LLM Agent (Maxheadbox)
- Simple Agentic System (No Framework / Tutorial)
- Open Agent Platform (OAP)
⚠️ (archived) - Open Canvas
⚠️ (archived) - LLManager (Reflection & Approval Workflow)
⚠️ (archived) - Gen-UI Computer Use
- Tuplet (formerly Hive Agent)
- Claude-007-Agents
Tools for giving your agents long-term memory and context.
- Vector Databases (JS-First)
- Pinecone - Excellent TypeScript client.
- Supabase pgvector - Great integration with existing Postgres data.
- Chroma - Open-source vector database with a JS client.
- Weaviate - TypeScript client for Weaviate.
- LanceDB - Embedded multimodal vector DB with a first-class TS SDK ("SQLite for vectors").
- Qdrant JS - Official TS SDK (cloud + self-host).
- Turbopuffer - Object-storage-backed serverless vector DB with an official TS SDK.
- Cloudflare Vectorize - Workers AI binding for vector search; pure JS/TS.
- Milvus JS - Official Node SDK for Milvus.
- Memory Layers
- Mem0 - The memory layer for AI Agents. Personalized, persistent memory. Supports Node.js.
- Zep - Long-term memory service for AI assistants. First-class JS SDK.
- Letta - Stateful-agent platform with tiered memory; official
@letta-ai/letta-clientTS client. - Cognee - Poly-store (graph + vector + relational) memory engine; usable from JS via REST.
- RAG Engines
- r2r-js
⚠️ (archived) - JS client for SciPhi R2R (production RAG with hybrid search, knowledge graphs, Deep Research API).
- r2r-js
- Graphiti - Bi-temporal knowledge-graph memory engine (powers Zep); usable from TS via REST.
- Cognee - Hybrid KG + vector memory.
Critical observability, evaluation, and execution tools for production agents.
- Sandboxing & Code Execution
- E2B - Secure cloud sandboxes for AI-generated code execution. Node and Python SDKs.
- Daytona SDK
⚠️ (archived) - ~90 ms sandbox spin-up, dual ESM/CJS TS SDK, computer-use support. - CodeSandbox SDK - TS SDK for spinning up VM sandboxes with fork/clone semantics.
- Runloop - TS SDK for Runloop devboxes (long-lived agent VMs).
- Sandscale SDK - Apache-2.0 TS SDK for Sandscale Firecracker microVM sandboxes and workspaces (
@sandscale/sdk).
- Evaluation
- Promptfoo - CLI and library for evaluating LLM outputs and red-teaming agents; JS/TS-native.
- Evalite
⚠️ (archived) - Vitest-based TS-native LLM eval runner by Matt Pocock with a local UI and trace capture. - Braintrust SDK JS - Official TS SDK for the Braintrust eval/tracing platform.
- AutoEvals - Standalone scorer library (factuality, safety, LLM-as-judge); pure TS package.
- Observability & Tracing
- LangChain.js Agent Examples - Official examples of various agent types in LangChain.js.
- Vercel AI SDK Examples - Example projects using the Vercel AI SDK.
- Agentic AI Architectures: Multi-Agent System Patterns with TypeScript - Book by Andrei N. Besleaga (Wiley; publication planned for 2026), with runnable TypeScript companion code in agentic-ai-architectures.
- DeepLearning.AI: Build LLM Apps with LangChain.js - Official short course by Jacob Lee (LangChain maintainer). Covers RAG and agents.
- Scrimba: The AI Engineer Path - Interactive, hands-on path specifically for JavaScript developers to become AI Engineers. Covers agents, OpenAI SDK, and vector DBs.
- Coursera: AI Agents in Typescript/Javascript Specialization - Comprehensive specialization by Vanderbilt University.
- Udemy: Production AI Agents with JavaScript - Focuses on "shippable agentic systems" with LangGraph.js.
- FreeAcademy.ai: Building Professional AI Agents - Free course for building autonomous agents with Node.js & TypeScript.
- Vercel AI SDK Documentation - Comprehensive docs and interactive guides for the Vercel AI SDK.
- EU AI Act – Official Portal - Comprehensive tracker for Regulation (EU) 2024/1689, the world's first horizontal AI law (risk-based; GPAI obligations applicable since August 2025).
- EU AI Act – European Commission - Official Commission overview with compliance timelines, the AI Act Service Desk, and risk-tier definitions relevant to autonomous agents.
- OECD AI Principles - Updated May 2024 intergovernmental standard (47 adherents) covering trustworthy AI, including language relevant to general-purpose and agentic systems.
- Bletchley Declaration (AI Safety Summit 2023) - First multilateral declaration on frontier AI risks, signed by 28 countries and the EU.
- Seoul Declaration (AI Seoul Summit 2024) - Follow-on commitment extending Bletchley; established the international network of AI Safety Institutes.
- Hiroshima AI Process – G7 International Code of Conduct - Voluntary G7 code (2023) for organisations developing advanced foundation and agentic models.
- UK AI Security Institute (AISI) - State-backed institute publishing frontier model evaluations, including agentic capability assessments.
- Singapore AI Verify Foundation - Open-source AI governance testing framework and toolkit.
- Blueprint for an AI Bill of Rights (US OSTP) - Five-principle US blueprint; widely referenced reference document.
- US National AI Legislative Framework (March 2026) - Current US federal AI policy framework.
- NIST AI Risk Management Framework (AI RMF 1.0) - Voluntary Govern/Map/Measure/Manage framework with companion Playbook.
- NIST AI 600-1 – Generative AI Profile - NIST's GenAI-specific companion profile to the AI RMF.
- NIST AI 100-2 E2025 – Adversarial ML Taxonomy - Authoritative taxonomy of adversarial ML attacks and mitigations, including LLM-specific threats.
- ISO/IEC 42001:2023 – AI Management System - International standard for certifiable AI management systems. Search "ISO/IEC 42001" at iso.org.
- ISO/IEC 23894:2023 – AI Risk Management - Companion AI risk-management guidance.
- ISO/IEC 5338:2023 – AI System Life Cycle Processes - Life-cycle process standard for AI systems.
- IEEE 7000-2021 – Ethical System Design - Process standard for embedding ethical considerations through the system life cycle.
- Frontier Model Forum - Industry body (Amazon, Anthropic, Google, Meta, Microsoft, OpenAI) coordinating frontier safety best practices, including AI-Cyber and Agent workstreams.
- Anthropic Responsible Scaling Policy - AI Safety Levels (ASL) defining capability thresholds and safeguards for frontier and agentic deployments.
- Google DeepMind Frontier Safety Framework - Critical Capability Levels covering autonomy, biosecurity, cybersecurity, and ML R&D.
- METR (formerly ARC Evals) - Independent nonprofit evaluating autonomous and agentic capabilities of frontier models.
- Center for AI Safety (CAIS) - Research and field-building nonprofit focused on societal-scale AI risks.
- OWASP Top 10 for LLM Applications (2025) - Latest 2025 list (LLM01 Prompt Injection through LLM10 Unbounded Consumption); LLM06 Excessive Agency directly addresses agentic risk.
- OWASP Agentic Security Initiative - Includes the OWASP Top 10 for Agentic Applications 2026, the Practical Guide for Secure MCP Server Development, and the FinBot agentic CTF.
- OWASP AI Exchange - 300+ pages of AI security guidance and a "periodic table" of AI threats and controls, aligned with the EU AI Act and ISO standards.
- OWASP LLM Applications Cybersecurity & Governance Checklist - 13-area checklist for security leaders deploying LLMs.
- MITRE ATLAS - Adversarial Threat Landscape for AI Systems: an ATT&CK-style matrix of real-world ML attack tactics and techniques.
- NIST AI 100-2 E2025 – Adversarial ML - Canonical attack taxonomy.
- CSA MAESTRO – Agentic AI Threat Modeling - Seven-layer threat-modelling framework purpose-built for multi-agent systems.
- CISA & NCSC Joint Guidelines for Secure AI System Development - Joint US/UK + 23-country secure-by-design guidance.
- NCSC Guidelines for Secure AI System Development - UK NCSC's full collection (companion to the CISA release).
- Google Secure AI Framework (SAIF) - Six-element conceptual framework for securing AI systems; basis for the Coalition for Secure AI (CoSAI).
- NVIDIA Garak - Open-source LLM vulnerability scanner with probes for jailbreaks, prompt injection, and data leakage. Calls any LLM endpoint (works against JS/TS-hosted models).
- Microsoft PyRIT - Python Risk Identification Tool for generative AI red teaming; can target JS/TS-served endpoints.
- Promptfoo Red Team - JS/TS-native red-teaming and evaluation framework with plugin-based adversarial testers, integrable into Node CI/CD.
- HackAPrompt - Largest open prompt-injection competition dataset.
- Lakera Gandalf - Public prompt-injection challenge; the underlying corpus seeds Lakera Guard detectors.
- OpenAI Guardrails – TypeScript - Native TS/JS drop-in wrapper for the OpenAI client with input/output moderation, PII, jailbreak, and hallucination guardrails (
@openai/guardrails). - Vercel AI SDK Middleware - TS-native
wrapGenerate/wrapStream/transformParamshooks for implementing guardrails, PII redaction, and logging. - hai-guardrails - TypeScript guardrails library for LLM applications.
- Lakera Guard - Runtime API for prompt-injection, jailbreak, PII, and agent tool-call policy enforcement; vendor-neutral REST API with JS/TS clients.
- NVIDIA NeMo Guardrails - Programmable guardrails (Colang DSL); Python runtime, callable from JS/TS apps via API.
- Microsoft Presidio - PII detection and anonymisation SDK (Python core); commonly used as a redaction step in JS/TS pipelines via API or container.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.