TaskCraft: Automated Generation of Agentic Tasks
Dingfeng Shi, Jingyi Cao, Qianben Chen, Weichen Sun, Weizhen Li, Hongxuan Lu, Fangchen Dong, Tianrui Qin, King Zhu, Minghao Yang, Jian Yang, Ge Zhang, Jiaheng Liu, Changwang Zhang, Jun Wang, Yuchen Eleanor Jiang, Wangchunshu Zhou
2025-06-17

Summary
This paper talks about TaskCraft, a new system that automatically creates difficult and complex tasks for AI agents. These tasks require the AI to think step-by-step, use different tools like web search or document reading, and solve problems that are harder than simple questions. TaskCraft builds these tasks starting from simple ones and then makes them more challenging in a smart, organized way, while also making sure the tasks can be checked for correctness.
What's the problem?
The problem is that current AI training tasks either don’t involve using tools or are very simple, and the best benchmarks for complex tasks require a lot of expensive human effort to create. This makes it hard to build good training data for AI agents that need to solve real-world problems involving multiple steps and tools, limiting how well these agents can learn and improve.
What's the solution?
The solution was to invent TaskCraft, which starts by generating simple tasks called atomic tasks that an AI can solve with one tool. It then makes these tasks harder using two methods: one adds steps in a chain (depth-based), making a multi-step problem, and the other combines different subtasks that may require different tools at once (width-based). The system also verifies parts of the tasks automatically and produces detailed execution paths that help train and evaluate AI agents more effectively.
Why it matters?
This matters because creating large collections of tough, tool-using tasks automatically saves a lot of time and human effort while improving how well AI agents learn to solve complex problems. With TaskCraft, AI systems can be trained to handle real-life challenges better, such as answering multi-step questions, using various tools intelligently, and reasoning more like humans, which is a key step toward more capable and autonomous AI.
Abstract
TaskCraft automates the generation of scalable, multi-tool, and complex agentic tasks to enhance prompt optimization and fine-tuning of agentic models.