← Latest papers
🤖 AI

FACET: Preserving Source Intent and Executable State in Terminal Task Synthesis

The paper introduces FACET, a framework that ensures the consistency and solvability of terminal task synthesis by reconstructing agent skills into coherent scenarios and utilizing a shared, executable container state to ground instructions, solutions, and verifiers, thereby enabling scalable and effective training of terminal agents.

Original authors: Kou Shi, Zun Wang, Qisheng Su, Shiting Huang, Ziao Zhang, Zhen Fang, Qingnan Ren, Jin Liu, Yu Zeng, Yiming Zhao, Lin Chen, Zehui Chen, Feng Zhao

Published 2026-08-20
📖 5 min read🧠 Deep dive

Original authors: Kou Shi, Zun Wang, Qisheng Su, Shiting Huang, Ziao Zhang, Zhen Fang, Qingnan Ren, Jin Liu, Yu Zeng, Yiming Zhao, Lin Chen, Zehui Chen, Feng Zhao

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

To understand the work described here, one must first look at how modern artificial intelligence is learning to act in the real world. For years, these systems were trained primarily on text, learning to predict the next word in a sentence or summarize a document. But the next frontier for artificial intelligence is not just reading or writing; it is doing. This means building systems that can navigate a computer's command line, install software, manage files, and recover from their own mistakes. To teach a machine to do this, researchers need a way to practice. They need a vast library of exercises where a computer is given a goal, tries to solve it, and is immediately told if it succeeded or failed based on what actually happened on the screen, not just what it said it would do. The challenge has been creating enough of these exercises. Making them by hand is too slow, and making them automatically often results in puzzles that are broken, impossible to solve, or inconsistent with the instructions given.

A team of researchers has developed a new method to solve this problem, creating a system that generates thousands of complex, working computer tasks from scratch. They call their framework FACET. Instead of simply asking a computer to invent a task description, the system starts by gathering a massive collection of existing computer skills—like a library of instructions for how to organize files, run specific programs, or analyze data. The researchers then take these separate skills and weave them together into a coherent story. They imagine a user who needs to accomplish a specific, multi-step goal, such as preparing a report from raw data or setting up a secure server. The system reconstructs this scenario, ensuring that every step logically follows the last and that all the necessary tools and files are accounted for.

The most critical part of this process happens before the task is ever written down. The system builds the actual computer environment where the task will take place. It creates the folders, installs the software, and sets up the files exactly as they would be needed. Only after this digital workspace is fully built and verified does the system generate the instructions for the user, the correct solution, and the test that checks the work. This order is vital. By grounding the task in a real, working environment, the system ensures that the instructions match the files, the solution matches the instructions, and the test matches the result. If the environment fails to build, the system fixes the specific error rather than throwing away the whole idea. This approach prevents the common problem where an instruction asks for a file that doesn't exist, or a test checks for a result that the solution cannot produce.

The researchers tested this method by using it to create over six thousand distinct tasks. They then used the successful attempts at solving these tasks to teach a new generation of computer agents. The results were clear: when these agents were trained on the data produced by this system, their ability to solve complex computer problems improved significantly. The improvement was consistent across different sizes of computer models, from smaller, faster versions to much larger, more powerful ones. The system proved that by carefully reconstructing the scenario and building the environment first, they could create a high-quality, reliable training ground. This method allows the agents to learn not just from the text of a problem, but from the reality of the computer state they are trying to change.

The study also revealed why many previous attempts to train these agents had fallen short. When tasks are generated without this careful, step-by-step grounding, the instructions, the solution, and the test often drift apart. The instruction might ask for one thing, the solution might do another, and the test might check for a third, leaving the agent confused or the evaluation meaningless. The researchers found that their method, which keeps all these parts tied to the same working environment, produced tasks that were much harder and more realistic. While the agents solved fewer of these difficult tasks perfectly compared to easier ones, the ones they did solve were genuine successes. The system successfully captured the complexity of real-world computer work, where a single missing file or a small configuration error can cause a whole process to fail.

This work suggests a new path forward for teaching artificial intelligence. Rather than relying on vast amounts of simple, synthetic data, the focus shifts to creating smaller, higher-quality datasets where every element is verified to work together. The researchers showed that by preserving the original intent of the skills and ensuring the environment is real and consistent, they could generate data that is far more effective for training. The agents trained on this data did not just memorize answers; they learned to navigate the messy, interconnected reality of computer systems. The findings indicate that the key to building better agents lies in the quality of the practice they receive, ensuring that the problems they solve are as real and consistent as the world they are meant to operate in.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →