Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Factory Droid 1.0 Script Mode: Hundreds of Tool Calls from One Model Request in a JS Sandbox

Описание и применение

Фабрика Droid 1.0 позволяет выполнять сотни вызовов инструментов в одном запросе модели, уменьшая токен‑потребление и стоимость.

Задача

In traditional agent loops, each tool result is appended to the context, causing token bloat, rate‑limit hits, and noisy decision making.

Результат

Script mode consolidates many tool calls into a single model request, dramatically reducing context size, token usage, and cost while maintaining deterministic execution.

Рабочий процесс

  • 1. Model emits a JavaScript program that calls tools concurrently in a sandbox.
  • 2. The sandbox executes the script, printing only a summary.
  • 3. The printed summary is returned to the model; raw results stay in a log for later search.

Доказательства

Factory shipped Droid 1.0 and made programmatic tool calling the default. The model no longer emits one tool call, waits for the result, and repeats.

Источник

Factory’s own numbers illustrate the effect. A Linear cleanup that touched 151 issues (312 tool calls) dropped from an estimated 36 model requests and 3.1 M input tokens to 2 requests and ~61 k tokens.

Источник

On Claude Opus 5.5 the same mode cut cost ~15 % versus direct tool calling.

Источник

  • Дата записи: 2026-11-01T04:13:47.899Z