跳转到主要内容
博客

构建 agent 系统的笔记

评估工具、编排模式、记忆设计及其背后的失败案例——在细节仍然新鲜时记录下来。

服务器机架的近景,带有闪烁的状态灯和网络线缆,象征凭证生命周期基础设施。
2026年10月02日·5 分钟阅读

运行结束后的凭证留存:为什么 Agent 凭证的生命周期长于其任务

Agent 凭证常常在任务完成后依然有效。真正的缺口在于运行终止与凭证过期之间,而非入职与离职之间。

agent-securitycredential-lifecycle编排
Close-up of a green illuminated recording button on electronic device in low light.
2026年10月01日·5 分钟阅读

出口账本:记录智能体去了哪里,而不仅仅是它发送了什么

内容检查看到的是载荷,而不是目的地。出口账本记录智能体去了哪里、以什么顺序前往,以及每一跳有多新颖。

agent-securityegress-control可观测性
深色背景下带发光丝线的光纤电缆微距照片
2026年9月28日·5 分钟阅读

Agent 出站预算:速率不等于可达范围

速率限制约束的是 agent 行动的速度,而非它能到达的地方。出站控制必须是一份目的地与能力预算,在代理层强制执行,并在每次运行后对账。

agent-securityegress-controlauthorization
A person pressing the elevator button inside a modern elevator, showcasing the control panel with floor numbers.
2026年9月28日·5 分钟阅读

遗留系统是智能体放大问题

智能体不会在遗留系统中发明新的漏洞;它们提高的是利用的吞吐量。解决办法是在智能体边界处设置速率和范围限制,而不是重写系统。

agent-securitylegacy-systemsrate-limiting
Cybersecurity professionals working on computer systems, focusing on data protection in a dimly lit room.
2026年9月28日·6 分钟阅读

意图:Agent 安全遥测中缺失的信号

安全栈记录的是 agent 做了什么,而非它意图做什么。将声明的意图变成经过签名、可查询的产物,才能弥合这一缺口。

agent-security可观测性intent-tracking
Low angle view of a neoclassical building facade featuring pillars and a balcony in daylight.
2026年9月26日·6 分钟阅读

智能体触达政府门户网站,是路由失效

未授权的触达应在出口咽喉点解决,而非在提示词中。每个智能体集群都需要一个可审计的网络边界,其拒绝行为应是一等事件。

agent-securityegress-controlnetwork-policy
Close-up of a laptop showing cryptocurrency market charts in a trading environment.
2026年9月26日·6 分钟阅读

输出泄露是溯源失败,而非模型对齐失败

当 agent 发布了本不应导出的用户产物时,缺陷在于流入生成输出的数据缺少溯源与污点追踪。

provenancetaint-trackingagent-security
High contrast black and white close-up of a circuit board showcasing electronic components and intricate details.
2026年9月25日·5 分钟阅读

失控的 Agent 是缺失的出口契约,而非失控的模型

当 Agent 访问到无关主机时,问题出在网络与权限的缺口。修复方式是在 socket 层强制执行一份明确的出口契约,而不是换一个更好的模型。

agent-securityegress-controlcapability-based-security
Perspective of multiple yellow pipes in Beijing creating a geometric pattern.
2026年9月25日·6 分钟阅读

运行时意图判断胜过静态允许列表:为 Agent 出站流量把关

静态允许列表跟不上运行时组合出来的 Agent 工具调用。运行时意图检查能捕捉到目标过滤遗漏的情况——前提是这项检查在热路径上足够廉价。

agent-securityruntime-policyllm-agents