Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

TaskCraft

> 编程语言
Open source

[ICLR 2026] A library for generating difficulty-scalable, multi-tool, and verifiable agentic tasks with execution trajectories.

197 stars0 likes0 views
WebsiteGitHub

About

[ICLR 2026] A library for generating difficulty-scalable, multi-tool, and verifiable agentic tasks with execution trajectories.

[Paper] [Data]

taskcraft is a library for generating difficulty-scalable, multi-tool, and verifiable agentic tasks with execution trajectories. It offers:

✨ Unlimited Task Complexity Scaling: Build multi-level complex challenges from simple atomic tasks via depth-based (hierarchical) and width-based (compositional) extension strategies, supporting multi hops reasoning and multi-tool collaboration.

‍ Seamless Multi-Modal Input Parsing. Directly process heterogeneous data sources like PDF/HTML/URL, automatically extracting key information to generate atomic questions, with support for single-modal (text) and multi-modal (text-image hybrid) modes.

Verifiable Execution Trajectory Generation: Produce standardized function call logs and tool invocation chains for every task, enabling precise reproduction and evaluation of agent execution processes.

Difficulty Grading and Large-Scale Data Generation: Built-in difficulty scoring system automatically generates tasks from simple (1-step) to expert-level (4-step+), with a default 36,000+ synthetic dataset ready for model training.

Contents

  • Installation
  • Set API Keys
  • Use Your Agent
  • Dataset
  • Contribute
  • Citation

Installation

Requirements

Python>=3.10

Method1: Install with pip

bash
conda create -n taskcraft python=3.10
conda activate taskcraft
pip install taskcraft

Method2: Install from source for development.

bash
conda create -n taskcraft python=3.10
conda activate taskcraft
cd TaskCraft
pip install -e .

Set API Keys

Before use, set the following environment variables (supports OpenAI-compatible models and third-party tools): For Linux:

bash
export OPENAI_API_BASE="your-openai-endpoint"   # e.g., OpenAI official or Azure OpenAI
export OPENAI_API_KEY="your-api-key"            # OpenAI API key
export SERP_API_KEY="your-serpapi-key"          # see https://serpapi.com/
export JINA_API_KEY="your-jina-key"             # see https://jina.ai/

For windows:

bash
$env:OPENAI_API_BASE="your-openai-endpoint"   # e.g., OpenAI official or Azure OpenAI
$env:OPENAI_API_KEY="your-api-key"            # OpenAI API key
$env:SERP_API_KEY="your-serpapi-key"          # see https://serpapi.com/
$env:JINA_API_KEY="your-jina-key"             # see https://jina.ai/

Usage Examples

Atomic Task Generation

Extract the content from PDF/HTML/URL/Image to generate atomic agentic tasks.

…

Depth-based Extensions

Generate multi-hop reasoning tasks from atomic tasks to simulate real-world agent decision-making.

…

Width-based Extensions

…

Use Your Own Agent

By default, we rely on OAgents, ensuring seamless execution of taskcraft. However, you're free to deploy your own agent to tailor the experience to your specific needs. You can add your own agent class in src/tools/agent_tools.py accordingly.

…

Then you can use these agents in the depth_extend function by passing them as parameters.

…

Dataset

The generated dataset can be found in huggingface.

Contribute

Welcome to report issues or submit feature requests via Issues. Feel free to contribute code or documentation improvements :).

Citation

If you use TaskCraft in your publication, please cite it by using the following BibTeX entry.

bibtex
@misc{shi2025taskcraft,
      title={TaskCraft: Automated Generation of Agentic Tasks}, 
      author={Dingfeng Shi and Jingyi Cao and Qianben Chen and Weichen Sun and Weizhen Li and Hongxuan Lu and Fangchen Dong and Tianrui Qin and King Zhu and Minghao Yang and Jian Yang and Ge Zhang and Jiaheng Liu and Changwang Zhang and Jun Wang and Yuchen Eleanor Jiang and Wangchunshu Zhou},
      year={2025},
      url={https://arxiv.org/abs/2506.10055}, 
}

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Python

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言