Software Development

Trigger Chat Agent Advanced

Advanced and operational chat.agent capabilities for Trigger.dev, loaded on demand. Load this when working on the raw Sessions primitive (sessions / SessionHandle), a custom chat transport or the realtime wire protocol, durable sub-agents (AgentChat, chat.stream.writer), human-in-the-loop, steering, actions, background injection (chat.defer / chat.inject), fast starts (preload, Head Start via @trigger.dev/sdk/chat-server), context resilience (compaction, recovery boot, OOM, large payloads), chat.local run-scoped state, offline testing with mockChatAgent, or prerelease/version upgrades. For the everyday chat.agent({...}) definition and the useTriggerChatTransport happy path, use the trigger-authoring-chat-agent skill instead.

Publisher / source
triggerdotdev/trigger.dev (found on GitHub top repositories)
Upstream record
triggerdotdev/trigger.dev
Version
Version 1
Published
Publication review
Approved for publication
Content fingerprint
2e1f2745b73604cbd11c3fdea90dbddc26f8a17d37e73ead066ce562ffee75ff