
New AI tool for spreadsheets (credit: MidJourney)
AI agents are embedded in everyday tools, from chatbots to spreadsheet software like Microsoft Excel. But for many users, these systems still operate as a black box, making them difficult to trust, navigate, understand or correct.
To address that challenge, USC professor Rini Chattopadhyay and PhD student Sadra Sabouri developed PISTA, an AI spreadsheet agent designed to put users back in the driver’s seat.
Rather than simply accepting an AI-generated result, users can participate in the agent’s decision-making process by breaking complex tasks into auditable steps, exploring alternative paths through branching and making precise, real-time corrections as the work unfolds. The goal is to keep users involved at every decision point, allowing them to retrace, revise or undo the agent’s actions instead of relying on a one-shot execution model.
Chattopadhyay is a WiSE Gabilan assistant professor of computer science in the USC Viterbi School of Engineering‘s Thomas Lord Department of Computer Science and the USC Stevens School of Computing and AI. Leading the USC ACE Lab, she focuses on building intelligent, human-centered technologies, and user-centered AI systems like PISTA are just one example of her lab’s work.
Started in January, Chattopadhyay’s team developed PISTA in three months, resulting in the paper, “Auditing and Controlling AI Agent Actions in Spreadsheets.”
PISTA led to $100,000 in funding from Microsoft after early discussions with Microsoft Corporate Vice President and Distinguished Scientist Sumit Gulwani. Leading the development of PISTA, Sabouri was offered to join Microsoft’s Excel team as an applied scientist intern. The researchers envision PISTA becoming an Excel add-in.
The researchers named it PISTA after the Spanish words for “path” or “clue,” to reflect how the AI agent leaves a visible trail of its reasoning, allowing users to trace.
Watch a tutorial on how PISTA works in this video here.
Limits of Today’s AI Spreadsheet Agents
Whether it’s creating a budget or filing taxes,
While today’s agents may generate spreadsheets or carry out a task, users rarely know how it arrived at its decisions or which intermediate steps influenced the final result.
That lack of transparency creates several challenges. Because an agent’s reasoning is hidden behind computed values, users often struggle to evaluate whether its decisions are correct.
“In spreadsheets, the AI isn’t just generating text—it is making decisions directly in cells that users own and are ultimately responsible for,” Chattopadhyay said. “That makes transparency and user control especially important.”
PISTA was designed to address those challenges and be a user’s collaborative assistant for spreadsheet tasks, by keeping users involved throughout the AI’s decision-making process. Instead of approving a finished result, users can review, steer and revise the agent’s reasoning at every stage, fostering collaboration and shared ownership over the final spreadsheet.
The researcher aimed to build a system that shows decisions that are hidden, allowing users to backtrack, branch into alternative paths and interactively explore the agent’s reasoning before accepting the final output.
PISTA’s Branching Feature Opens New Paths for AI Collaboration
The research team treats spreadsheet creation as a path that can split into multiple directions.
“We designed PISTA to allow users to follow more than one version of a task simultaneously,” Chattopadhyay said. “It gives users the freedom to act like a driver looking at a map, choosing which road to take and switching between routes along the way.”
The core mechanism behind this interaction is called branching. Instead of forcing users to accept or reject an AI-generated result, branching allows them to make edits at any point in the decision-making process and deviate from the agent’s suggested actions without overwriting their previous work.
For example, if a user realizes they forgot to include a student loan interest deduction while preparing a tax spreadsheet, PISTA creates a new branch from that point. The system automatically regenerates all subsequent steps based on the change while preserving the original version for comparison.
This gives users the ability to explore multiple “alternative worlds” at every decision point, compare different outcomes and see how even a small change affects the final spreadsheet.
Chattopadhyay said this branching capability is one of PISTA’s most innovative features. Unlike conventional spreadsheet agents such as Microsoft Copilot for Excel, which follow a linear workflow in which users submit a prompt and receive a single result to accept or reject, PISTA is multilinear, enabling users to explore, revise and compare multiple paths before reaching a final outcome.
PISTA Explains AI Decisions in Plain Language
Another core feature of PISTA is that the agent pauses at every step to provide a plain-language explanation of what it is doing and why, helping users understand its reasoning in real time.
These explanations give users what the researchers call a “semantic handle” on changes, allowing them to understand the computational intent behind modified cells rather than simply seeing updated values without knowing why they changed.
Because PISTA pauses to explain each decision before moving on, users can evaluate the agent’s reasoning in real time before the spreadsheet becomes too complex to audit. To support deeper understanding, PISTA also proactively suggests follow-up questions beneath each explanation. For example, it may prompt users to ask, “Why did you use ‘500’ in the formula?” enabling them to interrogate the agent’s reasoning on demand.
In addition to branching, PISTA provides step-by-step deconstruction, where the tool breaks a task into digestible units, such as “creating headers” or “adding formulas,” and pauses at each step for user approval instead of completing everything at once.
If users are confused by a specific number, label or decision, such as an unfamiliar IRS form code while filing taxes, they can ask the agent questions mid-process to clarify its reasoning before moving forward.
PISTA’s “scaffolded task formulation” feature also helps close the cognitive gap between a user’s high-level goals and their ability to formulate specific, effective instructions and execute the steps needed to reach the intended outcome with an AI agent.
Because users witness the construction of a spreadsheet step by step, they develop evidence-based trust in the agent and a sense of co-authorship over the final output.
Published on October 15th, 2026
Last updated on October 15th, 2026

