AI 智能体工作流中的幻觉检测方法指南
n8n 发布指南,梳理 AI 智能体工作流中的幻觉检测方法,将幻觉分为事实性、上下文性、虚构和自相矛盾四类。检测手段包括基于 DeepEval 的忠实度与接地性检查、自一致性检查、语义熵与不确定性估计、来源与检索验证,以及置信度阈值和人工介入。指南强调没有单一检测器能覆盖所有失败模式,需按失败类型分层组合多种检查。
n8n 发布指南,梳理 AI 智能体工作流中的幻觉检测方法,将幻觉分为事实性、上下文性、虚构和自相矛盾四类。检测手段包括基于 DeepEval 的忠实度与接地性检查、自一致性检查、语义熵与不确定性估计、来源与检索验证,以及置信度阈值和人工介入。指南强调没有单一检测器能覆盖所有失败模式,需按失败类型分层组合多种检查。
看到这个街头霸王,80 后的童年记忆回来了! 确实很感慨,09 年毕业后刚学编程时,自己能写个扫雷、写的 1024 就好开心,写出来自己能玩半天 ... 那时记得还是 Flex 和 Silverlight,也是那时开始对前端特别感兴趣,一直到现在。 现在再回看,这些程序,基本都是 Claude Code / Codex 几分钟就能搞定的小玩意,甚至不咋需要思考! 突然有个想法,我想把自己小时候和上学时觉得好玩的,现在已经失传的小游戏们,重新做一遍,也让儿子这个 10 后知道知道,他爸小时候有多开心!! 先从我第一个手机 Moto E770 装的第一个 WAP 页游开始吧,记得叫做:打砖块?
Anthropic Applied AI 团队发布指南,讲解何时把 orchestrator 下的路由器、规划器和领域子智能体合并进单个主 Agent 循环。文中对比显示,带 skills 的单智能体在质量上常优于一提示全包和子智能体设计,且成本和延迟更低,一家客户改用单循环后运行时间约快 2x。
推荐理由:Anthropic 根据多个企业部署对比总结何时把子智能体合并进主循环,并给出迁移套件、评估集和分阶段合并方法,可直接迁移到自己的 Agent 架构决策。
n8n Blog 发文讲解如何在自托管 LLM 与云 API 之间做请求路由,并给出混合方案。
n8n 博客对比了有状态与无状态架构在 AI 智能体构建中的取舍:有状态应用保留对话历史、认证信息等跨请求状态以维持连续性,无状态应用则让每个请求独立处理,更易在实例间分发、扩展和容错。LLM 本身不会在两次推理请求间自动保留对话,智能体的记忆需由系统在模型外存储并检索状态,再注入后续请求的上下文。n8n 中可按状态存活时长选择 memory 节点或 state store。
Lufthansa Systems 用 Figma Make 为 Lido Pilot Apps 的驾驶舱动态地图做原型,把 Figma 设计资产与外部数据源同时接入,让飞行员在更真实的场景中验证想法。
LLM Prompt Caching Versus Semantic Caching Caching LLM costs is two different problems: reuse the prefix with prompt caching, reuse the answer with semantic caching, and never confuse one for the other https://open.substack.com/pub/bytebytego/p/llm-prompt-caching-versus-semantic?r=57j98&utm_campaign=post-expanded-share&utm_medium=web
Anthropic 最新模型(含 Claude Mythos 5.1、Claude Opus 5.5、Claude Sonnet 5.5 等)的所有文本输出都内置 AI 水印,覆盖 Claude Desktop、Claude Code 和 API,目的是遵守欧盟 AI 法案。
作者实测12个Personal Agent后提出五维评测框架,认为判断好坏的关键不在模型,而是账号与应用能否通过skill、MCP、CLI等方式接入。
Sarvam AI 介绍其为企业 Agent 构建的知识编织层,由知识树和领域本体两层组成,把分散文档整理成 Agent 可导航、查询和引用的结构。
Philipp Schmid 分享一段可复用的只读安全排查提示词,用于检查本地仓库、容器和环境在 10 月 21-22 日安全披露中的受影响情况。
教程演示如何用 NVIDIA 开源的 Nsight Python 库在 Colab T4 上剖析 GPU kernel:用 nsight.annotate 标注代码、用 nsight.analyze.kernel 装饰基准函数,直接得到包含每次运行硬件指标的 pandas DataFrame。
这篇教程在 Apple M4 的 CPU 上实测 Cactus Compute 的 16.9 MB 语音转写模型 Whistle,用配对说话人聚类 bootstrap 加 Holm 校正与 Whisper tiny 和 base 对比。
CS 329Z: Engineering AI Agents Stanford / Fall 2026 @stanfordnlp https://cs329z.stanford.edu/ 课程定位:从"模型"到"系统"的工程学 覆盖:简单 LLM 流水线 → 复合 AI 系统 → 自主 Agent。三位讲师的背景也高度互补: @Diyi_Yang(斯坦福 NLP 教授,人机交互与社会计算方向) @michaelryan207(DSPy 核心贡献者,自动评估 AutoMetrics 作者) @jyangballin(SWE-agent / SWE-bench / SWE-smith 作者,软件工程 Agent 领域最重要的研究者之一) # 课程主线:三大工程挑战 贯穿全课的三个核心问题——分解(decomposition)、数据(data)、评估(evaluation)。11 周的内容基本围绕这三条线展开,可以分为五个模块: 模块 1:构建基元(Week 2–3) · LLM 作为构建材料:API/SDK(litellm)、结构化输出、约束生成、解码策略、test-time compute、上下文工程、模型选型与成本/延迟权衡 · RAG:embedding、向量库、分块策略、混合检索、cross-encoder 与 ColBERT 后期交互 · 工具调用:函数调用 API、MCP(Model Context Protocol)、工具设计、代码沙箱、错误处理与重试 模块 2:框架与设计模式(Week 3–5) · 框架层:DSPy(signature / module / optimizer)、LangChain/LangGraph、LlamaIndex,重点是"框架抽象了什么 vs. 你手写了什么" · 设计模式:workflow vs. agent 的分类学,五种可组合 workflow 模式,ReAct / plan-and-execute / reflection,"scaffold(脚手架)本身就是设计决策" · 记忆架构:短期/长期记忆、记忆作为工具动作、文件系统作为外化记忆、跨 Agent 记忆(MemGPT、Mem0、Generative Agents) · 多 Agent 系统:编排模式、handoff 与状态传递,以及一个很有态度的对照阅读——既读 AutoGen,也读《Why Do Multi-Agent LLM Systems Fail?》和 Neubig 的《Don't Sleep on Single-agent Systems》 模块 3:优化(Week 5) · 从提示词到微调的全景:GEPA、MIPROv2、OPRO、TextGrad(提示优化);LoRA/QLoRA、蒸馏、RLHF/DPO(权重优化);test-time scaling(推理算力) · 核心问题是决策框架:什么时候优化 prompt、什么时候优化 weights、什么时候堆推理算力 模块 4:数据与评估(Week 6–8)——最有分量的部分 · 数据:trace、demonstration、feedback 三类数据;训练数据 vs. 评估数据;数据飞轮;合成数据;从 Agent 轨迹构建数据集(SWE-smith) · 评估基础:为什么 eval 难;4 元组框架(request / environment / stopping criteria / scorer);好 benchmark 的性质;tinyBenchmarks · 评估基础设施:三类 grader、LLM-as-judge 的 prompt 设计与已知偏差、pairwise vs. pointwise、非确定性指标 pass@k vs. pass^k、harness 设计 模块 5:安全与前沿(Week 8–11) · 安全:工具访问的隐私风险、prompt injection(含间接注入)、红队、沙箱与权限模型、输出护栏、human-in-the-loop · Coding Agent:SWE-agent、Claude Code、OpenHands 的端到端架构对比 · 主动式 Agent:从 reactive 到 proactive,General User Models(GUM)、Next Action Prediction,以及"Agent 何时应主动、何时应等待"的 mixed-initiative 问题 · 开放问题:多模态/web/计算机使用 Agent、科学 Agent、长时运行架构、生产可观测性(tracing、monitoring、成本管理) # 作业设计:一手建、一手评 HW1:从零构建 Agent 系统(10%) 给定论文库,构建能检索并推理回答科学问题的 Agent。 · Part A:只用 litellm 手写 RAG + 工具调用 + ReAct 式 Agent 循环 · Part B:用 DSPy 重建关键组件,并反思框架抽象了什么 HW2:评估一个 Agent(10%) 给定一个预构建 Agent,设计完整评估套件:代码型 grader、至少一个 LLM-as-judge、用 4 元组框架构建 benchmark 任务、错误分析。
There's not enough buzz around Claude Mods. Read this Claude Mods article if you want to: - Understand Claude Mods basics - Install and use the most useful mods today - Ponder where the agent-human interface will go For @latentspacepod.
When our AI code reviewer's cost per run doubled, we dug into the token usage to find out why. Learn how we used prompt caching and intelligent model routing to slash our inference bill by 68% while speeding up reviews. https://cfl.re/4isj2NU
SGLang 的 Elastic EP Scaling 让 MoE 模型可在运行中按细粒度增量加入 GPU,无需部署完整副本或重启服务,max_ep_size 预留元数据与通信缓冲容量。
作者解读 NVIDIA OpenShell 参考架构,主张 Agent 安全治理应放在 Agent 碰不到的基础设施层。
I just published my roadmap for building evals on highly subjective tasks. Here are the key steps involved and practical tricks for reducing noise / increasing confidence… Blog is here: https://cameronrwolfe.substack.com/p/subjective-evals Why is this difficult? Evaluating agents is already hard due to their broad scope, emphasis on expensive / long-horizon tasks, and non-determinism. Subjective tasks make this even harder because we cannot deterministically verify solutions and must rely on human judgments (or LLM judges). This introduces additional noise into an already difficult evaluation process. Evaluation roadmap. We can build reliable evaluations using a repeatable framework with three components: - Human evaluation: Our North Star for quality. Create quality guidelines that clearly define quality with the help of subject-matter experts, calibrate human evaluators to ensure agreement, and continually monitor evaluation quality. - Offline evaluation: Use calibrated LLM judges or task-specific rubrics as an efficient proxy for human evaluation. This allows us to scale experimentation without relying on expensive human evaluation for every new model. - Production monitoring: Track quality signals from real-world agent usage and use A/B testing to validate improvements before fully deploying a new agent. Multi-stage evaluation. These components form a tiered evaluation process: Offline evaluation → Human evaluation → Production A/B test → Full deployment We can test many ideas automatically, send promising candidates to human evaluation, and validate improvements through production A/B testing. Continual production monitoring then allows us to discover new use cases / failure cases in production that we can add into the earlier stages of evaluation to create a feedback loop. Sampling useful data. Evaluation quality depends heavily on which tasks we select. We want tasks that are diverse, realistic, difficult, discriminative, and accurate. Techniques like structured task taxonomies, model-based difficulty filtering, Item Response Theory (IRT), and LLM-based auditing help us construct more informative evaluation sets. Handling noise. We should leverage statistics throughout the evaluation process: - Power analysis: Estimate the number of evaluation samples needed to detect meaningful improvements. - Confidence intervals: Quantify uncertainty and provide clear confidence signals alongside evaluation results. - Re-sampling: Repeat agent / judge evaluations to reduce within-task variance and potentially tighten confidence intervals. - Paired comparisons: Evaluate models on the same tasks to more reliably detect performance differences. Key takeaway. An improved benchmark score does not always mean our agent is more capable. We need well-designed evaluation tasks, calibrated human / model evaluators, and statistical confidence signals to distinguish meaningful capability improvements from noise (especially on subjective tasks). By combining these techniques into a repeatable evaluation process / roadmap, we can make building and maintaining evaluation suites more systematic, reliable, and scalable.
看过谭谭交通么兄弟们,这个节目很搞笑,但是说话实说里边很多对话不是很能听懂,比如福建司机找医院这个。我一直想知道,这个福建人,到底说的是什么,他朋友的翻译到底对不对。现在好了,Ming-3.0语音系列模型来了,解决了我的问题,你们也可以去试试! https://x.com/i/article/2113042697183465472
Grok Bot can now build reports, memos, and dashboards. Ask Bot for a page, then edit it together or have Bot keep it up to date.
Pollen Robotics 与 Hugging Face 联合 NVIDIA 发布教程,讲解用 Isaac Lab 3.0 和 Newton 训练开源双足机器人 Microduck 的行走策略并部署到实机。
Google 开发者团队宣布 Agents CLI 从 v1.5.0 起引入 Extension System,开发者可在不 fork 工具的情况下覆盖或新增命令。
小贴士:看看生态中不同路由器如何使用 https://openrouter.ai/benchmarks/routers 进行基准测试 不同路由器相对前沿模型的成本对比 👇
教程演示如何用 torch.profiler 配合 NeuronConfig 与 NeuronProfiler 在 AWS Trainium 上抓取干净的推理性能 trace,并通过 key_averages() 表定位消耗 Neuron 设备时间的算子。
GitHub 正把最繁忙的仓库迁入 Azure,通过将写入仲裁的串行化范围从整个仓库缩小到单个引用,解决跨区域约 25ms 往返带来的吞吐瓶颈。内部真实流量测试中,对不同引用的写入吞吐量提升 3–4 倍且延迟更低。目前多数仓库的五个副本已有两个位于 Azure,Azure 承担约一半 Git 流量。
OpenAI 详解其为 ChatGPT 构建的 LLM 驱动广告技术栈,可理解对话意图、将广告与回答内容分离,并支撑大规模投放相关广告。该技术栈以用户信任与广告相关性为核心设计目标。
作者分享用 Claude Mods 定制 Claude Code 工作流的经验,认为它让 harness 从面向机器转向面向人类注意力,成为可与 Claude 共同编写的注意力界面。
Talking at 3pm at @nvidia GTC Berlin on how @Shopify post-trains open source models and optimizes inference using Nvidia's models and tools. Read our blog post about it here: https://shopify.engineering/open-model-task-experts
Grok Bot is now one step closer. Set it as your iPhone's Action Button and press it to talk with Bot.
https://x.com/i/article/2112617637763047425
Tessl 工程博客提出个人应用这一新类别,认为 JavaScript/TypeScript 加 SQLite 足以支撑 AI 生成的一次性个人软件,并用波恩垃圾回收日程 Bonn Tonne、约时间应用 Daybreak 和销售报价原型 Quote-Assist 三个实例验证,示例均由 LLM 生成。
https://x.com/i/article/2103456568209768449
完成了《火炬之光 2》在 Mac 上的现代化改造。让十几年前的引擎和各种组件在 M 芯片上原生运行。支持了 Retina 的高清显示,游戏窗口能够任意拖动、最大化。 下一步准备把主机板的手柄支持接回来,让一个版本能同时支持键鼠和手柄。做完后再移植手机,交互就比较简单了。