Thinking Fast, Anywhere: One System-1 for the Decision Points of Any Agent Workflow

Rui Li, Liyang He, Zheng Zhang, Zhenya Huang, Qi Liu

University of Science and Technology of China · Nanyang Technological University

Published November 18, 2026 · on the feed November 19, 2026 · ▲ 17 · arXiv 2611.23751

The abstract

Autonomous LLM agents incur substantial cost and latency by invoking a large model (System-2) at every step, even when many intermediate actions choose among a small set of known candidates. Existing dual-system agents offload such decisions to a lightweight System-1 model, but rely on workflow-specific hooks authored per environment. We present AnyS1, a framework that turns human-authored procedural skills, whose instructions naturally specify where choices arise and which options apply, into a shared, domain-general source of decision points. Offline, AnyS1 mines grounded enumerable decisions across over 1,000 public skills, gathers execution-grounded trajectory states inside isolated containers to construct Any-DP, and trains a single calibrated 4B pointer System-1 with label smoothing. At run time, compiled workflows resolve routine decisions in one forward pass and fall back to System-2 when confidence falls below a calibrated threshold. Across three unseen benchmarks and distinct System-2 model families, AnyS1 preserves task reliability while cutting episode cost by 75-91% and model-call time by 63-92% relative to an uncompiled System-2 agent, and maintains performance under zero-shot threshold transfer.

The Brief

2:12

A short podcast summary of the paper. Written and voiced by AI.

Transcript

Thinking Fast, Anywhere. One System-1 for the Decision Points of Any Agent Workflow. By Rui Li and four others, from the University of Science and Technology of China and Nanyang Technological University. Published on the eighteenth of November.

Autonomous agents built on large language models pay for every step. A large model, the System-2, is invoked each time, with the cost and latency that brings, even though many intermediate actions are only a choice among a small set of known candidates. Dual-system agents already offload such choices to a lightweight System-1 model. The catch is that they depend on hooks written by hand for each workflow and each environment, so the fast path has to be rebuilt every time the setting changes.

AnyS1 looks for decision points somewhere they are already written down: human-authored procedural skills. The instructions in a skill naturally say where a choice comes up and which options apply. Treated together, those skills become a shared, domain-general source of decisions, and one System-1 can serve any workflow rather than one per environment.

The work splits into an offline phase and a run-time phase. Offline, AnyS1 mines grounded, enumerable decisions from over a thousand public skills. It gathers execution-grounded trajectory states inside isolated containers, and from those builds a dataset called Any-DP. On that data it trains a single pointer System-1 of four billion parameters, calibrated, with label smoothing. At run time, workflows are compiled so that routine decisions are resolved in one forward pass of that small model. When its confidence drops below a calibrated threshold, the decision falls back to System-2.

Evaluation spans three unseen benchmarks and several distinct System-2 model families. Against an uncompiled System-2 agent, AnyS1 keeps task reliability while cutting episode cost by between seventy-five and ninety-one percent. Time spent in model calls drops by between sixty-three and ninety-two percent. Performance also holds when the confidence threshold is transferred zero-shot instead of being tuned for the new setting.

Where most dual-system agents ask an engineer to mark the cheap decisions, this one reads them out of instructions people have already written for other reasons. Skills say where the choices are; a small calibrated model makes the routine ones; the large model is kept for the moments the small one is unsure.

The deep dive

6:49

A longer episode, written from the whole paper. Written and voiced by AI.

Transcript

Thinking Fast, Anywhere. One System-1 for the Decision Points of Any Agent Workflow. By Rui Li and four others, from the University of Science and Technology of China and Nanyang Technological University. Published on the eighteenth of November. This is the long version: the whole paper rather than the abstract.

An agent built on a large language model usually calls that model at every step, over a growing trajectory, and cost and latency climb with it. Yet many steps are not open-ended. The agent is choosing among a few known options: did the check pass, what kind of request is this. A small model scoring options in one forward pass could take those choices, a fast System-1 beside the slow System-2, in Kahneman's terms. Earlier dual-system agents did this for one fixed workflow at a time. Engineers hand-picked the decision points and trained a System-1 for that workflow alone. Give a general agent a new workflow with no declared hooks, and every judgment falls back to the large model. AnyS1 asks whether one System-1 can serve any workflow.

The answer starts from skills, procedural documents an agent loads on demand. A skill's branches and checks already say where a judgment arises and which options apply. Every workflow step is then sorted into three types. A D node is deterministic, settled by structured state, so it runs as code. A G node is generative, open-ended output that stays with System-2. An E node is enumerable: it reads unstructured content and picks from a finite set, and that is the work System-1 may take. Each E node becomes a template: a question, options with one-sentence definitions, and always a none of the above. The share of System-2 cost spent at E nodes is the ceiling on what delegation can save.

The training data, called Any-DP, is built offline in three stages, with DeepSeek-V4.1-Flash as the working model. First, mining. An analyzer reads each skill three separate times, returning candidate decision points backed by quotes that must match the skill text exactly. An E node is kept only if at least two of the three runs found it. Second, states. The authors refuse to let a model simply invent situations, because fabricated states come out as clean prose, while real trajectories are full of fragmented tool output. Instead a model writes multi-stage tasks with input files, a reference solution and a hidden verifier, kept only if, in a network-isolated container, the verifier rejects the starting files and accepts the solution. An OpenHands agent runs each task, and a locator copies verbatim the observations just before each decision. Third, labels. Two teacher passes answer each decision, the second with the options reversed, and only answers both agree on are kept. Across one thousand and seventy-two public skills, that yields twenty-five thousand nine hundred and eighty-six labelled states.

The model is a small Qwen base with a pointer head. State, question and each defined option are laid out as one sequence. One forward pass yields a vector for the decision and one per option; a small attention layer lets the options see one another, then each is matched against the decision vector and turned into a probability. Training uses label smoothing, spreading a tenth of the target probability evenly across all options, because hard labels breed overconfidence and the gate depends on confidence meaning something. At run time, System-1 answers an E node only when its top probability clears a threshold, the lowest giving ninety-five percent agreement on calibration decisions. The cold variant fits one global threshold on held-out states. The warm variant runs fifty development episodes per workflow with System-2, scoring System-1 alongside, with no human labels.

Three unseen benchmarks: SOPBench customer service, ALFWorld household tasks, and WebShop shopping. Savings are measured against an uncompiled agent that reads skills directly, and the main table separates two levers. That split is the comparison to watch. Compiling skills into D, E and G programs, with System-2 still answering every E node, already saves eighty-one percent of cost on average and lifts effectiveness by nearly eighteen points. Adding the warm System-1 takes the saving to eighty-nine percent, with success level with the compiled baseline. Most of the headline saving is compilation. System-1 adds the last slice of cost, and speed: tens of milliseconds per decision, against over a second and a half for a System-2 call. Swapping in GPT-6 Sol as System-2, with System-1 untouched, reproduces the pattern.

The ablations show what makes delegation safe. Let System-1 answer everything, and ALFWorld success collapses from ninety-six point three percent to forty point three. The gate works by ranking, not volume: at the warm threshold, ALFWorld delegates half its decisions with three point eight disagreements per hundred, against sixteen for random delegation at the same rate. Training on model-written summaries instead of container states loses eighteen point eight points on held-out decisions. And hard labels instead of smoothing leave accuracy nearly unchanged, yet cut gated agreement from ninety-seven point seven percent to about ninety-two.

The paper has a short limitations section naming two things. The largest savings need about fifty development episodes per workflow in which System-2 answers every E node. And the big savings rely on compiling skills into explicit programs, which was done per benchmark: a rule compiler for SOPBench, and a language model translating the SkillRL skill bank for the other two. Compiling open-ended skills automatically is future work. The evidence shows more. The single cold threshold is conservative on SOPBench yet over-delegates on WebShop. Offline, the commercial Jev model beats System-1 on ALFWorld decisions. And the end-to-end table reports no error bars or repeated runs.

The idea to carry away is that decision points need not be engineered workflow by workflow, because skill authors have already written them down. But read the accounting honestly. Most of the money was saved by making the workflow explicit, so code does the mechanical steps. System-1 is the fast layer on top, and what makes it safe is not its accuracy but whether its confidence can be trusted on states it has never seen.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.