←搜索结果

按匹配度 · 共 398 条结果 清除搜索

星期四

  1. Anthropic:Claude.dev 开发者博客精选

    Claude Code 团队总结 AI 智能体提示词缓存的优化经验

    Claude Code 团队总结了构建长时运行 AI 智能体时优化提示词缓存的实践,核心是保持请求前缀稳定,以降低延迟和成本。具体做法包括静态内容前置、通过消息传递更新、不在会话中途更换工具或模型,以及用 defer_loading 延迟加载工具。执行上下文压缩时,应沿用父会话的系统提示词、上下文和工具定义,使已有缓存前缀能够复用。

    System Prompt Layout, top to bottom: base system instructions and tools (globally cached), CLAUDE.md and memory (cached per project), session state such as env, MCP and output style (cached per session), and messages, which grow each turn.

    to most effectively structure your prompt, use tools, and layer on compaction. It is often said in engineering that "cache rules everything around me", and the same rule holds for agents. Long running agentic products like Claude Code are made feasible by prompt caching which allows us to reuse computation from previous roundtrips and significantly decrease latency and cost. At Claude Code, we build our entire harness around prompt caching. A high prompt cache hit rate decreases costs and helps

    匹配字段正文

星期五

  1. Anthropic:Claude.dev 开发者博客精选

    Claude Code 团队如何从智能体视角设计工具

    Anthropic 的 Claude Code 团队介绍了如何从模型视角设计、测试并持续调整智能体工具。团队用 AskUserQuestion 取代不稳定的文本格式方案,以 Task 替换限制模型协作的 TodoWrite,并从预索引 RAG 转向由 Claude 主动搜索代码库、通过技能渐进获取上下文。Claude Code 目前约有 20 个工具,团队还用独立子智能体检索产品文档,以保持主智能体上下文简洁。

    Diagram titled "Finding the sweet spot": a spectrum from "no structure" to "too rigid". Modified markdown output sits near "no structure" (free but messy, hard to format). An ExitPlanTool parameter sits near "too rigid" (the plan is already formed, so the questions come too late). The AskUserQuestion tool is highlighted in the middle (structured, composable, with a clear UI surface).

    Learn how the Claude Code team designs, tests, and evolves tools by thinking from the model's point of view. One of the hardest parts about building an agent harness is constructing its tools. So how do you design your agents' tools? Do you give it one general-purpose tool like bash or code execution? Or fifty specialized tools, one for each use case? To put yourself in the mind of the model, imagine being given a difficult math problem. What tools would you want in order to solve it? It would d

    匹配字段正文

星期二

  1. Anthropic Engineering

    Anthropic 分享长时应用开发的 Harness 设计

    Anthropic Labs 成员 Prithvi Rajasekaran 介绍了用于长时自主应用开发的 harness 设计,借鉴 GAN 思路搭建生成器与评估器分离的多智能体结构,并扩展到规划器、生成器、评估器三智能体架构。在前端设计实验中,评估器通过 Playwright MCP 实际操作页面并按设计质量、原创性、工艺、功能性四项标准打分,单次生成迭代 5 到 15 轮,完整运行最长约四小时。作者随后用 Opus 4.5 和 Opus 4.6 迭代该 harness,发现模型能力提升后部分组件不再必要,例如 Opus 4.6 上可移除 sprint 结构并把评估器改为运行结束时的单次检查。

    d designs, and getting it to build complete applications without human intervention. This work originated with earlier efforts on our frontend design skill and long-running coding agent harness , where my colleagues and I were able to improve Claude’s performance well above baseline through prompt engineering and harness design—but both eventually hit ceilings. To break through, I sought out novel AI engineering approaches that held across two quite different domains, one defined by subjective t

    匹配字段正文

星期日

  1. Ahead of AI

    现代大语言模型注意力变体可视化指南

    文章梳理现代开放权重大语言模型采用的注意力变体,包括 MHA、GQA、MLA、滑动窗口注意力、DeepSeek Sparse Attention、门控注意力与混合注意力。作者结合 DeepSeek、Qwen、Gemma、Kimi 等架构,比较各方案在 KV cache、长上下文成本、建模表现和实现复杂度上的差异。文章还介绍了一个包含 45 个条目的大语言模型架构图库。

    d architectures are still a novelty, and the main selling point is mainly (long-context) efficiency versus just modeling performance. Hence, I think they are a great candidate for agent contexts (like OpenClaw). Personally, I think the problem with hybrid architectures is also that the inference stacks are not quite as optimized, yet, and I find that I get better tok/sec throughput when running LLMs locally using more classic setups like GPT-OSS with grouped-query attention. Anyways, I am curiou

    匹配字段正文

星期二

  1. METR Notes

    METR 用 Opus 4.6 复刻《杀戮尖塔》与《小丑牌》CLI 版的观察

    METR 用简单 ReAct 脚手架让 Opus 4.6 复刻《杀戮尖塔》和《小丑牌》的 CLI 版本,给出 6000 万 token 总量、64,000 token 上下文窗口和 max 推理强度,结果两个游戏都基本可玩但存在不少缺陷。作者各试玩约两小时,发现卡牌效果偏差、地图导航混乱、部分遗物与事件缺失、优惠券逻辑错误等问题,并估计自己达到同等质量需 2 到 8 周。作者在 7 月 27 日的更新中表示深入检查《杀戮尖塔》成品后发现了更多初看不易察觉的问题。

    man deliverables, which often leave much more informative first impressions). The rest of the post remains the same as it was on March 3 2026. Summary: Opus 4.6 can, with a simple agent scaffold, create mostly-playable but somewhat broken CLI versions of Slay the Spire and Balatro1. Intro Last weekend I was trying to think of really difficult tasks we could give to AI agents to upper-bound their capabilities. I thought of two examples: Recreating a basic version of the video game Slay the Spire

    匹配字段正文

星期五

  1. Replit Blog

    Replit 如何用虚拟时钟把任意网页渲染成确定性视频

    Replit 介绍其视频渲染引擎的实现:向页面注入约 1200 行 JavaScript,替换 setTimeout、setInterval、requestAnimationFrame、Date 和 performance.now() 等时间 API,让时间只在渲染时按 1000/fps 毫秒推进,从而把任意网页逐帧渲染成 MP4。由于页面内容不受控且视频由 AI 智能体生成,团队没有采用 Remotion,而是从外部对任意网页施加确定性。音频方面通过 monkey-patch Web Audio API 和 HTMLMediaElement 拦截播放意图,再由服务端 FFmpeg 混音;视频元素则经服务端转码为 fragmented MP4、mp4box.js 解复用、WebCodecs 解码后绘制到 canvas。该实现受开源项目 WebVideoCreator 启发,团队计划将其开源。

    We Built a Video Rendering Engine by Lying to the Browser About What Time It Is — cover image

    sign, but requires you to build inside its component framework. We needed determinism from the outside, applied to arbitrary web content. Second, our videos are generated by an AI agent. Constraining the agent to Remotion's component model would mean teaching it one library's idioms instead of letting it use the entire web platform. The less framework surface area the agent has to reason about, the better the output. So: no special framework. No library buy-in. Just a URL. This meant building th

    匹配字段正文

星期三

  1. Ahead of AI

    2026 年 1—2 月开放权重 LLM 架构对比:10 组主要模型发布

    作者对 2026 年 1—2 月的主要开放权重 LLM 发布进行架构对比,并补充了 3 月 6 日发布的 Sarvam 30B 和 105B。文章逐一分析 Trinity Large、Kimi K2.5、Step 3.5 Flash、Qwen3-Coder-Next、GLM-5、MiniMax M2.5、Nanbeige 4.1 3B、Qwen3.5、Ling 2.5、Ring 2.5 与 Tiny Aya,重点比较 MoE、混合注意力、MLA、Gated DeltaNet、滑动窗口注意力和 MTP 等设计。作者认为,近期架构普遍加入计算效率优化,但模型表现也很大程度取决于数据质量和训练方案。

    never released as an open-weight model.) The obligatory benchmark overview shows that Qwen3.5 exceeds the previous Qwen3-Max model across the board, with a much stronger focus on agentic terminal coding applications (the main theme this year). Qwen3.5 appears to be roughly on par with GLM-5 and MiniMax M2.5 in terms of pure agentic coding performance (e.g., SWE-Bench Verified). Since the Qwen team likes to release a separate coding model (e.g., see Qwen3-Coder-Next, which we discussed previousl

    匹配字段正文

星期一

  1. Ollama Blog

    Ollama 发布 OpenClaw 最简安装教程

    Ollama 官方博客给出用 Ollama 快速安装个人 AI 助手 OpenClaw 的教程,需要 Ollama 0.17 或更高版本、Node.js 以及 Mac 或 Linux 系统,Windows 用户可通过 WSL 安装。运行命令后 Ollama 会自动检测并安装配置 OpenClaw,随后即可在终端中对话;选择 Ollama 云端模型时会自动安装网页搜索插件,本地模型则无需额外插件。OpenClaw 可连接 WhatsApp、Telegram、Slack、Discord 或 iMessage,官方建议智能体使用至少 64k 上下文长度,并提醒在隔离环境中运行以控制文件读取和操作执行的风险。

    ywhere. After configuring, make sure you select Finished to save your desired configuration. Selecting a model Ollama shows a model selector with recommended and available models. Agents work best with at least 64k context length. Ollama’s cloud models have full context length, which provide the best experience with agents like OpenClaw. Cloud models: Local models (requires GPU VRAM): Running securely OpenClaw has the ability to read files and execute actions when tools are enabled. Ensure that

    匹配字段正文

星期四

  1. Modal 官方工程博客精选

    Ramp 如何在 Modal 上构建全上下文后台编码智能体

    Ramp 基于 Modal Sandboxes 构建内部后台编码智能体 Inspect,目前 Ramp 前后端仓库约一半的已合并 PR 由它发起,Inspect 自身超过 80% 的代码也由它编写。每个会话运行在包含 Postgres、Redis、Temporal、RabbitMQ 等完整开发环境的沙箱中,OpenCode 作为编码智能体,配合 VS Code server、Web 终端和带 Chromium 的 VNC 做前端可视化验证。Modal 的 Cron 每 30 分钟克隆仓库并生成文件系统快照,会话从最新快照启动,几秒内即可开始处理提示词,并支持 Slack、Web、Chrome 扩展等多客户端与多人协作。

    Ramp Inspect UI

    Ramp uses Modal to power Ramp Inspect, an internal background coding agent that now writes over half of all merged pull requests at Ramp. Leveraging Modal Sandboxes, Ramp spins up full development environments in seconds, giving every builder at the company access to what is effectively unlimited parallel engineering capacity grounded by Ramp’s internal codebase, enterprise context, and developer tooling. The idea: A coding agent as fast as local, accessible to everyone Ramp's AI team saw an opp

    匹配字段正文

星期三

  1. One Useful Thing

    智能体时代该用哪个 AI:模型、应用与 harness 指南

    Ethan Mollick 发布第八版 AI 使用指南,指出使用 AI 已从聊天转向智能体,选型需同时考虑模型、应用和 harness 三层。他给出的三大前沿模型是 GPT-5.2/5.3、Claude Opus 4.6 和 Gemini 3 Pro,并建议做实际工作时手动选择高级模型而非默认的自动模式。他认为模型差距已经缩小,应用与 harness 的差异更关键,Claude Code、Claude Cowork、OpenAI Codex 等工具在工具调用和自主执行上领先,Gemini 网页端在生成文档和引用方面仍较弱。

    ago, for the vast majority of people, “using AI” meant talking to a chatbot in a back-and-forth conversation. But over the past few months, it has become practical to use AI as an agent: you can assign them to a task and they do them, using tools as appropriate. Because of this change, you have to consider three things when deciding what AI to use: Models, Apps, and Harnesses. The exact same model, Claude Opus 4.6, asked the exact same question, “Compare ChatGPT and Claude and Gemini” in three d

    匹配字段正文

星期四

  1. Anthropic Engineering

    Anthropic 用 16 个并行 Claude 智能体从零写出可编译 Linux 内核的 C 编译器

    Anthropic 研究员 Nicholas Carlini 用 16 个并行 Claude 智能体从零编写 Rust 版 C 编译器,在近 2000 次 Claude Code 会话和约 2 万美元 API 成本下产出 10 万行代码,可在 x86、ARM、RISC-V 上构建 Linux 6.9。他总结了长时自主智能体团队的关键设计:用高质量测试和 CI 约束智能体行为、用 git 锁文件避免重复任务、用 GCC 作为对照编译器让多个智能体并行修复不同文件的 bug。该编译器仍依赖 GCC 处理 16 位 x86 阶段,没有自己的汇编器和链接器,生成代码效率低于关闭全部优化的 GCC。

    Written by Nicholas Carlini, a researcher on our Safeguards team. I've been experimenting with a new approach to supervising language models that we’re calling "agent teams." With agent teams, multiple Claude instances work in parallel on a shared codebase without active human intervention. This approach dramatically expands the scope of what's achievable with LLM agents. To stress test it, I tasked 16 agents with writing a Rust-based C compiler, from scratch, capable of compiling the Linux kern

    匹配字段正文

星期六

  1. Browser Use

    Browser Use 发布 BU Bench V1:100 项浏览器任务评测基准

    Browser Use 开源了首个评测基准 BU Bench V1,包含 100 项从五个来源挑选的高难度浏览器任务,任务集加密以防训练污染。评测由 gemini-2.5-flash 以真/假二元判定打分,与人工标注的一致率为 87%。结果显示 Browser Use Cloud 得分 78%,比最好的开源模型高 16 个百分点,且以约每小时 14 个任务成为最快方案;基准代码已开源于 github.com/browser-use/benchmark。

    aluations 100 hard browser tasks, one leaderboard; The judge; Results; Why Cloud scores higher; Using the benchmark 100 hard browser tasks, one leaderboard To truly understand our agent performance, we built a suite of internal tools for evaluating our agent in a standardized and repeatable way so we can compare versions and models and continuously improve. We take evaluations seriously. As of now, we have over 600,000 tasks run in testing. This is our first open source benchmark. BU Bench V1: 1

    匹配字段正文

星期五

  1. Anthropic Engineering

    Anthropic 详解 AI 智能体评测:从评分器设计到测试集维护

    Anthropic 工程团队发布文章,系统讲解如何为 AI 智能体设计评测,涵盖任务、trial、评分器、transcript、outcome 等核心概念,以及代码、模型、人工三类评分器的组合方式。文章区分能力评测与回归评测,并分别给出编码智能体和对话智能体的评测方法,例如 SWE-bench Verified 与 Terminal-Bench 的确定性评分思路。文中还建议以评测驱动开发,由专门团队维护核心基础设施、产品与领域专家贡献评测任务,并附录了 Harbor、Braintrust、LangSmith、Langfuse、Arize 等评测框架。

    Introduction Good evaluations help teams ship AI agents more confidently. Without them, it’s easy to get stuck in reactive loops—catching issues only in production, where fixing one failure creates others. Evals make problems and behavioral changes visible before they affect users, and their value compounds over the lifecycle of an agent. As we described in Building effective agents , agents operate over many turns: calling tools, modifying state, and adapting based on intermediate results. Thes

    匹配字段正文

星期三

  1. Ahead of AI精选

    DeepSeek V3 至 V3.2 模型技术演进全览

    DeepSeek V3.2 延续 V3 系列架构,并引入 DeepSeek Sparse Attention、自验证、自改进及多项 GRPO 训练调整。文章梳理了 V3、R1、V3.1、V3.2-Exp、DeepSeekMath V2 和 V3.2-Speciale 的演进,解释 MLA、RLVR 与混合推理模式等关键机制。更新部分还介绍了用于改善训练稳定性和收敛表现的 mHC 残差路径研究。

    h V2, it achieves gold-level performance on math benchmarks. However, the model is also trained with tool-use in mind and also performs well on other tasks, for instance, code and agentic tasks. At the same time, the DeepSeek team writes about computational efficiency as a big, motivating factor. That’s why they use the Multi-Head Latent Attention (MLA) mechanism from V2 and V3 together with the DeepSeek Sparse Attention (DSA) mechanism, which they added in V3.2. In fact, the paper says that “De

    匹配字段正文

星期二

  1. Johann Rehberger / Embrace The Red

    Google Antigravity IDE 被曝五类安全漏洞,含远程命令执行与数据外泄

    安全研究者 Johann Rehberger 在 Google 新发布的 Antigravity IDE 中发现五个安全漏洞,包括通过间接提示注入实现的远程命令执行和数据外泄,其中部分问题可追溯到 2025 年 5 月他向 Windsurf 报告过的同类缺陷。Antigravity 默认由 AI 自行判断终端命令是否安全执行,且 MCP 工具调用完全没有人工确认环节,攻击者可利用不可见的 Unicode Tag 字符在源码或 Linear 工单中隐藏指令。作者建议禁用自动执行、谨慎启用 MCP 服务器,并指出 Claude Code、GitHub Copilot、Cursor、Codex 等编码智能体在安全性和补丁历史上更成熟。

    ugs in August before. Unfortunately, Google’s latest Antigravity IDE is vulnerable to many of the same issues as Windsurf, with disclosures going back to May 2025. Overall, coding agents are a game changer, but we also have to take security seriously. There are currently other, more mature, coding agents out there with better security and patch history, including Claude Code, GitHub Copilot, Cursor, Codex, Google’s own Gemini CLI,… and some also support Gemini 3 already. Keep an eye out for Anti

    匹配字段正文

星期三

  1. One Useful Thing

    从 GPT-3 到 Gemini 3:Ethan Mollick 实测三年 AI 进展

    Ethan Mollick 实测 Google 新发布的 Gemini 3,用同一提示词让模型把三年前只能写诗的演示变成可玩的互动游戏,并称其在多数基准上取得领先。他还测试了随 Gemini 3 一同发布的编程工具 Antigravity,让它自主完成网页研究、建站并在浏览器中验证;随后又让 Gemini 3 清理十年前众筹研究的旧数据文件,自主提出假设、做统计分析并写出 14 页论文,还自创了一个衡量众筹创意独特性的指标。他认为这些工具仍有需要人工纠正的判断问题,但人机关系正从修复 AI 错误转向指挥 AI 工作。

    e, and if AI can work with code it can do anything someone with a computer can: build you dashboards, work with websites, create PowerPoint, read your files, and so on. This makes agents that can code general purpose tools. Antigravity embraces this idea, with the concept of an Inbox, a place where I can send AI agents off on assignments and where they can ping me when they need permission or help. It then did web research, created a site, took over my browser to confirm the site worked, and pre

    匹配字段正文

星期一

  1. vLLM 官方博客

    vLLM 与 TorchTitan 实现训练推理逐位一致的在线强化学习

    vLLM 与 TorchTitan 开源展示了逐位一致的在线强化学习方案,使 Qwen3 1.7B 的训练与推理数值完全匹配。实验中启用逐位一致性后,模型用更少步骤取得更高总奖励,但当前运行速度比非逐位一致方案慢 2.4x。

    wise training-inference consistency a scalable and reusable feature. If you're interested or would like to contribute, please join these Slack channels: sig-post-training; sig-batch-invariant Related Posts DeepSeek-V4.1-Flash on vLLM: 5x Agentic Throughput Since Day 0 Within three weeks of release, vLLM made DeepSeek-V4.1-Flash 1.9x faster at low concurrency and lifted its throughput 5x on SemiAnalysis AgentX, with SWA bounded replay, CUDA graphs, DeepSeek's new kernels, and vLLM kernel fusions.

    匹配字段正文

星期二

  1. Ahead of AI

    标准 LLM 之外有哪些替代架构

    Sebastian Raschka 梳理了标准自回归 Transformer 之外的线性注意力混合架构、文本扩散模型、代码世界模型和小型递归 Transformer。文章比较了这些路线在长上下文效率、生成质量、代码建模和专用推理上的取舍,并认为通用项目目前仍应优先采用成熟的自回归 Transformer。

    tion LLMs. It seemed to work fine with regular prompts, but it had poor accuracy in reasoning and multi-turn tasks, which are not only important for regular chat sessions but also agentic applications. This could have been a turning point where linear attention may not be worth pursuing after all. However, it gets more interesting. In October, the Kimi team released their new Kimi Linear model with linear attention. For this linear attention aspect, both Qwen3-Next and Kimi Linear adopt a Gated

    匹配字段正文

  2. Anthropic Engineering精选

    Anthropic 工程博客:用代码执行让 MCP 智能体更高效

    Anthropic 工程博客提出用代码执行替代直接工具调用,把 MCP 服务器呈现为文件系统上的代码 API,让智能体按需加载工具定义并在执行环境中过滤数据。文中给出的 Google Drive 到 Salesforce 示例把 token 用量从 150,000 降到 2,000,节省 98.7%。文章还介绍了渐进式披露、结果过滤、隐私保护与状态持久化等做法,并提醒运行智能体生成的代码需要沙箱、资源限制和监控。

    The Model Context Protocol (MCP) is an open standard for connecting AI agents to external systems. Connecting agents to tools and data traditionally requires a custom integration for each pairing, creating fragmentation and duplicated effort that makes it difficult to scale truly connected systems. MCP provides a universal protocol—developers implement MCP once in their agent and it unlocks an entire ecosystem of integrations. Since launching MCP in November 2024, adoption has been rapid: the co

    匹配字段正文

星期日

  1. Mario Zechner 原创博客精选

    不使用 MCP,如何用 Bash 和代码构建轻量智能体工具

    Mario Zechner 提出,许多智能体任务无需 MCP,可让编码智能体通过 Bash 调用简洁的 CLI 工具并编写代码。其浏览器工具以 Puppeteer Core 实现启动、导航、执行 JavaScript 和截图等能力,README 仅占 225 tokens;相比之下,Playwright MCP 的 21 个工具占 13.7k tokens,Chrome DevTools MCP 的 26 个工具占 18.0k tokens。这种方式可按需载入说明、串联调用并快速修改输出格式或增加工具,但需要自行设计和维护工具结构。

    2025-11-02 After months of agentic coding frenzy, Twitter is still ablaze with discussions about MCP servers. I previously did some very light benchmarking to see if Bash tools or MCP servers are better suited for a specific task. The TL;DR: both can be efficient if you take care. Unfortunately, many of the most popular MCP servers are inefficient for a specific task. They need to cover all bases, which means they provide large numbers of tools with lengthy descriptions, consuming significant co

    匹配字段正文