# sarwarbeing-ai/agentic_design_patterns

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/sarwarbeing-ai-agentic-design-patterns).**

9,498 stars · 1,720 forks · Jupyter Notebook

## Links

- GitHub: https://github.com/sarwarbeing-ai/Agentic_Design_Patterns
- awesome-repositories: https://awesome-repositories.com/repository/sarwarbeing-ai-agentic-design-patterns.md

## Description

This project is a collection of architectural templates and design patterns for building autonomous AI agents. It provides a framework for transitioning from simple prompt-response loops to goal-oriented systems that utilize structural patterns to increase autonomy and improve the reliability of complex task completion.

The framework focuses on reasoning orchestration, specifically through the implementation of reflection and self-correction cycles. It enables the coordination of specialized agents via task delegation and state sharing to solve complex problems.

The architectural surface covers autonomous workflow automation, including plan-and-execute workflows, tool-use execution loops, and iterative prompt refinement. It also includes mechanisms for dynamic context windowing to optimize model attention.

The project is implemented as a series of Jupyter Notebooks.

## Tags

### Artificial Intelligence & ML

- [Autonomous Agent Patterns](https://awesome-repositories.com/f/artificial-intelligence-ml/autonomous-agent-patterns.md) — Provides architectural templates and structural patterns to increase autonomy and reasoning in AI agents. ([source](https://github.com/sarwarbeing-ai/Agentic_Design_Patterns#readme))
- [Agent Architectures](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-architectures.md) — Implements structural design patterns specifically for LLM-based autonomous agents.
- [Multi-Agent Orchestration Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/integration-deployment/agent-frameworks/agent-orchestrators/multi-agent-orchestration-frameworks.md) — Coordinates specialized agents through task delegation and state sharing to solve complex problems.
- [AI Agent Architectures](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/integration-deployment/ai-agent-architectures.md) — Designs structural patterns that improve the reliability and autonomy of complex task completion.
- [Agentic Workflow Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-workflow-frameworks.md) — Provides a framework of structural patterns for coordinating multiple LLM interactions.
- [Multi-Agent Orchestrators](https://awesome-repositories.com/f/artificial-intelligence-ml/multi-agent-orchestrators.md) — Coordinates specialized agents using task delegation and state sharing to solve complex problems.
- [Self-Correction Loops](https://awesome-repositories.com/f/artificial-intelligence-ml/multi-step-goal-execution/self-correction-loops.md) — Implements loops where models review and correct their own outputs against specific criteria.
- [Reasoning Orchestrators](https://awesome-repositories.com/f/artificial-intelligence-ml/reasoning-orchestrators.md) — Implements methods for managing reflection and self-correction cycles within LLM applications.
- [Reasoning Workflows](https://awesome-repositories.com/f/artificial-intelligence-ml/reasoning-workflows.md) — Implements structural patterns for reflection and iterative refinement to enhance model output quality.
- [Tool-Execution Loops](https://awesome-repositories.com/f/artificial-intelligence-ml/tool-execution-loops.md) — Provides a cycle where models select functions and update plans based on real-time tool output.
- [Tool-Use Orchestration](https://awesome-repositories.com/f/artificial-intelligence-ml/tool-use-orchestration.md) — Implements the orchestration of interleaving reasoning with external tool execution cycles.
- [Autonomous Agent Loops](https://awesome-repositories.com/f/artificial-intelligence-ml/autonomous-agent-loops.md) — Provides principles for transitioning from simple loops to goal-oriented planning and execution cycles.
- [Autonomous Workflow Automation](https://awesome-repositories.com/f/artificial-intelligence-ml/autonomous-workflow-automation.md) — Builds self-correcting systems capable of planning, executing, and refining tasks autonomously.
- [Context Window Optimizations](https://awesome-repositories.com/f/artificial-intelligence-ml/context-window-optimizations.md) — Implements mechanisms to filter and inject relevant information to optimize the LLM context window.
- [Prompt Iteration Workflows](https://awesome-repositories.com/f/artificial-intelligence-ml/prompt-iteration-workflows.md) — Provides a recursive process for adjusting prompts based on execution failures to improve output quality.

### Software Engineering & Architecture

- [Agentic Plan-And-Execute Workflows](https://awesome-repositories.com/f/software-engineering-architecture/strategic-planning-workflows/implementation-planning/agentic-plan-and-execute-workflows.md) — Implements the plan-and-execute architectural pattern to separate strategic decomposition from tactical execution.
- [LLM Reasoning Workflows](https://awesome-repositories.com/f/software-engineering-architecture/graph-based-workflow-orchestrators/llm-reasoning-workflows.md) — Applies specific design workflows to enhance the logical reasoning and problem-solving capabilities of LLMs.
