# Trigger Chat Agent Advanced

> Advanced and operational chat.agent capabilities for Trigger.dev, loaded on demand.

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.

- Page: https://ss33.ai/skills/triggerdotdev/trigger-chat-agent-advanced-98566904786
- Publisher: triggerdotdev
- Category: [AI & Agents](https://ss33.ai/skills/category/ai-and-agents-y6jz7i) › [Orchestration & multi-agent](https://ss33.ai/skills/category/ai-and-agents-y6jz7i/orchestration-and-multi-agent-tlbx40)
- Source: https://github.com/triggerdotdev/skills/blob/e0f9f87153d1502fd9f6298e2eb1d58cfd7f9871/trigger-chat-agent-advanced/SKILL.md

## Skill

This skill's licence does not allow redistribution, so the store does not serve its text. Get it from the author: https://github.com/triggerdotdev/skills/blob/e0f9f87153d1502fd9f6298e2eb1d58cfd7f9871/trigger-chat-agent-advanced/SKILL.md
