Trigger.dev's chat.agent turns AI chats into durable tasks that survive crashes and redeploys
CodeByPoonam · x · 2026-09-15
The author tested Trigger.dev's newly launched chat.agent with Claude Code: each conversation becomes a long-lived, stateful task that survives page refreshes, redeploys, and crashes without manual state management.
Key points:
- Unlike stateless HTTP chat backends, chat.agent gives every session a durable machine that sleeps when idle and wakes on new messages, keeping in-memory state and on-disk workspace across interruptions.
- Tools can declare needsApproval: true, parking the run on a durable waitpoint until a human approves — then it resumes exactly where it stopped.
- The entire backend is a single chat.agent definition (streamText with claude-sonnet-4-5 in the example), with AI SDK's useChat pointed directly at it, no API route needed.
GA since July 2 and in production since June, it has served millions of sessions and over 84 years of compute; Arena built its Agent Mode on top of it. Trigger.dev is an open-source TypeScript platform (16.3k stars) for durable agents with retries, queues, HITL, and observability.
Related event: Trigger.dev Launches chat.agent for Crash-Resilient AI Chats(2 posts)→
More from coding & agent
- Tencent unveils Hyra 2.0, a research agent that builds reusable scientific tools — TencentHunyuan · 2026-11-02
- General Reasoning explains how to train agent swarms with RL and latency pressure — rosstaylor90 · 2026-11-02
- "Coding isn't the bottleneck anymore — usage windows are," says founder Kyle Gawley — kylegawley · 2026-11-02
- Demo passed ≠ production-ready: 5 questions to answer before letting agents run your business — _kellhus · 2026-11-02
- An AI agent passed 100 test chats—still not ready to run the business — djgoel123 · 2026-11-02
- Agent given total creative freedom produces a 1:44 code-drawn animated short film — ivegotnoidea1 · 2026-11-02