Agentic patterns

From diegosouzapw/awesome-omni-skill · View interactive version

Agentic patterns is an AI agent skill from the GitHub repository diegosouzapw/awesome-omni-skill. Design and operate multi-agent orchestration patterns (ReAct loops, evaluator-optimizer, orchestrator-workers, tool routing) for LLM systems. Use when building or debugging agent workflows, tool-use loops, or multi-step task delegation; triggers: agentic, multi-agent, orchestration, ReAct, evaluator

How to use this skill

Skill file

Agentic Patterns

Overview

Use simple, composable patterns to decide when to keep a deterministic workflow versus letting an LLM drive its own control flow with tools, retrieval, and memory. Prefer minimal patterns and add agentic loops only when they unlock necessary flexibility.

When to Use

Decision Tree

  1. Determine whether the task can be mapped to a fixed sequence.
  1. Determine whether the output can be evaluated with explicit criteria.
  1. Determine whether the task decomposes into independent subtasks.

Workflows

1. Evaluator-Optimizer Loop

  1. Define an evaluator rubric with pass/fail criteria and required evidence.
  2. Generate an initial draft with the generator.
  3. Evaluate the draft with the rubric and capture structured feedback.
  4. Feed feedback into the generator and iterate until pass or max iterations.

2. Orchestrator-Worker Task Delegation

  1. Decompose the request into explicit subtasks with clear outputs.
  2. Assign each subtask to a specialized worker prompt or tool.
  3. Collect worker outputs and synthesize into a single answer.
  4. Run a final verification pass (self-check or evaluator) before returning.

3. Tool Poka-Yoke Audit

  1. List all tools with names, parameters, and docstrings.
  2. Normalize parameter names and enforce concrete types (ids, paths, enums).
  3. Add minimal examples and edge cases to each docstring.
  4. Re-run a small task to confirm tool selection improves.

Non-Obvious Insights

Evidence

Scripts

Dependencies

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.