Skip to main content

Overview

This guide will show you how to set up different types of AI agent workflows with Trigger.dev. The examples take inspiration from Athropic’s blog post on building effective agents.
prompt-chaining

Prompt chaining

Chain prompts together to generate and translate marketing copy automatically
routing

Routing

Send questions to different AI models based on complexity analysis
parallelization

Parallelization

Simultaneously check for inappropriate content while responding to customer inquiries
orchestrator-workers

Orchestrator

Coordinate multiple AI workers to verify news article accuracy
evaluator-optimizer

Evaluator-optimizer

Translate text and automatically improve quality through feedback loops