Schema: Discovering Unknown Environments via Agentic Program Induction
Guanning Zeng, Jiani Wang, Wenjie Ma, Shaofeng Yin, Chenyang Wang, Shichen Liu, Angjoo Kanazawa, Wode Ni, Xiuyu Li, Andrea Zanette, Haiwen Feng
Abstract
Learning to complete tasks in unfamiliar environments with unknown rules remains a key challenge for LLM agents. Current LLM agents often record their discoveries in prose, which may not provide a compact, explicit account of how the environment works. Inspired by how scientists organize observations into testable, predictive theories, we introduce Schema, an agent harness that organizes learning and action through interactive program induction. The LLM agent decides what to investigate and how to act, expressing its evolving understanding of the environment as executable programs. The harness consists of a persistent program workspace and a small set of interfaces for checking these programs against the interaction history, planning within them, and executing plans under step-by-step verification. Schema raises ARC-AGI-3 RHAE from 58.7% to 99.2% with the same base model, solves 100% of the public DiG-bench games, and reaches the median performance of the top-50 human players on MazeBench. Extensive analysis shows the effectiveness of Schema in unknown mechanism discovery, and ablations confirm the contribution of each component.
Create a lesson
Metadata
- Comments
- Project Website: https://schema-harness.github.io/
Related papers
Self-Evolving Evaluation Environments for Computer-Use Agents
Shared title terminologycs.AIWenhao Wang, Panrong Tong, Quyu Kong et al.
mini-psych-agent: Evaluating Human-Like Behavior in LLM Agents through Interactive Psychological Environments
Shared title terminologycs.AIYi-Fei Cao, Tianxin Huang, Hanbo Xie et al.
SWAM: State-aware World Action Model for Multi-Agent 3D Environments
Shared title terminologycs.AIJenna Kang, Bingxuan Li, Colin Groth et al.
Auditing Action Settlement in LLM Agent Environments: Order, Progress, and Replay
Shared title terminologycs.AIHaotian Chen, Bowen Ye, Yuning Zhang et al.
RISED: RubrIcs for agentic multi-environment Selection and sElf-Distillation
Shared title terminologycs.AIJingtan Wang, Sirajul Salekin, Young mok Jung et al.
Modeling Event-Conditioned Emotional Expression Response with LLM Agents in a Synthetic Social Simulation
Shared title terminologycs.AIRebecca Marigliano, Peter Carragher, Kathleen M. Carley