skills/ai-agent-development/agent-types/SKILL.md
Classifies AI agent patterns: chat completion, tool-using, ReAct, A2A protocol, subagents, and multi-agent orchestration. Use when choosing the right agent architecture for a task or comparing agent interaction patterns.
npx skillsauth add pkuppens/pkuppens agent-typesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Taxonomy of AI agent patterns, from simple to complex. Each pattern adds capabilities but also adds complexity — pick the simplest pattern that meets your requirements.
Stateless request-response wrapper around an LLM. No tools, no memory, no orchestration.
Use when: Simple Q&A, text generation, summarisation, translation.
User prompt → LLM → Response
Agent with access to external tools (functions, APIs, databases). Follows the Reason-Act-Observe loop: the LLM decides which tool to call, observes the result, and continues reasoning.
Use when: The agent needs to query databases, call APIs, perform calculations, or interact with external systems.
User prompt → LLM → Tool call → Tool result → LLM → Response
└──────────────────────────────┘
(loop until done)
Tool-using agent where the primary tool is a retrieval system (vector store, search engine, knowledge graph). Combines retrieval with generation.
Use when: The agent must answer questions from a document corpus, knowledge base, or structured data that exceeds the context window.
See agent-context for RAG pipeline design.
A parent agent delegates subtasks to specialised child agents. Each child has its own system prompt, tools, and constraints. The parent orchestrates results.
Use when: Tasks are decomposable into independent subtasks with different expertise requirements (e.g. research + code + review).
User prompt → Orchestrator agent
├─► Research agent → findings
├─► Code agent → implementation
└─► Review agent → feedback
Orchestrator → combined response
Multiple agents collaborate through a shared conversation or message bus. Agents take turns or respond to events. No single orchestrator.
Use when: Debate, peer review, simulation, or collaborative problem-solving where multiple perspectives add value.
Agents communicate across process or network boundaries using a standardised protocol (Google A2A, custom gRPC/REST). Each agent is a service with a defined interface.
Use when: Agents are developed by different teams, run in different environments, or need to be composed dynamically.
| Pattern | Complexity | Tool use | Memory | Multi-model | Use case | |---------|-----------|----------|--------|-------------|----------| | Chat completion | Low | No | Prompt only | No | Q&A, generation | | Tool-using (ReAct) | Medium | Yes | Prompt + tool results | No | Data access, actions | | RAG agent | Medium | Yes (retrieval) | Prompt + retrieved docs | No | Knowledge-base Q&A | | Subagent | High | Per child | Per child | Yes | Complex decomposable tasks | | Multi-agent | High | Per agent | Shared or per agent | Yes | Debate, collaboration | | A2A protocol | High | Per service | Per service | Yes | Cross-team, cross-env |
tools
Creates, queries, updates, and links Azure Boards work items via az boards CLI. Use when filing ADO work items, running WIQL queries, or setting area path, iteration, tags, and assignee.
tools
Creates, reviews, and completes Azure Repos pull requests and branch policies via az repos CLI. Use when opening ADO PRs, setting required reviewers, or configuring build validation policies.
development
Guides Azure Pipelines YAML structure, build validation on PRs, and staged deployment with environments and approvals. Use when authoring azure-pipelines.yml or configuring CI/CD on Azure DevOps.
tools
Orchestrates Azure DevOps work item, repo, and pipeline workflows using az CLI. Use when working with Azure DevOps, Azure Repos, Azure Boards, Azure Pipelines, or az devops commands.