跳转到主要内容
博客

构建 agent 系统的笔记

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

电路板的微距照片,显示走线、焊点和一排表面贴装元件,景深较浅。
2026年9月26日·6 分钟阅读

行动前验证:自主智能体的顺序控制

只有当执行验证位于计划与副作用之间,作为工具调用的同步依赖而非异步审计流时,它才真正有价值。

agent-verificationtool-callingai-safety
Close-up of a tattooed arm fist bumping with a robotic prosthetic arm in studio setting.
2026年9月26日·6 分钟阅读

Agent 身份治理属于目录,而非 Agent 框架

在框架内部定义的 Agent 权限对访问审查不可见,在退役后依然存续,并不断蔓延。目录原生身份可修复这一生命周期问题。

agent-identityidentity-governancedirectory-services
Beautiful sunlit view of the California State Capitol building with classic columns and vibrant blue sky.
2026年9月26日·5 分钟阅读

运行时治理需要执行点,而非策略文档

事后记录 agent 行为的治理方式无法约束它。真正有用的层是一组同步执行点,在工具调用执行之前将其阻断或重塑。

agent-governanceruntime-enforcementpolicy-versioning
Close-up of a futuristic robotic toy against a gradient background, symbolizing innovation and technology.
2026年9月26日·5 分钟阅读

Agent 部署前验证是一个故障注入问题

干净的 trace 只能证明 agent 处理了你运行过的用例。就绪意味着注入生产环境将会产生的故障,并观察恢复路径。

agent-validationfault-injectionllm-agents
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
服务器机架的近景,亮着状态 LED,机架单元之间布有网线
2026年9月25日·6 分钟阅读

Agent 沙箱首先是能力问题,其次才是容器问题

隔离的重点不在于隔离技术本身,而在于枚举、限定并撤销 agent 在一次运行中每一步所持有的能力。

agent-sandboxingcapability-securityllm-agents
Perspective of multiple yellow pipes in Beijing creating a geometric pattern.
2026年9月25日·6 分钟阅读

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

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

agent-securityruntime-policyllm-agents
A dark, minimalist photo of a computer monitor displaying the ChatGPT interface.
2026年9月25日·6 分钟阅读

沙箱逃逸是能力预算问题

智能体系统中的隔离失效,是能力授予定价错误,而非越狱缺失。控制面是针对可触达系统的单次运行预算。

agent-safetycapability-budgetssandboxing