2026年起,AI 正从「回答问题」迈向「交付结果」。 Since 2026, AI has been moving from answering questions to completing tasks.
LLM 为大脑;记忆 / 工具 / 规划 / 行动 为四肢;行动层之下挂载两个 Agent,借助环境反馈相互协同。LLM is the brain; Memory / Tools / Planning / Action are limbs; two Agents hang below Action layer.
附图 · Agent 系统架构:LLM 中枢与四模块协同Fig: Agent Architecture – LLM Core & Four Modules
~/.openclaw/workspace/ 下的 8 个文件 + 1 个目录,构成 Agent 的完整人格 —— 文件顺序即优先级。Eight files and one directory under ~/.openclaw/workspace/ compose the agent's complete persona — file order is priority.
文件顺序即优先级。AGENTS.md 定义能力边界,SOUL.md 注入灵魂,TOOLS.md 划定禁区,这 8 个文件共同构成 Agent 的完整人格。File order is priority: AGENTS.md bounds its capabilities, SOUL.md breathes in the persona, TOOLS.md marks the no-go zones — together these eight files compose the agent's complete personality.
一条能力阶梯,每一级都将模型「向场景更推进一步」。loop engineering 是当下正在书写的下一级。A capability ladder — each rung pushes the model one step closer to the scene. Loop engineering is the rung being written now.
LLM 变强有两条路:横轴换更强的 base model(GPT-4 → GPT-5),拼数据拼算力,是 OpenAI / Anthropic 的主场;纵轴在现有 LLM 上叠工程技术——Augmenting LLMs,本页聚焦的就是纵轴。Two paths: the horizontal axis swaps stronger base models (GPT-4 → GPT-5) — OpenAI / Anthropic territory; the vertical axis stacks engineering on existing LLMs — Augmenting LLMs, the subject of this page.
在「人—AI」协作中,把事做对、做快、做合规、做安全的能力The ability to work with AI effectively, efficiently, ethically, and safely
智能体不是一种功能,是一种代价:它替你处理规则写不清的模糊任务,用不好就把确定的事搞成不确定。以下四页整理自《大厂Agent落地手册》《Agent面试题库》的标注要点。An agent is not a feature, it is a cost: it handles tasks whose rules cannot be written down; used badly, it turns certain work into uncertain work. Four pages distilled from the highlighted notes of two field manuals.
没有谁全面压过谁,只有谁更贴合当前的任务形状与合规压力;多数团队从单智能体起步、往图式编排收,性价比最高。No architecture dominates — only one fits your task shape and compliance pressure. Most teams start with a single agent and converge on graph orchestration.
模型对上下文的利用不是均匀的,更看重开头和结尾、中间段容易被稀释;检索不是精确查询,是向量空间里的概率近邻匹配。Models use context unevenly — the beginning and end weigh more, the middle gets diluted. Retrieval is probabilistic nearest-neighbour matching, not an exact query.
评测的根本意义是降低发布决策的不确定性:任何不能帮你决定「更能发还是更能拦」的评测动作都是浪费。Evaluation exists to reduce release uncertainty: any test that does not tell you whether to ship or to block is waste.
组织的 AI 成色,最终沉淀为 Context 资产——左:四道检验,答案都指向 Context 与 Loop;中右:Context 从六个来源积累为知识资产,再按 200K 预算纪律投入 Agent / IDE 生产。An organization's AI capability ultimately crystallizes as context assets — left: four tests, all pointing to context and loops; center & right: context accumulated from six sources, then spent against a 200K budget in Agent / IDE environments.
《Rewired》:89% 的企业已启动数字化转型,却只兑现 31% 的预期收入提升——卡点从来不在技术,而在组织能力。这本手册的骨架,正是 AI 转型的一面镜子。Rewired (McKinsey, 2023): 89% of firms have launched transformations, yet captured only 31% of the expected revenue lift — the bottleneck is organizational, not technical. Its skeleton mirrors AI transformation.
场景 → Skills → 知识与工具 → 评估沉淀,四层闭环:个人探索沉淀为组织资产,越用越厚。Scenes → skills → knowledge & tools → compounding: personal exploration hardens into firm assets.
正向事件只是起点:三个各司其职的 Agent,把交易判断拆成可复核、可回测的分析环节——我观察 Agent 落地金融的一个切片。A positive event is only the starting point: three specialized agents turn the trade call into reviewable, back-testable steps — one slice of how agents land in finance.
这一段不看收益,只看方法:四条能直接搬到别的场景的工程约束。Not the returns — the method: four constraints you can port to other domains.
五条主线与一组关键数字,勾勒 2026 年的产业坐标。Five storylines and a set of key numbers — the 2026 coordinate system.
智谱衡量 Token 业务价值的框架:三个乘数分别落在模型、服务与工程三层。Z.ai's framework to measure the business value of tokens: three multipliers, three layers.
数据、算法、工程、后训练——每条轴持续放大,收益相互叠加,才堆出前沿能力。Data, algorithm, engineering, and post-training — each axis keeps scaling, and the gains compound.
GLM 系列覆盖文本、多模态、语音、视频方向;模型名称、版本与可用性以官方模型目录为准。The GLM family spans text, multimodal, voice and video — names and availability follow the official catalog.
与 GLM-5.2 同基座,提升全部来自后训练;聚焦复杂软件工程、长程 Agent、终端操作与安全防御。Same base as GLM-5.2 — all gains from post-training: complex engineering, long-horizon agents, terminal ops, defense.
定价为 1/10 的 GLM-5.3,限时折扣内为 1/20,为 Opus 4.8 的 1/40 —— 同样智力,1/40 价格。Priced at 1/10 of GLM-5.3 (1/20 during the launch promo) and just 1/40 of Opus 4.8 — same intelligence at 1/40 the price.
右:帕累托前沿——GLM-5.3-Flash(折扣价)$0.045 / 57 分,落在全局最优边界;左:架构——线性 + 稀疏混合注意力与 IndexPool,KV 缓存 ↓4.44 倍、注意力计算量 ↓3.01 倍。Right: Pareto frontier — GLM-5.3-Flash (discounted) at $0.045 / 57 pts on the global boundary. Left: architecture — KV cache 4.44× smaller, attention compute 3.01× lower vs. GLM-5.3.
左:三段递进的数据体系;右:Agentic 数据的四个要点——先总览,再聚焦执行轨迹。Left: the three-stage pipeline; right: four essentials of Agentic data — overview first, then execution traces.
多级过滤、去污染与可验证三管齐下——清洗的目标不是越洗越少,而是越洗越好。Multi-level filtering, decontamination and verifiability — wash until better, not merely less.
渐进式流水线:每阶段只聚焦一类能力,跨阶段蒸馏回灌旧能力——越往后越通用。A staged pipeline: one capability per stage, distilling old ones back in — more general as it climbs.
心法:SFT 是对齐手段,不是灌知识——让模型知道「以什么身份、按什么格式、用什么思考方式来干活」。SFT aligns format, it does not pour in knowledge — it teaches the model whom to be, what format to follow, how to think.
左:算法怎么选、怎么稳;右:奖励怎么分级、作弊怎么防——RL 的命门在奖励。Left: keeping RL stable; right: grading rewards and blocking hacking — rewards are RL’s lifeline.
上:环境即数据——好环境三条标准、流水线五环节;下:六个真实踩过的坑,现象在前、解药在后。Top: environments are data — three standards, five pipeline steps; bottom: six real pits, symptom first, fix after.
左:训练阶段如何构建大模型;右:上线后模型如何对外提供服务;模型主干(Decoder-only)则从 Token 到生成循环运转。Left: how training builds the model; right: how inference serves it — while the Decoder-only backbone runs the token-to-generation loop.
上一行:token 如何一步步算出 K/V;下一行:算出的 K/V 为什么能存、占多少、两阶段瓶颈为何不同——生产优化抓手指路下一页。Top: how each token’s K/V gets computed; below: why it can be cached, what it costs, and why the two stages differ — production levers on the next page.
显存账本已经立起来,代价就落在这两处:占多少显存、卡在哪一段。Once the cache exists, the bill shows up in two places: how much memory, and which phase stalls.
接上一页——显存账单已经立起来,这一页讲怎么把它压下来:管理、复用、压缩、路由,外加一条客户侧立即可用的协议通道。Picking up from the previous page — now how to shrink the memory bill: manage, reuse, compress, route, plus a protocol path usable on the client side today.
prompt_cache_key / X-Session-Id,把前缀命中打开——不用改模型、不用改引擎Send prompt_cache_key / X-Session-Id at the protocol layer to switch prefix hits on还有三类手段能把成本再压一档,且都不需要改模型。Three more dials push cost down — none of them touch the model.
X-Session-Id 请求头;OpenAI Responses 协议用 prompt_cache_key 字段——多轮对话与会话级复用的直接开关。To raise cache hits: send X-Session-Id under the OpenAI Chat-compatible protocol, or prompt_cache_key under OpenAI Responses — the direct switches for multi-turn and session-level reuse.上一页 Lever 03/04 的协议抓手落地页——隐式缓存免费但看运气,显式缓存两个参数把「同会话请求」钉到同一条缓存链路,命中率、TTFT、成本三改善。The protocol-level landing for Levers 03/04 — implicit cache is free but luck-dependent; two explicit parameters pin same-session requests onto one cache chain, improving hit rate, TTFT and cost together.
cached_tokens 就会莫名偏低。GLM-5.3/5.2/5 ship implicit caching: the server auto-detects similar inputs and reuses them at a discount. But it only sees content similarity, not routing — when load balancing scatters a session across cold nodes, cached_tokens mysteriously drops.# 什么都不用改,请求原样发
POST /api/paas/v4/chat/completions
{"model":"glm-4.6","messages":[...]}X-Session-Id,或 body 传 prompt_cache_key——二选一即可,同时传时 X-Session-Id 优先。多轮对话、Agent 连续工具调用、同文档多次提问、固定 System Prompt 批处理是四大典型场景。Claude Code 等工具默认已带同类字段。Tag requests with a session label and they get pinned to one cache chain: X-Session-Id via HTTP header, or prompt_cache_key in the body — pick one; if both are sent, X-Session-Id wins. Multi-turn chat, agent tool loops, repeated doc Q&A and fixed-system-prompt batch jobs are the four sweet spots. Claude Code already sends an equivalent field by default.# 把会话钉在同一个副本上 X-Session-Id: user-8841-thread-07 # Responses 协议换成字段 {"prompt_cache_key":"acme-handbook-v3"}
cached_tokens / prompt_tokens(响应 usage.prompt_tokens_details)。验证法:取 2000+ Token 固定 System Prompt,冷启动一次后携相同 ID 再请求,看 cached_tokens 是否逼近共同前缀长度;再跑一组不带 ID 的对照组,两组之差就是真实收益。Hit rate = cached_tokens / prompt_tokens from usage.prompt_tokens_details. To verify: take a 2000+ token fixed system prompt, warm it once, re-request with the same ID and watch cached_tokens approach the shared prefix; a no-ID control group shows the true gain.# 看这两个数就知道命中没有 "prompt_tokens": 2048, "prompt_tokens_details": {"cached_tokens": 1792} # 命中率 1792 / 2048 = 87.5%
| 协议Protocol | 端点Endpoint | X-Session-Id | prompt_cache_key |
|---|---|---|---|
| OpenAI Chat | /api/paas/v4/chat/completions | ✓ Header | ✓ Body |
| OpenAI Responses | /api/v1/responses | ✓ Header | ✓ Body |
| Anthropic | /api/anthropic/v1/messages | ✓ Header | ✗不支持not supported |
官方 9.15 Cache 培训口径——命中部分按输入价 25% 计费;对平台它是集群健康度指标,对客户它是真金白银的折扣,85% 已成为 TPM 资源申请的新基准线。Official Sep-15 training numbers — cached tokens bill at 25% of input price; for the platform it is a cluster-health metric, for customers a real discount, and 85% is now the TPM baseline.
| 命中率Hit | 输入Input | 总成本Total | 等同折扣As-if |
|---|---|---|---|
| 0% | ¥0.80 | ¥0.828 | 原价(10 折)list (10/10) |
| 50% | ¥0.50 | ¥0.528 | 6.4 折/10 |
| 90% | ¥0.26 | ¥0.288 | 3.5 折/10 |
| 95%(生产水位)(prod) | ¥0.23 | ¥0.258 | 3.1 折/10 |
本声明适用于本演示文稿全部页面,关键条款摘编如下。This notice applies to all pages of this deck — key terms summarized below.
本文件由智谱员工编制,仅供一般参考;所载内容(含产品介绍、技术参数、性能指标、定价及案例数据)均不构成任何形式的要约、要约邀请、投资建议、承诺、保证或合同条款,亦不构成法律、商业、财务或税务意见;不得依赖本文件作出投资、采购或其他商业决策。Prepared by a Zhipu employee for general reference only. Nothing herein — product descriptions, technical parameters, performance metrics, pricing or case data — constitutes an offer, invitation, investment advice, commitment, warranty or contractual term, nor legal, commercial, financial or tax advice.
如本文件与公司正式发布的官方文件(含披露公告、定期报告、官方技术文档、刊例价目表及正式合同)存在任何差异或不一致,一律以公司官方文件为准;本文件不构成对官方文件的替代、修订或补充。In case of any discrepancy with officially released documents (disclosure filings, periodic reports, official technical documentation, published price lists, formal contracts), the official documents shall prevail in all respects.
中国内地:本文件并非《证券法》等法规项下的信息披露文件,不构成证券投资咨询活动。中国香港特别行政区:并非《证券及期货条例》所界定的招股章程、发售文件或受规管广告。中国澳门特别行政区:并非须经事先审批的金融产品宣传品。Mainland China: not a disclosure document under the PRC Securities Law, nor securities-investment consultancy. Hong Kong SAR, China: not a prospectus or regulated advertisement under the SFO. Macao SAR, China: not regulated financial-product promotional material.
本文件全部内容(含文字、图表、版式设计及所含商标与标识)的知识产权均归公司或其权利人所有;未经事先书面许可,不得复制、转载、摘编、传播或用于商业用途。第三方数据与商标归属其各自权利人,引用仅用于说明目的。All IP herein is vested in the Company or its licensors; no reproduction, adaptation or commercial use without prior written consent. Third-party data and trademarks belong to their respective owners, cited for illustration only.
在适用法律允许的最大范围内,公司对本文件所载内容因任何原因引起的任何直接、间接、附带、惩罚性或后果性损失(含利润损失、业务中断或数据丢失)不承担任何责任;本文件不创设任何明示或默示的保证。To the maximum extent permitted by law, the Company shall not be liable for any direct, indirect, punitive or consequential loss arising from the contents hereof; no warranty, express or implied, is created.
所载信息仅反映编制时点情况,产品规格、性能数据、定价及服务条款可能随时调整而恕不另行通知;部分第三方评测结果存在取数时效,以对应出处披露为准。本声明的解释、效力及争议解决均适用中华人民共和国法律。Information reflects the preparation date only; specifications, performance data, pricing and terms may change without notice. Third-party evaluations are time-sensitive per their original disclosures. Governed by the laws of the PRC.
从「会聊」到「会干」:Agent 浪潮下的大模型与中国路径 From "Chatting" to "Doing": The Agent Wave, Foundation Models, and China's Path