mlsanityData to 7 Oct 2026

CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsets

arXiv 2309.17428 ↗First posted 29 Sep 2023cs.CL cs.AI cs.LGcited by 122

Not on the map. Why?

Cited by 72 in LLM agents and tool use, but placed by its own abstract, which didn’t fit.

Abstract (arXiv)

Large language models (LLMs) are often augmented with tools to solve complex tasks. By generating code snippets and executing them through task-specific Application Programming Interfaces (APIs), they can offload certain functions to dedicated external modules, such as image encoding and performing calculations. However, most existing approaches to augment LLMs with tools are constrained by general-purpose APIs and lack the flexibility for tailoring them to specific tasks. In this work, we present CRAFT, a general tool creation and retrieval framework for LLMs. It creates toolsets specifically curated for the tasks and equips LLMs with a component that retrieves tools from these sets to enhance their capability to solve complex tasks. For each task, we collect specific code solutions by prompting GPT-4 to solve the training examples. Following a validation step ensuring the correctness, these solutions are abstracted into code snippets to enhance reusability, and deduplicated for higher quality. At inference time, the language model retrieves snippets from the toolsets and then executes them or generates the output conditioning on the retrieved snippets. Our method is designed to be flexible and offers a plug-and-play approach to adapt off-the-shelf LLMs to unseen domains and modalities, without any finetuning. Experiments on vision-language, tabular processing, and mathematical reasoning tasks show that our approach achieves substantial improvements compared to strong baselines. In addition, our in-depth analysis reveals that: (1) consistent performance improvement can be achieved by scaling up the number of tools and the capability of the backbone models; (2) each component of our approach contributes to the performance gains; (3) the created tools are well-structured and reliable with low complexity and atomicity. The code is available at https://github.com/lifan-yuan/CRAFT.

Key facts. Cited by 122 papers in the map (data through 7 Oct 2026). Builds on 44 of its 63 references that are in the map. First posted on arXiv 29 Sep 2023.

Builds on

44 of 63 references.

References · 44

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  6. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  7. 2023Visual Instruction Tuningcited by 7,792
  8. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  9. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  10. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  11. 2015VQA: Visual Question Answeringcited by 2,489
  12. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
32 more
  1. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  2. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
  3. 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,722
  4. 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
  5. 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
  6. 2019OK-VQA: A Visual Question Answering Benchmark Requiring External Knowledgecited by 1,114
  7. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
  8. 2022A-OKVQA: A Benchmark for Visual Question Answering using World Knowledgecited by 702
  9. 2023Visual ChatGPT: Talking, Drawing and Editing with Visual Foundation Modelscited by 659
  10. 2022PAL: Program-aided Language Modelscited by 635
  11. 2023ViperGPT: Visual Inference via Python Execution for Reasoningcited by 591
  12. 2023Augmented Language Models: a Surveycited by 398
  13. 2023ToolAlpaca: Generalized Tool Learning for Language Models with 3000 Simulated Casescited by 383
  14. 2022Dynamic Prompt Learning via Policy Gradient for Semi-structured Mathematical Reasoningcited by 347
  15. 2023Tool Learning with Foundation Modelscited by 302
  16. 2023Large Language Models as Tool Makerscited by 293
  17. 2023MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedbackcited by 293
  18. 2023ToolQA: A Dataset for LLM Question Answering with External Toolscited by 273
  19. 2023ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool Embeddingscited by 238
  20. 2023Improving Language Model Negotiation with Self-Play and In-Context Learning from AI Feedbackcited by 202
  21. 2022TALM: Tool Augmented Language Modelscited by 197
  22. 2022BlenderBot 3: a deployed conversational agent that continually learns to responsibly engagecited by 197
  23. 2023ART: Automatic multi-step reasoning and tool-use for large language modelscited by 193
  24. 2023TaskMatrix.AI: Completing Tasks by Connecting Foundation Models with Millions of APIscited by 184
  25. 2023Fact-Checking Complex Claims with Program-Guided Reasoningcited by 146
  26. 2023On the Tool Manipulation Capability of Open-source Large Language Modelscited by 122
  27. 2023WebGLM: Towards An Efficient Web-Enhanced Question Answering System with Human Preferencescited by 100
  28. 2021A Neural Network Solves, Explains, and Generates University Math Problems by Program Synthesis and Few-Shot Learning at Human Levelcited by 96
  29. 2023Revisiting Out-of-distribution Robustness in NLP: Benchmark, Analysis, and LLMs Evaluationscited by 96
  30. 2022Mind's Eye: Grounded Language Model Reasoning through Simulationcited by 83
  31. 2023Confucius: Iterative Tool Learning from Introspection Feedback by Easy-to-Difficult Curriculumcited by 64
  32. 2023Measuring and Improving Chain-of-Thought Reasoning in Vision-Language Modelscited by 45

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 3; 2024: 38; 2025: 44; 2026: 37.

122 papers.

Sort:

By area:

  1. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
  2. 2024Executable Code Actions Elicit Better LLM Agentscited by 537
  3. 2024A Survey on Knowledge Distillation of Large Language Modelscited by 276
  4. 2024Data Interpreter: An LLM Agent For Data Sciencecited by 222
  5. 2024Tool Learning with Large Language Models: A Surveycited by 221
  6. 2025Large Language Model Agent: A Survey on Methodology, Applications and Challengescited by 194
  7. 2024Advancing LLM Reasoning Generalists with Preference Treescited by 191
  8. 2025SkillWeaver: Web Agents can Self-Improve by Discovering and Honing Skillscited by 174
  9. 2025Prompt Injection Attack to Tool Selection in LLM Agentscited by 145
  10. 2025Mobile-Agent-E: Self-Evolving Mobile Assistant for Complex Taskscited by 128
  11. 2024Meta-Prompting: Enhancing Language Models with Task-Agnostic Scaffoldingcited by 115
  12. 2025Alita: Generalist Agent Enabling Scalable Agentic Reasoning with Minimal Predefinition and Maximal Self-Evolutioncited by 114
38 more
  1. 2024Why Tabular Foundation Models Should Be a Research Prioritycited by 103
  2. 2024Large Multimodal Agents: A Surveycited by 99
  3. 2024A Review of Large Language Models and Autonomous Agents in Chemistrycited by 96
  4. 2024RedCode: Risky Code Execution and Generation Benchmark for Code Agentscited by 87
  5. 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agentscited by 77
  6. 2024EHRAgent: Code Empowers Large Language Models for Few-shot Complex Tabular Reasoning on Electronic Health Recordscited by 75
  7. 2023Igniting Language Intelligence: The Hitchhiker's Guide From Chain-of-Thought Reasoning to Language Agentscited by 72
  8. 2024TroVE: Inducing Verifiable and Efficient Toolboxes for Solving Programmatic Taskscited by 70
  9. 2024SciAgent: Tool-augmented Language Models for Scientific Reasoningcited by 69
  10. 2025UserBench: An Interactive Gym Environment for User-Centric Agentscited by 69
  11. 2024MindSearch: Mimicking Human Minds Elicits Deep AI Searchercited by 65
  12. 2026SkillRouter: Skill Routing for LLM Agents at Scalecited by 57
  13. 2024What Are Tools Anyway? A Survey from the Language Model Perspectivecited by 53
  14. 2025SMART: Self-Aware Agent for Tool Overuse Mitigationcited by 52
  15. 2024Offline Training of Language Model Agents with Functions as Learnable Weightscited by 47
  16. 2025Retrieval Models Aren't Tool-Savvy: Benchmarking Tool Retrieval for Large Language Modelscited by 46
  17. 2025LLM Agents Making Agent Toolscited by 45
  18. 2024Adaptive In-conversation Team Building for Language Model Agentscited by 38
  19. 2025ScaleMCP: Dynamic and Auto-Synchronizing Model Context Protocol Tools for LLM Agentscited by 36
  20. 2025Visual Large Language Models for Generalized and Specialized Applicationscited by 35
  21. 2024AgentMD: Empowering Language Agents for Risk Prediction with Large-Scale Clinical Tool Learningcited by 33
  22. 2025CASCADE: Cumulative Agentic Skill Creation through Autonomous Development and Evolutioncited by 33
  23. 2024ReGAL: Refactoring Programs to Discover Generalizable Abstractionscited by 32
  24. 2025Generative to Agentic AI: Survey, Conceptualization, and Challengescited by 32
  25. 2024DynaSaur: Large Language Agents Beyond Predefined Actionscited by 30
  26. 2024Speech-Copilot: Leveraging Large Language Models for Speech Processing via Task Decomposition, Modularization, and Program Generationcited by 27
  27. 2025Explain Before You Answer: A Survey on Compositional Visual Reasoningcited by 26
  28. 2024Toolshed: Scale Tool-Equipped Agents with Advanced RAG-Tool Fusion and Tool Knowledge Basescited by 23
  29. 2026ReCreate: Reasoning and Creating Domain Agents Driven by Experiencecited by 22
  30. 2025MemTool: Optimizing Short-Term Memory Management for Dynamic Tool Calling in LLM Agent Multi-Turn Conversationscited by 21
  31. 2024Empowering Large Language Model Agents through Action Learningcited by 20
  32. 2025ToolScope: Enhancing LLM Agent Tool Use through Tool Merging and Context-Aware Filteringcited by 19
  33. 2025Divide-Then-Aggregate: An Efficient Tool Learning Method via Parallel Tool Invocationcited by 16
  34. 2025Probing the Critical Point (CritPt) of AI Reasoning: a Frontier Physics Research Benchmarkcited by 16
  35. 2025Tool-to-Agent Retrieval: Bridging Tools and Agents for Scalable LLM Multi-Agent Systemscited by 15
  36. 2026From Skill Text to Skill Structure: The Scheduling-Structural-Logical Representation for Agent Skillscited by 15
  37. 2026SkillDAG: Self-Evolving Typed Skill Graphs for LLM Skill Selection at Scalecited by 15
  38. 2025MARS-SQL: A multi-agent reinforcement learning framework for Text-to-SQLcited by 14

50 most cited of 122 All 122 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2024LLM With Tools: A Survey
  2. 2026Harness Engineering in LLM Tool Use via Agent-Native Reusable Tool Primitives
  3. 2024Harnessing LLMs for API Interactions: A Framework for Classification and Synthetic Data Generation
  4. 2024Tool Learning in the Wild: Empowering Language Models as Automatic Tool Agents
  5. 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMs
  6. 2026Automated Customization of LLMs for Enterprise Code Repositories Using Semantic Scopes
  7. 2024Achieving Tool Calling Functionality in LLMs Using Only Prompt Engineering Without Fine-Tuning
  8. 2025Unified Tool Integration for LLMs: A Protocol-Agnostic Approach to Function Calling