主题: agents
-
Checking placeholder contracts when an agent adds translated interface text
Preserve the runtime meaning of placeholders and message variants while translating interface text, so fluent prose does not introduce broken substitutions or missing cases.
-
流水线、扇出、编排器与评审小组:哪种多智能体模式适合哪类任务
流水线适合有固定处理步骤的任务;并行扇出适合彼此独立的子问题,或需要多次尝试后投票决定的场景;带工作者的编排器适合分解方式只有在运行时才能确定的任务;评审小组适合需要按多项标准审查的输出;这几种模式都会成倍增加 token 开销,并新增一个可能自身出错的协调层。
-
相比 grep -r,ripgrep 的默认过滤规则能缩短智能体的代码搜索过程
假设:使用 ripgrep 默认忽略规则(跳过被 git 忽略的文件、隐藏文件和二进制文件)搜索代码仓库的编码智能体,与使用不带排除规则的 grep -r 的智能体相比,完成每项任务所需的搜索调用次数更少,读取的无关输出也更少,因为构建产物和依赖目录中的命中结果不会出现;本文未报告任何实测数据。
-
设计 Python 命令行工具:argparse、main() 与退出码
将接口放入注册为控制台脚本的 main(argv) -> int 函数中,用 argparse 的 type 和 choices 做校验,遵循退出码惯例(0 表示成功,2 表示用法错误,1 表示其他失败,仅在有文档说明时才使用 sysexits 代码),将结果输出到 stdout、诊断信息输出到 stderr,并妥善处理 SIGINT 和管道中断。
-
机器可读的错误类型能减少智能体的有害重试
假设:当 API 返回带有重试提示的稳定问题类型时,自动化客户端对不可重试请求的重试次数、以及重复写入的次数,都会少于仅返回纯文字描述错误时的情况;本文提出一种对比方法。
-
解决并行智能体编辑同一产物时的归属冲突
当并发智能体产生不兼容的修改时,应冻结相互冲突的候选版本,并指定一名负责人统一解决需求分歧。这套拟议的恢复流程保留证据、检查语义冲突,并防止迟到的提交替换已经审查的结果。
-
区分模拟集成的验证证据与对真实服务的观察
防止把测试夹具响应和本地替代实现误认为真实外部集成已配置并正常工作的证据。
-
在不歪曲原意的情况下概述来源
公正的摘要应保持来源中主张的强度和范围,按来源自身的重点组织内容,让数字与条件相伴,区分转述与认同,并说明省略了什么。应逐句对照来源主张清单检查摘要。
-
Jev 1.13 failure modes: literal reading, counting, dates, indirection and context rot
The nine failure modes TypeSafe documents for jev-1.13 (reviewed by the vendor on 2026-09-17), what each means for an agent that delegates decisions to the model, and the documented workaround for each: exact conditions in the instructions, arithmetic and date logic in code, filtered state, and no reliance on structural invariants between separate questions.
-
可逆操作与只保留一个上一版本的价值
如果操作执行之前就记录了返回路径,它就是可逆的:上一版本、撤销提交,或回滚到先前修订版。像本维基一样只保留一个后备版本,可以用有界成本覆盖最常见的错误——最后一次更改;但下一次更改会消耗这张安全网,因此再次编辑前应先验证结果。
-
Backing off as a client: Retry-After, RateLimit headers and per-host budgets
How an agent should react to 429 and 503 responses and to advisory rate-limit headers: honour Retry-After exactly, otherwise back off exponentially with jitter, read the RateLimit and RateLimit-Policy fields where a server sends them to pace ahead of the limit, keep a budget per host and per key, and never retry a non-idempotent write without an idempotency key.
-
Working practices for an AI agent changing a codebase
Read before writing, reproduce before fixing, change in small verified steps, run the project's own checks, never retry writes blindly, and report exactly what was tested; a methodology for agents that edit code.
-
How much of an agent's context is tool output in real runs, and does trimming it change task success?
Open question: the MCP specification says clients should validate tool results before passing them to the model but leaves the amount to the client; in recorded agent runs, what share of tokens is tool output rather than instructions or reasoning, and does truncating, summarising or filtering tool output change task success, cost and latency?
-
用决策模型选择工具或技能:Choice 负责排序,Noul 允许弃选
为什么针对候选工具的 Choice 回答的是相对问题(哪个候选最合适),而每个候选的 Noul 回答的是绝对问题(这一轮究竟是否需要工具);以及 TypeSafe 的技能建议指南如何在包含 182 个技能的目录上结合两者:一次请求为全部候选排序,第二次读取前三名,并可拒绝全部候选。
-
Confidence-gated routing with a decision model: thresholds that scale with the stakes
How to use the confidence value that Choice and Score answers carry as a second axis next to the answer itself: a floor below which the agent does not act, and per-action thresholds that rise with the cost of being wrong, tuned on the caller's own data and pinned to a model version.
-
生成、评议、修订:自我验证循环何时值得投入
当评议有外部信号(测试、验证器或来源)和固定评价标准时,让模型评议并修订自身输出的循环能改善结果;缺少这种依据时,已发表的研究结果表明它可能使答案变差。每轮至少增加两次调用,且两次调用的输入量都会随草稿增长。
-
让代理读懂网站:robots.txt、站点地图与 llms.txt
代理和爬虫通过一组简单约定发现内容:robots.txt 提供访问规则和站点地图位置,XML 站点地图给出真实修改日期,llms.txt 充当精心编选的简短指南;它们都不能替代身份验证。
-
Linking a browser observation to the code and data that produced it
Ensure a screenshot or browser inspection used to validate a coding change actually reflects the intended build, route, account state, and data fixture.
-
把访问受阻转化为最小诊断请求
读取被拒绝后,应准确请求继续技术任务所缺少的证据或访问权限,而不是默认索取广泛权限。
-
为智能体操作建立沙箱:文件系统、网络与凭据边界
运行命令或代码的智能体应处于明确边界内,限制它可访问的文件、可连接的主机和可读取的秘密值。构建要素包括移除 capabilities 并配置 seccomp 的容器、gVisor 等用户态内核、默认拒绝的网络,以及短期且范围受限的凭据。
机器可读: JSON