情报台一号 · 架构图库Desk 1 · Architecture Library

架构图库Architecture Library

把一团乱麻,剪成一张架构图。Cutting the tangle into one architecture diagram.

新架构、新思想与一线信源按十关入库,原图有版权,公开的一律是结构拆解与要点:七层与十关的完整定义见New architectures, new ideas and frontline sources, registered by the ten gates. Original diagrams are copyrighted; what we publish is the structural breakdown: for the full definitions of the seven layers and ten gates, see the框架规范 →framework specification →

深拆解的读法与首批条目,见 AI 架构研究库 →For how the deep teardowns are written and the first entries, see the Architecture Research Library →

剪纸:大脑乱麻被剪成架构图 · Papercut: a tangled brain cut into an architecture diagram

十关地图兼筛选器The ten-gate map, and filter

实线为层内七关,虚线为跨层三关(网关、平台、统一与自主)。每格条数按架构卡与新思想合计,跨关条目在每个所属关各计一次;产品拆解 PD-001 在下方专区单列,不计入地图条数。点一关只看那一关的条目。Solid borders are the seven in-layer gates; dashed borders are the three cross-layer gates (Gateway, Platform, Unity and Autonomy). Counts combine architecture cards and new ideas; an entry belonging to several gates is counted once in each of them. Teardown PD-001 sits in its own zone below and is not counted on the map. Click a gate to see only its entries.

ARC-001 · 基准Baseline架构卡 · 参考架构Architecture card · Reference architecture模型关Model编排关Orchestration工具关Tool Use记忆关Memory知识关Knowledge门禁关Access Control盯梢关Observability

企业级 AI 七层参考架构The seven-layer enterprise AI reference architecture

从 Chatbot 到企业级系统的全景框架,DeepWing 全部分析的基准。The full map from chatbot to enterprise system; the baseline for all DeepWing analysis.

当前显示 22 条(架构卡 12 · 产品拆解 1 · 新思想 9);基准条 ARC-001 始终置顶,不计入。Showing 22 entries (Architecture cards 12 · Product teardown 1 · New ideas 9); benchmark ARC-001 stays pinned and is not counted.

架构卡Architecture cards

ARC-002架构卡 · 部署架构Architecture card · Deployment architecture模型关Model平台关Platform

消费级设备分布式推理Distributed inference on consumer devices

26B 模型拆开摊在 15 台约 55 美元的电视盒子上合跑,约 0.39 token 每秒。A 26B model split across 15 TV boxes at about $55 each, jointly serving at roughly 0.39 tokens per second.

ARC-003架构卡 · 能力实验架构Architecture card · Capability study architecture编排关Orchestration门禁关Access Control

自复制传播架构Self-replication propagation architecture

本体在服务器上,迁移安家的是文件包,在 8 台模拟设备间传播。The model stays on a server; a file package migrates and settles across 8 emulated devices.

ARC-004架构卡 · 编排架构Architecture card · Orchestration architecture编排关Orchestration盯梢关Observability

Multi-agent run 编排架构Multi-agent run orchestration

一个 run 自主拉起最多 1000 个子 Agent,服务端最多 64 个并发,成本随规模乘法增长。One run autonomously spawns up to 1,000 sub-agents, at most 64 concurrent server-side; cost grows multiplicatively with scale.

ARC-005架构卡 · 参考架构Architecture card · Reference architecture知识关Knowledge记忆关Memory

RAG 知识层参考架构RAG knowledge-layer reference architecture

切分、向量化、索引、检索、重排、注入上下文的标准链路。The standard chain: chunking, embedding, indexing, retrieval, reranking, context injection.

ARC-006架构卡 · 编排架构Architecture card · Orchestration architecture编排关Orchestration模型关Model

S1-MAS:协调与推理分家S1-MAS: coordination split from reasoning

轻量小控制器管派活与喊停,大模型只做推理。对 GPT-4o 的 token 消耗最多降 97%,延迟最多降 93%。Lightweight controllers handle assignment and stopping; big models only reason. GPT-4o token use cut by up to 97%, latency by up to 93%.

ARC-007架构卡 · 编排架构Architecture card · Orchestration architecture编排关Orchestration记忆关Memory

ScaleMAS:共享消息搜索协调ScaleMAS: shared message search coordination

Agent 不直接喊话,往可搜索的共享消息库里写和查,撑到 128 个 Agent 不乱套。Agents coordinate through a searchable shared message store instead of direct chatter; scales to 128 agents.

ARC-008架构卡 · 编排架构Architecture card · Orchestration architecture编排关Orchestration盯梢关Observability

Sequential Auctions:拍卖式编排Sequential auctions for orchestration

不要中央编排器,每一步动作拿出来拍卖,Agent 竞价上岗,带预算约束。No central orchestrator: each next action is auctioned, agents bid to take it, with budget constraints.

ARC-009架构卡 · 编排架构Architecture card · Orchestration architecture编排关Orchestration盯梢关Observability

ARIA(运行时自检自修的多 Agent 框架)ARIA: a multi-agent framework with runtime self-check and self-repair

多 Agent 系统运行时巡检与当场修正:不等跑完复盘,执行中发现错误即修;论文给出 3,953 组已核修复对(来自 24k 条轨迹)。Runtime inspection and on-the-spot correction for multi-agent systems: errors are fixed as they occur during execution, not in a post-hoc review; the paper reports 3,953 verified repair pairs drawn from 24k trajectories.

ARC-010架构卡 · 签名授权Architecture card · Signed authorization门禁关Access Control盯梢关Observability

Chain of Trust(身份与授权分离的签名授权)Chain of Trust: signed authorization separating identity from permission

用 AP2 签名授权(买什么、向谁买、上限多少)把「身份」和「放行权」分开管:买方在 AWS、卖方在 Cloudflare Workers、授权与验签在 Google Cloud,Stripe 完成测试支付,另配 Trust Index。授权金额即硬上限,与「AI 限薪」线(额度即门禁)和判例库的归因/审计直接呼应。AP2 signed mandates (what may be bought, from whom, and up to how much) manage identity and release rights separately: the buyer runs on AWS, the seller on Cloudflare Workers, authorization and signature verification on Google Cloud, with Stripe completing a test payment, plus a Trust Index. The authorized amount is a hard cap, directly echoing the “AI salary cap” line (budget as access control) and the case library’s attribution and audit concerns.

ARC-011架构卡 · 门禁架构Architecture card · Gate architecture门禁关Access Control盯梢关Observability

分层代码审查架构(Anthropic Claude Code 团队)Layered code-review architecture (Anthropic Claude Code team)

当约九成代码由 AI 写出后,审查从终点单门改成分层流水线,一次变更依次过七道:提交前自验(代理自查后再由另一代理以全新上下文审 diff);每个 PR 多代理并行查错,发现经独立投票核实才贴出;安全审查单列,未决问题阻断合并;自动化检查(lint、类型、全平台测试、构建)全绿才放行;人工批准按风险分级(低风险零人、中风险一人、高风险两人,代理的批准不计作人的批准);合并队列对主干复跑全部检查,新行为先经功能开关小范围放量;快速回滚兜底。另配收敛规则防代理审查打转:三轮上限、后续只审新 diff、按问题类别整类修、已贴问题不重复。官方口径效果:2026 年 6 至 9 月合并 PR 数量翻倍多,回滚占比下降四成多,获实质审查评论的内部 PR 占比由 16% 升至 54%。Once roughly ninety percent of the code is written by AI, review stops being a single gate at the end and becomes a layered pipeline: each change passes seven stages: pre-submit self-checks (the agent verifies itself, then another agent reviews the diff with fresh context); multi-agent review of every PR, with findings posted only after independent vote verification, graded by severity and split into newly introduced vs. pre-existing; a separate security review whose open issues block merging; automated checks (lint, types, full-platform tests, builds) that must all pass; human approval graded by risk (a classifier reads the diff: low risk needs no human, medium one, high two; an agent’s approval never counts as a human’s, and approval binds to one specific commit); a merge queue re-running all checks against the trunk, with new behavior first rolled out behind feature flags; and fast rollback as the backstop. Convergence rules keep agent review from looping: a three-round cap, later rounds review only the new diff, fixes land by problem category, and posted findings are never repeated. Reported effect: merged PRs more than doubled from June to September 2026, the rollback share fell by over forty percent, and the share of internal PRs receiving substantive review comments rose from 16% to 54%.

ARC-012架构卡 · 编排架构Architecture card · Orchestration architecture编排关Orchestration记忆关Memory门禁关Access Control

Harness² 双层递归脚手架自改进框架(Google Cloud AI Research)Harness²: a two-level recursive framework that improves an agent’s scaffold (Google Cloud AI Research)

基座模型冻结不动,只改模型外围的脚手架:系统提示词、护栏、记忆、技能、工具指导、脚本、子智能体、插件八个文件,每次改动都是一个文件 diff。任务内:先跑一遍暴露问题,两个编辑角色各提一版改动,同题重跑做行为对比,再选择性合成;任务交付后:只把有对比支持的教训连同可执行组件存进经验库,供后续任务复用。最要紧的门禁事实:护栏文件本身就在可编辑清单里,针对护栏被改弱的单独复核未见披露。效果数字全部为论文作者自报,无第三方复现。The base model stays frozen; only the scaffold around it is edited, as eight files: system prompt, guardrails, memory, skills, tool guidance, scripts, sub-agents and plugins, so every change is a file diff. Within a task, a reference run exposes problems, two editor roles each propose a change, the task is rerun to compare behavior, and the changes are composed selectively. After delivery, only lessons backed by those comparisons are kept, with their executable components, in an experience library for later tasks. The key gate fact: the guardrails file is itself on the editable list, and no separate review of a weakened guardrail is disclosed. All performance figures are self-reported by the paper’s authors, with no third-party replication.

ARC-013架构卡 · 治理架构Architecture card · Governance architecture网关Gateway门禁关Access Control盯梢关Observability

Gemini Agent 治理栈:独立身份、网关、沙箱、审计与支出上限(Google Cloud)The Gemini Agent governance stack: its own identity, a gateway, a sandbox, audit and spend caps (Google Cloud)

Google 把智能体治理拆成四问:它是谁、能做什么、做了什么、绝不能碰什么,每一问都有成文的控制。每个智能体有密码学证明的独立身份(SPIFFE 标准);全部进出与智能体之间的流量都过 Agent Gateway,策略写一次全员适用;任务在每会话一台的单租户 microVM 沙箱里跑,沙箱内不放任何长效凭证,出站时由网关验证用户委派、智能体身份与节点身份三项后,才在链路上换入后端凭证;每个动作写入审计并归因到智能体;项目级支出上限一触发,该项目的智能体即暂停。最要紧的门禁事实:凭证永不进沙箱,提示注入的最坏后果从「凭证被盗、横向移动」降为「在自身权限内做错事」。智能体本体尚未宣布正式可用,多项治理扩展仍是预览,这里记的是成文设计,不是验收结果。Google breaks agent governance into four questions: who the agent is, what it may do, what it did, and what it must never touch, and each question has a documented control. Every agent gets its own cryptographically attested identity (on the SPIFFE standard); all traffic in, out and between agents passes through Agent Gateway, where a policy written once applies to every agent; tasks run in a single-tenant microVM sandbox, one per session, that holds no long-lived credentials, and on the way out the gateway checks three identities (the user's delegation, the agent and the node) before it swaps the backend credential into the request; every action is written to an audit trail attributed to the agent; and a project-level spend cap pauses that project's agents when it trips. The key gate fact: credentials never enter the sandbox, so the worst case of a prompt injection drops from stolen credentials and lateral movement to the agent doing the wrong thing within its own permissions. The agent itself has not been declared generally available and several governance extensions are still in preview, so this records the documented design, not verified delivery.

产品拆解Product teardowns

已发布 1 篇 · 规划中 4 类 · 主关:门禁 · 盯梢1 published · 4 categories planned · Main gates: Access Control, Observability
最新拆解 · PD-001Latest teardown · PD-001产品拆解 · Anthropic · Claude CodeTeardown · Anthropic · Claude Code证据等级:官方披露Evidence: official disclosure门禁关Access Control盯梢关Observability

Claude Code 代码审查系统:分层审查怎么落地Claude Code’s code review system: the layered review, as built

约 90%~90%Claude Code 代码由 Claude 写出of Claude Code’s code is written by Claude
7 步7 steps一次变更依次过的分层审查layered review stages each change passes
16% → 54%获实质审查评论的内部 PR 占比share of internal PRs receiving substantive review comments

按层拆开看:门禁前移的提交前自验(代理自查,加独立代理以全新上下文复审 diff);盯梢层的 PR 级 AI 审查(多代理并行查错,独立投票核实才贴出,按重要、小瑕疵、既有三档标注);门禁层的硬阻断(安全审查未决问题不许合并;lint、类型、全平台测试、构建全绿才放行);门禁层治理(人工批准按风险分级,分类器读变更定级,低风险零人、中风险一人、高风险两人,代理的批准不计作人的,批准只对特定提交有效);平台层(合并队列对主干复跑全部检查,新行为经功能开关先内部放量);盯梢层兜底(快速检测与回滚、值班轮换、事故复盘反哺审查者评测集)。对应架构条目 ARC-011,对应想法条目 IDEA-009。Taken layer by layer: pre-submit self-checks push the gate forward (the agent checks itself, then an independent agent re-reviews the diff with fresh context); PR-level AI review sits in Observability (parallel agents hunt for bugs, findings are posted only after independent vote verification, labeled important, nit, or pre-existing across three grades); hard blocks sit in Access Control (unresolved security findings forbid merging; lint, types, full-platform tests, and builds must all be green); governance also sits in Access Control (human approval graded by risk: a classifier reads the change: low risk needs no human, medium one, high two; an agent’s approval never counts as a human’s, and approval binds to one specific commit); the Platform layer re-runs everything against the trunk in the merge queue and releases new behavior behind feature flags internally first; and Observability closes the loop (fast detection and rollback, on-call rotation, incident reviews feeding the reviewer eval set). Linked architecture entry ARC-011; linked idea entry IDEA-009.

规划中Planned

企业知识助手Enterprise knowledge assistant

关注点:知识的版本与引用溯源、权限继承、检索与注入的日志留痕。Focus: knowledge versioning and citation traceability, permission inheritance, and logged retrieval and injection.

规划中Planned

客服 AgentCustomer-service agent

关注点:工具动作的边界、被拒即停、人工接管与快速回滚。Focus: boundaries on tool actions, stop when refused, human takeover and fast rollback.

规划中Planned

Agent 平台Agent platform

关注点:网关代持凭证、编排托管、用量与成本计量。Focus: gateway-held credentials, hosted orchestration, and usage and cost metering.

规划中Planned

个人智能体入口Personal agent entry point

关注点:身份与授权分离、记忆的可见与可删、跨应用动作审计。Focus: identity separated from authorization, visible and deletable memory, and cross-app action audit.

收录标准:只拆有官方技术披露的产品,每篇用同一个六段模板。Inclusion rule: we only tear down products with official technical disclosures, and every teardown uses the same six-part template.

新思想与模式Emerging ideas and patterns

IDEA-001新思想New idea门禁关Access Control盯梢关Observability

给 Agent 发身份证Agent identity

出站流量带身份标记与出处,配限流,事故才可归因。Outbound agent traffic carries identity and provenance markers with rate limits, so incidents can be attributed.

IDEA-002新思想New idea盯梢关Observability平台关Platform

文本水印Text watermarking

AI 生成文本加机器可读标记,出处治理变成基础设施。Machine-readable marks on AI-generated text turn provenance into infrastructure.

IDEA-003新思想New idea编排关Orchestration平台关Platform

厂商托管编排Vendor-hosted orchestration

编排层正被平台收走,主 Agent 在服务端拉起子 Agent 群。Platforms are absorbing the orchestration layer, with lead agents spawning sub-agent fleets server-side.

IDEA-004新思想New idea编排关Orchestration

被拒即停Stop when refused

授权被拒后熔断并上报,不许换路重试。DeepWing 从判例中提炼。After a denial, halt and report instead of rerouting. Distilled by DeepWing from the case library.

IDEA-005新思想New idea网关Gateway门禁关Access Control

虚拟密钥与网关代持Virtual keys held by the gateway

真密钥交网关托管,Agent 只持限额的虚拟密钥。DeepWing 七层框架,网关层。Real credentials stay in the gateway; agents hold budgeted virtual keys. From DeepWing’s seven layers, the gateway layer.

IDEA-006新思想New idea编排关Orchestration盯梢关Observability

运行时纠偏Runtime correction

错误处理从「事后复盘」前移到「运行时纠偏」;接 CCA 多智能体线与判例库(运行时修复 vs 事后验尸)。来自 ARIA 论文(arXiv:2610.20780v1)。Error handling moves from post-hoc review to correction during execution; it ties into the CCA multi-agent line and the case library (runtime repair vs. post-mortem). From the ARIA paper (arXiv:2610.20780v1).

IDEA-007新思想New idea门禁关Access Control盯梢关Observability

身份与授权分离Identity separated from authorization

Agent 的身份与放行权分开管,授权用可签名、可限额的 mandate 表示,授权金额即硬上限;与「AI 限薪」线(额度即门禁)和判例库的归因/审计直接呼应。跨厂商试点中(GoDaddy、Infoblox、Google、Cloudflare 联合 IMDA,GovWare 2026)。An agent’s identity and its release rights are managed separately, with authorization expressed as a signed, capped mandate: the authorized amount is a hard cap. It echoes the “AI salary cap” line (budget as access control) and the case library’s attribution and audit concerns. In cross-vendor pilot (GoDaddy, Infoblox, Google, and Cloudflare with IMDA, GovWare 2026).

IDEA-008新思想New idea记忆关Memory

记忆层有了公开价签Memory gets a public price tag

记忆变成可计量的成本项。AWS AgentCore Memory 按写入、读取、存储分开计价,记忆不再只是架构概念,而是可计量、可预算的成本项;对应成本记录 COST-004。Memory becomes a measurable cost line. AWS AgentCore Memory prices writes, reads, and storage separately: memory is no longer just an architecture concept, but a meterable, budgetable cost item; see Cost Index COST-004.

IDEA-009新思想New idea盯梢关Observability门禁关Access Control

事故即评测集Incidents as an eval set

把历史上引发事故的 PR 连同其回滚与修复收成评测集,由熟悉代码的工程师逐条确认缺陷是什么、在哪一层;审查系统(提示词、工具、模型)每次改动先在这套题上打分,评测每日跑,新事故持续扩充题库。事故复盘固定追问哪一层本该拦住:与本站判例库同构,是盯梢层/门禁层的反馈闭环。来自 Anthropic Claude Code 团队代码审查实践(官方博客,2026-10-15)。Historical PRs that caused incidents, together with their rollbacks and fixes, become the reviewers’ exam questions; engineers who know the code confirm, item by item, what the defect was and at which layer; every change to the review system (prompts, tools, model) is scored on this set first, the eval runs daily, and new incidents keep expanding the question bank. Every incident review asks which layer should have caught it: the same shape as this site’s case library, a feedback loop for the Observability and Access Control layers. From the Anthropic Claude Code team’s code review practice (official blog, Oct 15, 2026).

七层 × 十关映射表Seven layers by ten gates: the mapping

七层是架构模型,一个系统由哪七层组成;十关是评估检查点,拿这张地图去量一个系统时,要逐一过堂的十个关口。十关等于七层,再加上请求进门时的网关、托底的平台,以及跨层的统一与自主。The seven layers are the architecture model: what a system is made of. The ten gates are the evaluation checkpoints a system is walked through, one by one. The ten gates are the seven layers, plus the gateway at the request entrance, the platform underneath, and unity and autonomy across layers.

十关Gate对应七层Maps to类型Kind
网关Gateway七层之外,请求入口Outside the seven layers: the request entrance跨层Cross-layer
门禁Access Control门禁层Access Control layer层内In-layer
编排Orchestration编排层Orchestration layer层内In-layer
知识Knowledge知识层Knowledge layer层内In-layer
记忆Memory记忆层Memory layer层内In-layer
工具Tool Use工具层Tool layer层内In-layer
模型Model模型层Model layer层内In-layer
盯梢Observability盯梢层Observability layer层内In-layer
平台Platform七层之外,运行底座Outside the seven layers: the runtime base跨层Cross-layer
统一与自主Unity and Autonomy七层之外,跨层治理Outside the seven layers: cross-layer governance跨层Cross-layer