본문으로 건너뛰기
cccskills
무료GitHub에 공개

autonomous-agent-patterns

A pattern catalog for autonomous agents — ReAct, plan-and-execute, reflection, multi-agent debate, toolformer-style tool use, and when each fits. Use when choosing the control pattern for an agent task.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Autonomous Agent Patterns

Behind every agent is a control pattern: the loop structure that turns model outputs into actions. This is a catalog of the proven patterns, what each is good at, and how to choose.

Overview

Patterns differ along three axes: who plans (the model on the fly vs. a pre-made plan), how actions are chosen (reasoning traces, structured calls, votes), and how errors are handled (retry, reflect, escalate). No pattern dominates; the right one depends on task structure, reversibility of actions, and cost budget. Learn the catalog, then match the pattern to the problem.

When to use

  • Choosing the control loop for a new agent instead of defaulting to the first tutorial you saw.
  • Diagnosing why an agent fails: often the pattern doesn't fit the task.
  • Combining patterns: reflection on top of ReAct, planning before a tool loop.

Core concepts

  • ReAct (reason + act): interleave thought, action, observation. Best for exploratory tasks where the next step depends on what you find. Simple, flexible, can wander.
  • Plan-and-execute: make a full plan up front, then execute steps, replanning on failure. Best for structured, decomposable tasks. Brittle if the world surprises you mid-plan.
  • Reflection / self-critique: after acting, the agent critiques its own output and revises. Improves quality on writing, coding, and analysis. Costs extra model calls; gains compound on hard tasks.
  • Toolformer-style tool use: the model learns when external tools beat internal knowledge — calculator for arithmetic, search for fresh facts. The pattern behind all modern tool-calling.
  • Multi-agent debate: several agents propose and critique solutions; a judge picks. Improves robustness on judgment-heavy tasks at high cost.
  • Hierarchical: a planner decomposes, workers execute, the planner integrates. Scales to complex projects; coordination overhead is the tax.
  • Program-aided: the agent writes and runs code instead of reasoning in prose. Best for anything with exact computation — math, data analysis, simulations.

Practical workflow

  1. Classify the task: exploratory vs. structured, reversible vs. irreversible actions, single-shot vs. long-horizon.
  2. Pick the simplest fitting pattern: ReAct for exploration, plan-and-execute for structured work, program-aided for computation.
  3. Add reflection only where quality matters enough to pay for the extra calls.
  4. Set the pattern's parameters: max steps, replan triggers, debate rounds, worker count.
  5. Evaluate the pattern against one alternative on your task set — patterns are hypotheses until measured.
  6. Combine deliberately: e.g., plan-and-execute with ReAct workers, reflection before final output.
Pattern picker:
Exploratory, unknown steps      → ReAct
Known structure, clear steps    → Plan-and-execute
Quality-critical output         → + Reflection pass
Exact computation needed        → Program-aided (write+run code)
Judgment-heavy, high stakes     → Multi-agent debate + judge
Large decomposable project      → Hierarchical planner + workers

Common pitfalls

  • One pattern for everything: ReAct for a task that needs a plan, or planning for pure exploration. Match the pattern to the task.
  • Reflection without a critic: the agent praising its own work. Reflection needs a genuine critique prompt or a separate critic.
  • Debate theater: multiple agents agreeing with each other. Force dissent: assign devil's-advocate roles explicitly.
  • Ignoring cost: debate and hierarchy multiply model calls. Budget per task and check the quality-per-dollar.
  • No fallback: when the pattern fails (plan invalid, debate deadlocked), there must be a defined fallback — escalate, simplify, or stop.
  • Pattern purism: refusing to combine. Real systems are hybrids; the catalog is ingredients, not religions.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Master 1Password: vaults, Watchtower, passkeys, SSH agent, CLI, and family/team administration. Use when getting full value from 1Password personally or administering it for others.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills252026년 10월 10일 업데이트

Create 3D visuals with modeling, texturing, lighting, rendering, and optimization for web and product.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills252026년 10월 10일 업데이트

Create 3D web experiences: scene setup, models, materials, lighting, animation, scroll-driven scenes, and performance budgets. Use when adding 3D to websites beyond basic demos.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills252026년 10월 10일 업데이트

Writing abstracts that get papers read — structured content, the 5-sentence core, and journal-specific constraints.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills252026년 10월 10일 업데이트

Learn effectively from courses and academies: choosing programs, studying actively, and converting courses into skills. Use when investing time/money in structured learning.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills252026년 10월 10일 업데이트

Audit designs for accessibility with WCAG checklists covering color, type, focus, motion, and content.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills252026년 10월 10일 업데이트

aicodedecode의 스킬 모두 보기

이 스킬의 문제 신고