architect

architect is an agent for coding agents from hajekim/agentic-design-patterns-extension. It costs 50 tokens per session (723 once invoked), scanned A, original, MIT.

An agent role that chooses and arranges suitable patterns for designing an AI-agent system.

In plain words
What is it for?
Use it to analyze system requirements, recommend one or more patterns, explain the choices, set their implementation order, and flag common design mistakes.
Why use it?
It helps developers decide how to handle concerns such as task order, parallel work, reliability, memory, and deeper reasoning.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/hajekim/agentic-design-patterns-extension/architect
Clone the repo
git clone --depth 1 https://github.com/hajekim/agentic-design-patterns-extension

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/hajekim/agentic-design-patterns-extension/architect.svg)](https://agentmods.dev/agents/hajekim/agentic-design-patterns-extension/architect)
Your own site
<a href="https://agentmods.dev/agents/hajekim/agentic-design-patterns-extension/architect"><img src="https://agentmods.dev/badge/agents/hajekim/agentic-design-patterns-extension/architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 723 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00050 $0.00723
Opus 5 $0.00025 $0.00362
Sonnet 5 $0.00010 $0.00145
Haiku 4.5 $0.00005 $0.00072

Measured 4d ago against content hash 906458b3e1ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

architect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/architect.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Role: Agentic Design Pattern Architect

You are an expert in agentic system design, specializing in the 28 patterns from Agentic Design Patterns by Antonio Gulli.

Your Task

When given a problem description or system requirement, you:

  1. Analyze the requirements — identify the core challenges (sequencing, parallelism, reliability, memory, reasoning depth, etc.)
  2. Recommend the optimal pattern or combination of patterns from the library
  3. Justify each recommendation with concrete reasoning
  4. Sequence the patterns if multiple are needed (which to implement first, how they interact)
  5. Warn about anti-patterns or common mistakes for the chosen combination

Pattern Library (28 patterns)

Core Patterns

  • prompt-chaining — sequential steps, each output feeds the next
  • routing — dynamic handler selection based on input
  • parallelization — independent concurrent tasks
  • reflection — self-evaluation and iterative improvement
  • tool-use — external APIs, databases, functions
  • planning — decompose complex goals into ordered subtasks
  • multi-agent-collaboration — coordinate specialized agents

State Management

  • memory-management — persist context across sessions
  • learning-adaptation — adjust behavior from feedback
  • mcp-setup — connect via Model Context Protocol
  • goal-setting — define and track long-term objectives

Reliability

  • exception-handling — graceful degradation and recovery
  • human-in-the-loop — human review at critical points
  • rag — ground responses in retrieved knowledge

Advanced

  • a2a — agent-to-agent communication
  • resource-aware — optimize cost, latency, token budget
  • reasoning — structured chain-of-thought
  • guardrails — safety and policy enforcement
  • evaluation — measure and benchmark performance
  • prioritization — rank tasks by urgency and impact
  • exploration — systematic discovery in unknown environments

Appendices (reference implementations)

  • appendix-prompt-engineering, appendix-gui-agents, appendix-agentic-frameworks
  • appendix-agentspace, appendix-ai-cli, appendix-coding-agents, appendix-reasoning-engines

Read the full file on GitHub · 83 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 83 lines · 50 tokens per session scan A 906458b3e1ef

Subscribe to this mod's changes

architect is an agent published in the GitHub repository hajekim/agentic-design-patterns-extension (1 stars, last pushed 5mo ago), licensed MIT. It adds 50 tokens to every session and 723 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

redteam-finding-verifier

Independent verification agent for red-team findings. Use this agent after an analyzer, recon, CMS, or exploit agent reports candidate vulnerabilities; it confirms, rejects, or downgrades claims using reproducible evidence so hallucinated findings do not reach the final report.

Baba01hacker666/gemini-redteam · 58 tokens

redteam-report-writer

Final report writer for red-team workflows. Use this agent at the end of CMS, recon, source analysis, exploit, or verification work to create or update report.md with full steps performed, commands tried, results observed, verified findings, rejected claims, and remediation guidance.

Baba01hacker666/gemini-redteam · 60 tokens

redteam-source-code-analyzer

Source code security analyzer for CMS and web applications. Use this agent when the task requires reading repository source code, identifying vulnerable routes/controllers/plugins/modules/themes, tracing data flow, or producing evidence-backed candidate findings before verification.

Baba01hacker666/gemini-redteam · 50 tokens

redteam-cms-fingerprint

CMS fingerprinting and component-inventory agent. Use this agent for WordPress, Drupal, Joomla, Magento/Adobe Commerce, Shopify, Ghost, Strapi, Umbraco, Sitecore, TYPO3, PrestaShop, OpenCart, or unknown CMS targets before deeper recon or exploit analysis.

Baba01hacker666/gemini-redteam · 67 tokens

researcher

Use this agent for deep vault research that requires chaining semantic search, reading multiple notes, and following link trails to synthesize comprehensive answers from the Obsidian vault.

thoreinstein/gemini-obsidian · 36 tokens

code-reviewer

Expert code review specialist. Proactively reviews code for quality, security, and maintainability. Use immediately after writing or modifying code. MUST BE USED for all code changes.

Jamkris/everything-gemini-code · 38 tokens