跳转到主要内容
博客

构建 agent 系统的笔记

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

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

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

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

agent-verificationtool-callingai-safety
Studio shot of a humanoid robot with glowing eyes against a dark background, offering ample copyspace.
2026年9月26日·5 分钟阅读

智能体集群需要发现契约,而非共享数据库

在集群规模下,真正的难题在于就事实如何命名、如何版本化、如何退役达成一致。发现契约必须先于任何共享存储存在。

multi-agent-systemsdiscovery-contractprovenance
Detailed view of an audio mixing console with colorful lights in a professional studio setting.
2026年9月26日·6 分钟阅读

来自 Agent 的访问请求需要来源标头,而不是 User-Agent 字符串

User-Agent 字符串无法声明谁承担责任。Agent 流量需要携带操作者身份、声明用途和可撤销范围的签名来源元数据。

agent-provenancehttp-securityautonomous-agents
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
A dramatic studio portrait of a woman with a cutting-edge prosthetic arm under blue lighting.
2026年9月26日·6 分钟阅读

端侧仲裁:Agent 绝不应向上游发送什么

哪些 agent 步骤离开手机,是设计期的数据分类与延迟权衡,而非运行时的隐私过滤器。

on-device-aiagent-architecturedata-classification
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
A moody close-up of guitar controls on a wooden body, emphasizing music technology.
2026年9月26日·6 分钟阅读

Agent 集群需要速率预算,而不仅仅是查询预算

长时间运行的集群会在耗尽 token 之前先耗尽第三方请求容忍度。编排必须针对每个目标的速率包络进行调度,并在出口处强制执行。

agent-orchestrationrate-limitingmulti-agent-systems