Over the past year, we have worked with hundreds of thousands of developers across some of the largest enterprises in the world. Working side by side with these teams, we've built and hardened a frontier agent harness that directly meets the demands of enterprise development: high-quality results on complex tasks, efficient use of resources, and strong safety controls. Today, we introduce Droid 1.0: more accurate, efficient, and faster than ever before, powered by new design principles and a programmatic tool-calling engine. Droid is our agent harness. An agent harness is everything around the model: the prompts, the tools, how tool results come back, and the loop that runs it all. Agents now work for hours or days across hundreds of turns, and every turn re-sends instructions, tools, and history. Today's update to Droid is the largest one yet. On the same tasks, Droid outperforms the native harnesses built for their models up to 20% more efficiently. It's also designed for what comes next: when frontier models can plan whole workflows as code, Droid lets them run hundreds of tool calls in a single model request. Factory is model-independent by design. We believe the best agent harness is one built for every model, so our users can choose the best model on the market or let Droid choose the most efficient mix using our auto model router, Factory Router. Building a harness optimized for many models makes the harness better. When you tune against a single model, it's hard to separate real progress from adaptations to that model's quirks. Working across models ensures the strongest improvements generalize and hold up beyond the model that inspired them. That's the idea behind our internal Agent Factory. Agents study benchmark failures alongside the friction our users hit in real sessions, propose changes, and test each one on every model family it affects. Our engineers review the evidence and decide what ships. The result is the most efficient enterprise-ready coding agent tuned for every frontier model, whether open- or closed-weight. The rest of this post covers the head-to-head results, the design principles behind the harness, how we built our internal Agent Factory, and the core changes that drove the most impact. The most efficient harness in the market On the same tasks using the same models, Droid scores higher at a lower cost than every other harness we tested. Fig. 1 Terminal-Bench 4 GPT-6.1 Sol Droid $0.79 · 57.6% OpenCode 51.0% Codex 54.0% Devin 45.0% Cursor isn’t shown: it has no access to OpenAI models. Opus 5.5 Droid $4.73 · 65.2% Cursor 62.1% OpenCode 62.1% Devin 59.6% Claude Code 57.6% Terminal-Bench 4. With GPT-6.1 Sol, Droid scores 3.5 points higher than Codex at 12% lower cost, and 6.6 to 12.6 points higher than OpenCode and Devin. With Claude Opus 5.5, Droid scores 3.0 to 7.6 points higher than Cursor, OpenCode, Devin, and Claude Code, at up to 24% lower cost. Methodology This gap matters more as agents run longer. Over hundreds of steps, a better agent makes fewer mistakes for later steps to build on, and a cheaper one lets you run more agents on the same budget. Droid tunes its prompts, tool descriptions, and tool-calling mode for each model it supports, so every supported model gets these gains, including when you bring your own API keys. The largest change behind these results was letting the model call tools from a program. Programmatic tool calling In a standard agent loop, the model calls tools directly and every tool output is appended to its context. Programmatic tool calling (PTC) takes a different approach to long-horizon work: the agent writes a program that invokes the tools. With PTC, the agent can reason up front, write the code for a tool-calling workflow, and then execute the entire program end to end in a single invocation. For example, it could write a workflow to read hundreds of files and find the few that mention a topic, triage dozens of Linear tickets, or run a tricky database migration in pieces following a deterministic process. CodeAct (Wang et al., 2024) showed that acting through code beats JSON and text tool calls across 17 models. Cloudflare and Anthropic brought the idea to production in late 2025, and Codex brought it to coding agents this year. We made PTC the default in Droid 1.0 for three reasons. First, it keeps the agent's context window clean, because all it receives is the output of its program. Ordinary tool outputs (raw files, search results, logs) stay inside the program as variables. Second, it cuts the number of model requests, because one program runs many calls, which makes complex tasks faster and cheaper. Third, it makes the agent more reliable: checks and loops run deterministically in code, eliminating the chance that a model could be lazy and drop a case despite originally planning it. Script mode Droid implements PTC as a Script tool. The model writes JavaScript that runs in a sandbox with no file, network, or system access of its own. A Script can make hundreds of tool calls in one model request, so the instructions and history are sent once rather than re-sent every few calls. Printed output is capped in size, and the full results are logged where the model can search them later. Calls that don't depend on each other run concurrently, so a batch takes as long as its slowest call. Fig. 2 Programmatic tool calling 4× Direct tool calls: 10 model calls and 15 tool calls, done in 56.8 s. Script tool: 5 model calls and the same 15 tool calls, done in 41.6 s, 15.2 s sooner. Direct tool calls, call by call: Model call 1, 8.52 s, then TodoWrite todos, 5 ms; Read invoice.ts, 14 ms. Model call 2, 3.27 s, then Read invoice.test.ts, 22 ms. Model call 3, 4.04 s, then Execute git status, 218 ms. Model call 4, 3.42 s, then Read tax.ts, 14 ms. Model call 5, 3.55 s, then Read money.ts, 20 ms. Model call 6, 3.57 s, then TodoWrite todos, 5 ms; ApplyPatch invoice.test.ts, 1.05 s. Model call 7, 3.42 s, then TodoWrite todos, 6 ms; Execute vitest run, 3.59 s. Model call 8, 4.73 s, then Execute eslint, 7.94 s; Execute prettier --check, 432 ms. Model call 9, 5.49 s, then Execute git diff --check, 120 ms; Execute git status, 271 ms. Model call 10, 2.33 s, then TodoWrite todos, 7 ms, with the final answer. Script tool, call by call: Model call 1, 8.64 s, then one Script, 421 ms, running TodoWrite todos, 5 ms; Read invoice.test.ts, 22 ms; Read invoice.ts, 14 ms; Execute git status, 218 ms; Read tax.ts, 14 ms; Read money.ts, 20 ms. Model call 2, 5.35 s, then one Script, 1.25 s, running TodoWrite todos, 5 ms; ApplyPatch invoice.test.ts, 1.05 s. Model call 3, 3.36 s, then one Script, 3.78 s, running TodoWrite todos, 6 ms; Execute vitest run, 3.59 s. Model call 4, 8.42 s, then one Script, 8.14 s, running Execute eslint, 7.94 s; Execute prettier --check, 432 ms; Execute git diff --check, 120 ms; Execute git status, 271 ms. Model call 5, 2.27 s, then TodoWrite todos, 7 ms, with the final answer. Direct tool calls The model is called again after every one or two tool calls. Model calls 1 Tool calls 0 Elapsed 0.0 s Script tool Each model call writes one program that runs its tool calls and returns one result. Model calls 1 Tool calls 0 Elapsed 0.0 s Model call Tool call Script Time saved One common session pattern, fixing a failing unit test with GPT-6.1 Sol at high reasoning, replayed both ways on one clock. With direct tool calls , the model is called again after every one or two tool calls, 10 times in all. With the Script tool , each model call writes one program that runs its tool calls and returns one result, so the same 15 tool calls take 5 model calls. Time spent in model calls falls from 42.3 s to 28.0 s , and the task finishes in 41.6 s instead of 56.8 s . Tool durations are measured. The direct run places the same calls one or two per model call, with 0.15 s between a tool result and the next model call. Each tool call has its own row, as wide as the call took. Hover or tap a bar for its exact timing. Because these calls are code, one result can influence the next call. For instance, a program can search, read every match, and filter the results in one pass. With direct calls, each step would cost a model request. Compared to direct tool calling, Script mode cuts Droid's cost by 15% on Claude Opus 5.5. Most Scripts are small, and the per-task savings concentrate in the 12.5% of them that make six or more tool calls. Two Scripts from that tail, taken from our own sessions (simplified, with names and identifiers changed), demonstrate the effect. For each, a Script and direct calls make the same tool calls. The difference is how many model requests they take: direct calls fit a few into each request and wait for the model between steps, while a Script runs them all in one program. Direct-call figures are estimates, assuming 3 to 10 calls per request. The Linear cleanup moved 151 issues between queues and verified each move, 312 tool calls i
Over the past year, we have worked with hundreds of thousands of devel
Over the past year, we have worked with hundreds of thousands of developers across some of the largest enterprises in the world. Working side by side with these teams, we've built and hardened a frontier agent harness that directly meets the demands of en
这条信息对 FDE 的直接价值在于提醒交付人员持续关注模型、智能体与企业流程之间的变化。面对类似项目,应先确认客户的真实业务目标、数据边界、权限条件和验收指标,再选择工具并用最小场景验证结果,避免只追逐功能更新。