Meet Factory Droid 1.0: A Model-Independent Coding Agent Harness Built on Script Mode
MarkTechPost·6 min read
Factory has released Droid 1.0, the largest update yet to the Factory Droid agent harness. The main change is programmatic tool calling, now on by default. The model writes a program that runs its tools. One model request can now drive hundreds of tool calls.
TL;DR
Size: Base prompt is 13,055 input tokens, down 37% from 20,887. Only 2 tool definitions ship up front, down from 11.
Runs on: macOS and Windows desktop app, a terminal UI, and the Node SDK @factory/droid-sdk. Works with any supported model, including your own API keys.
Performance: Highest pass rate of every harness Factory tested, on the same model, at lower cost.
Best: 65.2% on Terminal-Bench 4 with Claude Opus 5.5, at $4.73 per passed task (self-reported).
Worst: With GPT-6.1 Sol, Droid takes 10% longer per passed task than Codex.
In a standard loop, every tool output lands in the model’s context. With programmatic tool calling (PTC), the model writes a program instead. Droid implements this as a Script tool. The model writes JavaScript that runs in a sandbox. The sandbox has no file, network, or system access of its own.
Raw files, search results, and logs stay inside the program. Only printed output returns to the model. Independent calls run concurrently.
Unit test fix: 15 tool calls took 5 model calls instead of 10. The task finished in 41.6 s instead of 56.8 s.
Linear cleanup: 151 issues moved and verified in 312 tool calls. The Script used 2 requests and about 61,000 tokens. Factory models direct calls at 36 requests and about 3.1M tokens.
CI sweep: 5,384 jobs across 547 runs, in 2 requests. Under 0.1% of tool results reached the model’s context.
On Claude Opus 5.5, Script mode cuts Droid’s cost by 15% versus direct tool calling. It is on by default for 10 models, including GPT-6.1 Sol and Kimi K3.
Factory ran each harness against Droid on the same model. Each harness ran 3 trials per task, from October 23 to 28, 2026. Only tasks both harnesses passed in all 3 trials count toward cost and time.
Claude Opus 5.5: Droid scores 65.2%. Cursor and OpenCode score 62.1%, Devin 59.6%, Claude Code 57.6%. Droid costs up to 24% less.
GPT-6.1 Sol: Droid scores 57.6% at $0.79 per passed task. Codex scores 54.0%, OpenCode 51.0%, Devin 45.0%.
Speed: On Opus 5.5, Droid takes 16% to 26% less time per passed task. Against Claude Code, it also uses 17% fewer tokens.
What else changed in the harness?
Most changes came from an internal Agent Factory loop. Agents read failures and propose changes, tested on every affected model family. Engineers review and merge.
Prompt cache: Newly loaded tools are appended to the request end. The typical production request reads 98% of input from cache.
Leaner first request: Tool definitions fell 46%. Rarely used tools now load on demand.
Bounded autonomy: 3 identical tool calls trigger a nudge, and 6 stop the loop. Compaction summaries now hold 16,000 tokens, up from 8,000.
App latency: First paint fell from 1,839 ms to 488 ms. Each extra session now adds about 20 MB, not 350 MB.
Comparison: Droid 1.0 vs other coding agent harnesses