Software Development
Author and run a durable AI chat agent with chat.agent from @trigger.dev/sdk/ai: the per-turn run loop, why you MUST take streamText from the run argument rather than importing it from ai, 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.
Publisher / source
triggerdotdev/trigger.dev (found on GitHub top repositories)
Upstream record
Version
Version 1
Published
2026-11-24
Publication review
Approved for publication ยท recorded passed scan 2026-11-24
Content fingerprint
7cfafc5b789ac77a21a746e948f0cd4c5cca6c1b4a83cb29cc5fff58d2a7bd89
Review before you use it
Publication approval is a recorded review state, not a guarantee of safe execution. Check the upstream license, required tools and permissions, and test in your intended client.
Sign in to inspect the full instructions and download the SKILL.md file. This public page contains metadata only.
Source: https://prompeteer.ai/skills-hub/cf900bd5-256f-4dce-885a-dc8863724260