跳到正文
cccskills
免费在 GitHub 公开

ai-agents-architect

Architect autonomous agent systems — perception/action loops, tool design, planning strategies, memory, and multi-agent orchestration patterns. Use when designing an agent from scratch or scaling a prototype to production.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md4.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

AI Agents Architect

Agent architecture is the set of decisions that turn a capable language model into a system that acts reliably: how it perceives, plans, uses tools, remembers, and recovers. This skill covers those decisions as engineering trade-offs.

Overview

Every agent is a loop: perceive state, reason about it, take an action, observe the result, repeat. Around that loop sit the supporting systems — tools with clean interfaces, a planner that decomposes goals, memory that persists context, and guardrails that bound behavior. The architect's job is to pick the right loop topology (single agent, supervisor, swarm), the right planning strategy (reactive vs. deliberative), and the right failure semantics for the task's risk level.

When to use

  • Designing a new agent system: choosing loop structure, tools, and memory before writing code.
  • A prototype agent is unreliable: diagnosing whether the fix is prompting, tool design, planning, or evaluation.
  • Scaling from demo to production: adding guardrails, observability, cost controls, and human-in-the-loop.
  • Deciding between single-agent, hierarchical, and multi-agent designs for a complex workflow.

Core concepts

  • Perception-action loop: the core cycle — state in, reasoning, action out, observation back. Keep the loop observable: log every turn with its inputs and outputs.
  • Tool design: tools are the agent's hands. Each tool needs a clear name, typed inputs/outputs, idempotency where possible, and informative errors. A few excellent tools beat twenty vague ones.
  • Planning strategies: reactive (ReAct-style: think-act-observe) for exploratory tasks; plan-then-execute for structured workflows; hierarchical (planner + workers) when subtasks are parallelizable.
  • Memory: short-term scratchpad for the current task, persistent memory for cross-session knowledge. Separate them; they need different retrieval and update rules.
  • Guardrails: input validation, output filters, action allowlists, budget caps, and escalation paths. Guardrails are architecture, not decoration.
  • Observability: traces, token accounting, latency breakdown, and a replayable event log. You cannot improve what you cannot see.

Practical workflow

  1. Define the task contract: inputs, outputs, success criteria, and what "done" means in machine-checkable terms.
  2. Prototype the loop with 2–3 tools and a fixed eval set of 10–20 representative tasks.
  3. Measure reliability before adding features: success rate, cost per task, failure modes. Fix the dominant failure mode first.
  4. Add tools one at a time, each with standalone tests; keep the tool surface minimal.
  5. Introduce guardrails early for irreversible actions: confirmation gates, dry-run modes, allowlists.
  6. Productionize: tracing, dashboards, alerts on error rate and cost anomalies, and a human escalation path.
Architecture checklist:
[ ] Loop topology chosen and justified
[ ] Tool contracts typed + documented + tested
[ ] Max iterations, timeouts, and budgets set
[ ] Irreversible actions gated
[ ] Full trace logged per run
[ ] Eval set with success criteria

Common pitfalls

  • Tool sprawl: adding tools for every edge case. Each tool multiplies the planning space; consolidate ruthlessly.
  • No eval set: iterating on vibes. Build the eval set before the second iteration of the agent.
  • Prompt-as-architecture: stuffing all logic into a mega-prompt instead of structuring tools, memory, and control flow in code.
  • Unguarded side effects: letting the agent send, delete, or purchase without confirmation. Gate anything irreversible.
  • Ignoring cost: long loops with big models get expensive fast. Budget per task and alert on drift.
  • Premature multi-agent: adding agent teams before a single agent works. Multi-agent systems multiply coordination failure modes.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 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-skills282026年10月10日 更新

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

中文简介正在准备中。当前显示原文说明。

aicodedecode/awesome-muse-skills282026年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-skills282026年10月10日 更新

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

中文简介正在准备中。当前显示原文说明。

aicodedecode/awesome-muse-skills282026年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-skills282026年10月10日 更新

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

中文简介正在准备中。当前显示原文说明。

aicodedecode/awesome-muse-skills282026年10月10日 更新

查看 aicodedecode 的全部技能

报告此技能的问题