Rui Barros
AI
Heavily inspired by the Building effective agents by Anthropic
A workflow where the output of one LLM call becomes the input for the next. This sequential design allows for structured reasoning and step-by-step task completion.
A workflow where user input is classified and directs to a specific task (a cheaper model?, a specific prompt?). This allows you to optimize for many inputs in isolation.
The user's prompt is passed to multiple LLMs simultaneously. Once all the LLMs respond, their answers are all sent to a final LLM call to be aggregated for the final answer.
LLM breaking down the task into subtasks that are dynamically determined based on the input. These subtasks are then processed in parallel by multiple worker LLMs
An LLM performs a task, followed by a second LLM evaluating whether the result satisfies all specified criteria.
LLMs act autonomously within a loop, interacting with their environment and receiving feedback to refine their actions and decisions.