Trigger Authoring Chat Agent
Author and run a durable AI chat agent with chat.agent from @trigger.dev/sdk/ai: the per-turn run…
by triggerdotdev
The skill
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.
This skill's licence does not allow redistribution, so the store does not show its text. Read it at the source.
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: triggerdotdev/trigger-authoring-chat-agent-12415498692.
Details
- Publisher
- triggerdotdev
- Category
- AI & Agents › Orchestration & multi-agent
- Updated
- 2026-08-12
References
More from triggerdotdev
- Trigger Chat Agent Advanced Advanced and operational chat.agent capabilities for Trigger.dev, loaded on demand.
- Trigger Cost Savings Analyze Trigger.dev tasks, schedules, and runs for cost optimization opportunities.
- Trigger Realtime Trigger.dev client/frontend surface: subscribe to runs in realtime (runs.subscribeToRun and the @…
- Trigger Setup Bootstrap Trigger.dev into an existing project from scratch: authenticate the CLI, install @trigg…