惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
宝玉的分享
宝玉的分享
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
WordPress大学
WordPress大学
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
J
Java Code Geeks
腾讯CDC
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Engineering at Meta
Engineering at Meta
L
LangChain Blog
Jina AI
Jina AI
博客园 - 叶小钗
B
Blog RSS Feed
Recent Announcements
Recent Announcements
H
Help Net Security
小众软件
小众软件
大猫的无限游戏
大猫的无限游戏
B
Blog
云风的 BLOG
云风的 BLOG
Blog — PlanetScale
Blog — PlanetScale
D
DataBreaches.Net
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
罗磊的独立博客

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
TypeScript Agent Frameworks in 2026: Loop, Runtime, Sandbox
Joe Seifi · 2026-05-04 · via DEV Community

TypeScript Agent Frameworks in 2026

Most TypeScript teams shopping for an agent framework don't need one. A single generateObject call covers classification, extraction, summarization, tagging — the 80% case for production LLM work in TS right now.

But once the model starts deciding what to do next, surviving deploys, or coordinating with other agents, you start shopping. And the moment you do, you discover the TS agent ecosystem is not one market but three.

Three layers

Loop — wraps the agent loop so you don't write while (!done) {…} yourself. "Let the model decide what to do next."

Mastra, Vercel AI SDK, Claude Agent SDK, OpenAI Agents SDK, LangGraph, AgentKit, VoltAgent, Google ADK.

Runtime — keeps the loop alive across crashes, deploys, and long pauses. "Keep the work alive when servers die."

Mastra Platform, LangGraph Platform, Claude Managed Agents, Inngest, Flue.

Sandbox — runs an existing coding agent in isolation, often in parallel. "Run ten Claude Codes in ten boxes."

Sandcastle, Flue (Daytona mode), E2B, Daytona.

The decision tree

  1. Building an agent loop? → A loop framework. Mastra (batteries-included) or Vercel AI SDK with Agent (minimal new surface area) is the realistic shortlist.
  2. Got a loop, need it to survive production? → A runtime. Use the matched host if you've committed to a framework (Mastra Platform for Mastra, LangGraph Platform for LangGraph), otherwise Inngest or Flue.
  3. Got a coding agent, want to fan it out against a repo? → A sandbox harness. Sandcastle is the cleanest TS-native fit.

Worked example

Support agent that looks up orders, issues refunds, pauses for manager approval over $500.

  • Loop complex? No. Mastra or Vercel AI SDK with three tools and a stop condition.
  • Needs durable approval pauses? Yes. Inngest or Vercel Workflows.
  • Modifying a repo in a sandbox? No. Skip.

One loop + one runtime, no sandbox. Two vendors, not three.

The honest take

Most TS shops reading this don't need any of these yet. The single generateObject call still does an enormous amount of work for an enormous number of teams.

The point isn't go pick a framework. The point is: when the time comes, know what you're picking between. The loop is the agent. The runtime hosts the loop. The sandbox fans out an existing coding agent. Mixing them up is how shops end up paying three vendors that each solve a different problem.

Curious what your team is running, and what bit you in production that you didn't expect. Drop it in the comments.


Full version with per-tool deep dives, code snippets, and picker tables for each layer is on EveryDev.ai: *TypeScript Agent Frameworks in 2026: Loop, Runtime, Sandbox*.