Chat agent is a way to build durable AI chat experiences that run on a
machine with no timeouts and keep streaming through refreshes and
crashes. The machine sleeps when nobody's typing and wakes where it
left off, without you managing any state.
Keep the AI SDK you already use: streamText on the server, useChat on
the client. chat.agent slots in underneath as a transport and the API
route between them goes away. Every turn is traced: prompts, tool
calls, latency and cost.
Realtime keeps your users updated with live progress from your background tasks. Show progress bars, AI/LMM streaming responses, and AI agent observability. Use the Realtime API for live updates and React hooks to easily integrate Trigger.dev into your apps.
Trigger.dev is the open source platform for building AI workflows in TypeScript. Long-running tasks with retries, queues, observability, and elastic scaling. Begin for free, invite your team, and scale without limits.