TableTalk: Scaffolding Spreadsheet Development with a Language Agent
Authors:
- Jenny T. LiangJLJenny T. Liang
- Aayush KumarAKAayush Kumar
- Yasharth BajpaiYBYasharth Bajpai
- Sumit GulwaniSGSumit Gulwani
- Vu LeVLVu Le
- Chris ParninCPChris Parnin
- Arjun RadhakrishnaARArjun Radhakrishna
- Ashish TiwariATAshish Tiwari
- Emerson Murphy-HillEMEmerson Murphy-Hill
- Guastavo SoaresGSGuastavo Soares
Preprint
Abstract
Despite its ubiquity in the workforce, spreadsheet programming remains challenging as programmers need both spreadsheet-specific knowledge (e.g., APIs to write formulas) and problem-solving skills to create complex spreadsheets. Large language models (LLMs) can help automate aspects of this process, and recent advances in planning and reasoning have enabled language agents, which dynamically plan, use tools, and take iterative actions to complete complex tasks. These agents observe, plan, and act, making them well-suited to scaffold spreadsheet programming by following expert processes. We present TableTalk, a language agent that helps programmers build spreadsheets conversationally. Its design reifies three design principles -- scaffolding, flexibility, and incrementality -- which we derived from two studies of seven programmers and 62 Excel templates. TableTalk structures spreadsheet development by generating step-by-step plans and suggesting three next steps users can choose from. It also integrates tools that enable incremental spreadsheet construction. A user study with 20 programmers shows that TableTalk produces spreadsheets 2.3 times more likely to be preferred over a baseline agent, while reducing cognitive load and time spent reasoning about spreadsheet actions by 12.6%. TableTalk's approach has implications for human-agent collaboration. This includes providing persistent direct manipulation interfaces for stopping or undoing agent actions, while ensuring that such interfaces for accepting actions can be deactivated.Keywords
All Related Versions
This publication has 57 references indexed in Scilit:
- The rise and potential of large language model based agents: a surveyScience China Information Sciences, 2025
- A survey on large language model based autonomous agentsFrontiers of Computer Science, 2024
- Explicit programming strategiesEmpirical Software Engineering, 2020
- An Empirical Study on Spreadsheet Shortcomings from an Information Systems Perspective2015
- A practical guide to controlled experiments of software engineering tools with human participantsEmpirical Software Engineering, 2013
- Spreadsheet Programming2009
- Gencel: a program generator for correct spreadsheetsJournal of Functional Programming, 2006
- Scaffolding critical reasoning about history and social issues in multimedia-supported learning environmentsEducational Technology Research and Development, 2002
- Twinkling lights and nested loops: distributed problem solving and spreadsheet developmentInternational Journal of Man-Machine Studies, 1991
- Development of NASA-TLX (Task Load Index): Results of Empirical and Theoretical Research1988