bytriggerdotdev· 18 skills
Author and run a durable AI chat agent with chat.agent from @trigger.dev/sdk/ai: the per-turn run loop, why you MUST spread ...chat.toStreamTextOptions() first, returning a StreamTextResult vs calling chat.pipe(), the two server actions (chat.createStartSessionAction + auth.createPublicToken), and wiring useChat to useTriggerChatTransport. Load this when building, modifying, or debugging a chat backend (the agent task or its lifecycle hooks) or its React transport, when declaring typed tools or custom data parts, or when migrating a plain AI SDK streamText route to chat.agent.
$npx -y skills add triggerdotdev/trigger.dev --skill trigger-authoring-chat-agentInstalls into the current project.
Run `npx skills use "https://github.com/triggerdotdev/trigger.dev" --skill "triggerdotdev/trigger.dev/trigger-authoring-chat-agent"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/triggerdotdev/trigger.dev" that are relevant to the current task. Run `npx skills add "https://github.com/triggerdotdev/trigger.dev"` and select the relevant skills, then follow their instructions.