Files
triggerdotdev--trigger.dev/docs
D-K-P 92f11356a4 docs(ai-agents): add chat.agent guide and refresh the AI agent guides
Adds a "Build a customer support chat agent" guide to the AI agents
section, surfaces the ClickHouse chat agent example in the guides index
and the AI agents overview, and refreshes the five existing workflow
guides so their code is current.

The pattern guides (prompt chaining, routing, parallelization,
orchestrator, evaluator-optimizer) still used retired models and dated
APIs. Updated them to current Anthropic Claude models (claude-haiku-4-5
for lightweight classifier roles, claude-sonnet-4-5 for the main work)
and modernized the code:

- route-question uses generateObject for the routing decision instead of
  generateText plus manual JSON parsing.
- verify-news-article uses ModelMessage in place of the renamed CoreMessage.
- Fixed translate-and-refine discarding its recursive refinement result,
  so refined translations never returned to the caller.
- Fixed an invalid JSON test payload in generate-translate-copy.

The pattern concepts are unchanged; only the example code was stale.
2026-08-06 19:48:33 +01:00
..
2023-08-02 15:09:35 +01:00
2023-08-02 15:09:35 +01:00
2025-08-18 12:34:55 +01:00
2024-08-07 11:13:45 +01:00
2025-08-18 12:34:55 +01:00
2024-08-07 11:13:45 +01:00
2024-08-07 11:13:45 +01:00
2024-08-07 11:13:45 +01:00
2024-08-07 11:13:45 +01:00
2023-10-02 14:26:54 +01:00
2024-08-07 11:13:45 +01:00
2025-08-18 12:34:55 +01:00
2026-03-04 09:55:54 +00:00

Development

Install and initial setup

pnpm install

Running the app

pnpm run dev --filter docs

View the app locally

It runs locally here: http://localhost:3050