首页›dropbox.tech›文章

How we used DSPy to turn AI evaluations into better responses in Dash chat

Daniel Reiter Horn,Rich Chan,Pravi Garg,Sourabh Yerfule,Gennadiy Civil,Greg Unrein,Josh Jensen,Christopher Wildman,Dropbox Team,Dropbox Developer Support Team,Yasmin McDowell,Lawrence Good,Ilya Yakovlev,Andrew Cheung,Binoy Dash,Simran Jumani,Dmitriy Meyerzon · 2026年6月25日

AI 摘要 AI 生成,可能有误

Dropbox improved its Dash chat agent by building LLM-as-judge evaluations that assess the full agent trajectory across dimensions like intent understanding, tool use, and context selection, then calibrating those judges against human-labeled examples. Using DSPy with optimization algorithms like GEPA and MIPROv2, the team first improved judge accuracy and then used the calibrated judges as feedback signals to automatically optimize the agent's system prompt through a replay-based loop. This approach delivered a 26% reduction in incomplete answers, a 13% reduction in missed key aspects, and a 5.4% drop in token usage without compromising answer quality.

The AI features in Dropbox bring together company knowledge from documents, messages, meetings, and other sources. Users can then ask questions in one place and get answers from the Dash chat agent. Agent quality—how well our chat agent helps users accomplish their goals—is evaluated using a suite of large language model-as-judge evaluations. These evaluations provide a way to measure how well an agent is performing and identify opportunities to improve. Rather than judging only a final response, they inspect the full trajectory an agent takes to satisfy a user’s goal: how it interprets intent, gathers context, uses tools, handles ambiguity, grounds its answer, and completes the task.

We built agent evaluations as the foundation for improving the chat agent. These evaluations are the powerhouses behind the judges that measure the chat outcomes, given the context available to the agent, including relevance, reasoning quality, evidence use, robustness, task completion, and alignment with user asks. Once we had that foundation, we used DSPy to turn evaluation into improvement. DSPy is an open-source framework for optimizing AI systems using evaluation feedback. 

We applied DSPy and its optimization algorithms in two stages. First, we used it to improve the judges themselves, calibrating them against a small set of human-labeled examples so their scores better matched human judgment. Then, we used those improved judges to optimize the chat agent’s system prompt. This created a feedback loop: human labels improved the judges, the judges produced scalable evaluation signals, and those signals improved the agent. As a result, users saw significantly fewer incomplete answers and we were able to reduce our token usage too, without compromising answer quality.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 dropbox.tech

How AI-assisted development helped us build the new Dropbox experience

AI 摘要Dropbox is rolling out a new experience that helps customers understand and act on their files, made possible by adopting AI-assisted development to meet an ambitious launch deadline. Engineers prototyped ways to bring web capabilities into the desktop app, built shared React components to avoid rebuilding features for each platform, and delegated well-defined tasks—such as implementing interface changes, delivering 22 accessibility features, and completing long-deferred test cleanup—to coding agents who worked under a consistent plan-and-review process. Throughout, engineers retained ownership of product decisions and quality, using AI to accelerate implementation and testing while customer feedback guided what shipped to more people.

How two engineer side projects became the agent taking action inside Dropbox

AI 摘要The article describes how two Dropbox engineers' side projects—one building an isolated sandbox for running coding agents with specialized software like 3D modeling tools, and another creating a desktop app interface with permission controls for automating expense reports—were merged into an agent that can perform tasks on files inside Dropbox. The system runs each conversation in a fresh Ubuntu virtual machine in Dropbox data centers, connects to user files via rclone, and enforces all access checks, credentials, and permissions through a trusted host layer outside the sandbox so the agent cannot elevate its own access. Users can direct and review the agent's work through plan proposals, Allow/Deny permission cards, and progress checklists, while Dropbox's version history and Rewind features make changes easy to trace and roll back.

Evolving our calendar assistant Reclaim to be AI-native without starting over

AI 摘要Dropbox evolved its Reclaim calendar assistant to support AI agents that interpret open-ended, natural-language scheduling requests, building an in-house agent platform with tools, calendar context, and an agent loop rather than adopting an external framework. To keep behavior consistent, all calendar changes—whether from users, the automated scheduler, or AI agents—flow through the same Schedule Action system, while Preview Mode lets users review proposed changes on a temporary calendar before applying them. This architecture allows Reclaim to add new AI capabilities over time without fragmenting the product or rebuilding its existing scheduling foundation.

Dropbox CTO Ali Dasdan on moving from AI adoption to transformation

AI 摘要Dropbox CTO Ali Dasdan and Senior Director of Engineering Productivity Uma Namasivayam share lessons from deploying AI at company scale, emphasizing that meaningful gains require rethinking workflows end to end, aligning incentives, and measuring ROI through outcomes like revenue, customer satisfaction, and quality rather than raw output. With roughly 70% AI-generated code and pull request throughput in the top 5% of industry benchmarks, Dropbox remains lean while investing selectively based on the engineering value AI spending creates. They argue that human skills like problem solving, judgment, communication, and leadership become more critical as AI proliferates, and that Dropbox's role is to connect AI tools to trusted organizational context while giving AI-produced work a durable home as the company moves from adoption to transformation.

Introducing our new Dropbox API documentation

AI 摘要Dropbox has launched a modernized API documentation site at docs.dropboxapi.com, featuring interactive API testing directly in the browser, an embedded AI assistant, and connectivity to AI tools like Claude Code and Cursor via an MCP server. The new documentation offers a unified, searchable interface with complete API details including error responses, schemas, and type definitions. Dropbox invites developers to share feedback through the Dropbox Developer Forum.