The authors introduce System 1 agents, a deterministic framework for local agentic AI that eliminates text generation during tool invocation to prevent hallucination and protect sensitive data. Instead of prompting a large language model (LLM) to produce tool calls, a compiler converts each tool's schema and the user request into multiple-choice questions whose options are drawn strictly from the request and schema; a one-pass decision model then selects answers in a single forward pass. Evaluated on 1,952 requests spanning 157 biomedical tools, the best System 1 agent selected the correct tool or appropriately declined in 97.0% of cases, outperforming all 18 tested local LLM-agent configurations, which peaked at 95.2% accuracy. The system populated 97.0% of 6,056 required argument values correctly. Critically, zero System 1 calls contained invented content, whereas LLM-based agents hallucinated values in 5.5% to 19.7% of calls, a failure mode that propagates errors through subsequent steps. The method enables reliable, privacy-preserving automation for clinical data analysis by guaranteeing that tool arguments originate exclusively from the input context. The System 1 Agents framework is released as open-source software.
Read original
huggingface/daily-papers