跳到正文
Skillpedia
智能体40k · #7041

agent-architecture

它能做什么

这个智能体可以帮你规划 AI 智能体的结构。它既能为新的智能体制定方案,也能分析已有的智能体,找出其中的问题。

适用场景

  • ✓当你计划构建一个新的 AI 智能体时。
  • ✓当你检查一个运行效果不佳的 AI 智能体时。
  • ✓当你想了解构建 AI 智能体的最佳方式时。

技能链接

https://github.com/github/awesome-copilot/blob/main/skills/agent-architecture/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/github/awesome-copilot/blob/main/skills/agent-architecture/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我想规划一个能回答烹饪问题的 AI 智能体,应该怎么设计它的结构?”

每周 5 个新技能,1 分钟读完。

工作原理

它会先提问,以了解智能体需要做什么,以及有哪些要求。根据这些信息,它会建议一个结构,并说明如何验证它是否有效。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

AI Agent Architecture

Help the user obtain a justified architecture for their task or an evidence-based audit of an existing agent. Deliver architectural decisions and ways to verify them, without implementing the agent. By default, completed work includes a PDF report and a visualization of the results. An “ideal architecture” fits the requirements, cost of failure, and team resources; it does not maximize the number of components.

Choose a route

Request Route Read
New agent, requirements are not yet clear Design: working cases → early design → requirements and decision coverage → delivery design.md, architecture-contract.md
Architecture from an existing specification Design: fill in what is known and clarify only gaps The same files; do not restart the interview
Review an agent already written Audit: reconstruct actual paths → verify → deliver findings audit.md, and architecture-contract.md as criteria
Agent makes mistakes, has degraded, or falsely reports “done” Diagnosis within the audit: case → hypotheses → discriminating checks → correction and closure criterion audit.md and diagnostic-review.md
Review and redesign Audit first; its demonstrated problems become design inputs audit.md first, then design.md

In either mode, read source-map.md once: it explains the origins of the principles and the textbook's limitations. The original PDF is not needed for ordinary skill use. scenarios.md is needed only to test the skill itself.

When choosing or revisiting the execution approach, use architecture-selection.md; when designing acceptance or reviewing quality claims, use evaluation-design.md. Develop the validation loop and completion evidence using validation-loop.md; for long-running/background work, pauses, recovery, and competing sessions, use execution-continuity.md, including storage, RTO/RPO, budgets, the human decision queue, and scheduling. Develop delegation, mutable memory, execution isolation, and long-running/streaming interaction only when the task has these properties. A section's existence does not make its question mandatory: material gaps under discovery-protocol.md determine depth.

Shared decision rules

  • First read the available specification, local instructions, architectural decisions, and relevant materials. Use code to reconstruct architecture, not to make unsolicited fixes. Do not run an application with external effects for an audit.
  • Maintain a brief register: source-confirmed / user requirement / proposal / assumption / open question / not applicable. Identify where requirements came from. A user decision and an architect's hypothesis have different statuses.
  • Corporate contracts and accepted decisions apply only within their own project. The textbook is an engineering reference, not a source of authority or a replacement for local canon. Identify conflicts rather than resolving them silently.
  • First consider ordinary automation without an LLM, a single call, and a predefined workflow. Introduce an agent loop, RAG, persistent memory, MCP, or multiple agents only for a concrete need. For each added complexity, identify its benefit, cost, verification method, and simpler alternative.
  • Do not select a model or framework before understanding the task. For a concrete selection, check current official documentation and version constraints. A documented capability is not yet demonstrated quality on the user's data.
  • Separate probabilistic model decisions from programmatically enforced rules. Describe where permissions, parameters, budget, and action admissibility are checked before an external effect, including bypass paths and resumption.
  • For a timed-out external write, a readback that finds nothing does not by itself prove that no effect occurred. Permit a retry only under an established downstream idempotency contract or authoritative proof of non-execution; otherwise retain effect unknown and reconcile or escalate. Apply this rule in concrete flows and examples as well as in the risk section.

…

常见问题

这个智能体会帮我写代码吗?

不会,它只负责规划结构。代码的编写需要另外完成。

这里的“架构”是什么意思?

它指的是 AI 智能体的整体规划,包括它由哪些部分组成,以及各部分之间如何协作。

我需要懂编程才能使用这个智能体吗?

不需要,它会用简单的方式解释所有内容。

详情

作者的原始描述

Design AI agent architectures through requirements discovery, or audit and diagnose architectural flaws in existing agents. Architecture only; excludes implementation and general code review.

repo: github/awesome-copilot

热度

GitHub 星标
40k
排名
#7041
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能