TinyAgent: Function Calling at the Edge
On the map: LLM agents and tool use → Tool learning and function calling
Abstract (arXiv)
Recent large language models (LLMs) have enabled the development of advanced agentic systems that can integrate various tools and APIs to fulfill user queries through function calling. However, the deployment of these LLMs on the edge has not been explored since they typically require cloud-based infrastructure due to their substantial model size and computational demands. To this end, we present TinyAgent, an end-to-end framework for training and deploying task-specific small language model agents capable of function calling for driving agentic systems at the edge. We first show how to enable accurate function calling for open-source models via the LLMCompiler framework. We then systematically curate a high-quality dataset for function calling, which we use to fine-tune two small language models, TinyAgent-1.1B and 7B. For efficient inference, we introduce a novel tool retrieval method to reduce the input prompt length and utilize quantization to further accelerate the inference speed. As a driving application, we demonstrate a local Siri-like system for Apple's MacBook that can execute user commands through text or voice input. Our results show that our models can achieve, and even surpass, the function-calling capabilities of larger models like GPT-4-Turbo, while being fully deployed at the edge. We open-source our dataset, models, and installable package and provide a demo video for our MacBook assistant agent.
Key facts. Cited by 55 papers in the map (data through 7 Oct 2026). Placed in Tool learning and function calling, one of 16 directions in LLM agents and tool use. Builds on 32 of its 41 references that are in the map. First posted on arXiv 1 Sep 2024.
Builds on
32 of 41 references.
Closest ancestors · 4
Same direction, newest first
- 2024Octopus: On-device language model for function calling of software APIs2 Apr
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs31 Jul
- 2023Gorilla: Large Language Model Connected with Massive APIs24 May
- 2023Toolformer: Language Models Can Teach Themselves to Use Tools9 Feb
Other references · 28
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2022Robust Speech Recognition via Large-Scale Weak Supervisioncited by 3,972
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
- 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,219
- 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
- 2023LIMA: Less Is More for Alignmentcited by 1,080
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 798
- 2024TinyLlama: An Open-Source Small Language Modelcited by 604
- 2024AndroidWorld: A Dynamic Benchmarking Environment for Autonomous Agentscited by 450
- 2023Android in the Wild: A Large-Scale Dataset for Android Device Controlcited by 314
16 more
- 2023Specializing Smaller Language Models towards Multi-Step Reasoningcited by 249
- 2023Large Language Model as Attributed Training Data Generator: A Tale of Diversity and Biascited by 230
- 2021GPT3Mix: Leveraging Large-scale Language Models for Text Augmentationcited by 185
- 2023TaskMatrix.AI: Completing Tasks by Connecting Foundation Models with Millions of APIscited by 184
- 2023An LLM Compiler for Parallel Function Callingcited by 170
- 2020Data Augmentation using Pre-trained Transformer Modelscited by 168
- 2024Android in the Zoo: Chain-of-Action-Thought for GUI Agentscited by 156
- 2024UFO: A UI-Focused Agent for Windows OS Interactioncited by 147
- 2023AugGPT: Leveraging ChatGPT for Text Data Augmentationcited by 128
- 2023Rephrase and Respond: Let Large Language Models Ask Better Questions for Themselvescited by 123
- 2024LLM2LLM: Boosting LLMs with Novel Iterative Data Enhancementcited by 69
- 2023TinyGSM: achieving >80% on GSM8k with small language modelscited by 68
- 2023MM-LIMA: Less Is More for Alignment in Multi-Modal Datasetscited by 61
- 2024Benchmarking Mobile Device Control Agents across Diverse Configurationscited by 54
- 2023ZeroShotDataAug: Generating and Augmenting Training Data with ChatGPTcited by 32
- 2023Using GPT-4 to Augment Unbalanced Data for Automatic Scoringcited by 20
Built on by
Citing papers per year: 2024: 6; 2025: 25; 2026: 24.
55 papers.
Sort:
By area:
- 2025Plan-and-Act: Improving Planning of Agents for Long-Horizon Taskscited by 190
- 2024Hammer: Robust Function-Calling for On-Device Language Models via Function Maskingcited by 53
- 2025MARFT: Multi-Agent Reinforcement Fine-Tuningcited by 51
- 2025Distilling LLM Agent into Small Models with Retrieval and Code Toolscited by 41
- 2025GUI-Xplore: Empowering Generalizable GUI Agents with One Explorationcited by 25
- 2024Efficient and Scalable Estimation of Tool Representations in Vector Spacecited by 22
- 2025LongFuncEval: Measuring the effectiveness of long context models for function callingcited by 17
- 2026ToolGate: Contract-Grounded and Verified Tool Execution for LLMscited by 13
- 2025HiPerRAG: High-Performance Retrieval Augmented Generation for Scientific Insightscited by 11
- 2025Agent.xpu: Efficient Scheduling of Agentic LLM Workloads on Heterogeneous SoCcited by 11
- 2025Generalizability of Large Language Model-Based Agents: A Comprehensive Surveycited by 10
- 2025Automating High Energy Physics Data Analysis with LLM-Powered Agentscited by 10
38 more
- 2025Bridging AI and Software Security: A Comparative Vulnerability Assessment of LLM Agent Deployment Paradigmscited by 7
- 2025Dynamic Tool Dependency Retrieval for Lightweight Function Callingcited by 7
- 2026Agentic Test-Time Scaling for WebAgentscited by 7
- 2025Toward Super Agent System with Hybrid AI Routerscited by 6
- 2025DICE-BENCH: Evaluating the Tool-Use Capabilities of Large Language Models in Multi-Round, Multi-Party Dialoguescited by 6
- 2025Don't Adapt Small Language Models for Tools; Adapt Tool Schemas to the Modelscited by 6
- 2024Natural GaLore: Accelerating GaLore for memory-efficient LLM Training and Fine-tuningcited by 4
- 2024DroidCall: A Dataset for LLM-powered Android Intent Invocationcited by 4
- 2025TinyLLM: Evaluation and Optimization of Small Language Models for Agentic Tasks on Edge Devicescited by 4
- 2026Agent-X: Full Pipeline Acceleration of On-device AI Agentscited by 4
- 2025Small Language Models (SLMs) Can Still Pack a Punch: A survey (updated 2026)cited by 2
- 2025Every Software as an Agent: Blueprint and Case Studycited by 2
- 2025AgentFlux: Decoupled Fine-Tuning & Inference for On-Device Agentic Systemscited by 2
- 2025ToolPRM: Fine-Grained Inference Scaling of Structured Outputs for Function Callingcited by 2
- 2025ScaleCall -- Agentic Tool Calling at Scale for Fintech: Challenges, Methods, and Deployment Insightscited by 2
- 2026Concurrency without Model Changes: Future-based Asynchronous Function Calling for LLMscited by 2
- 2024Bridging Today and the Future of Humanity: AI Safety in 2024 and Beyondcited by 1
- 2024Less is More: Optimizing Function Calling for LLM Execution on Edge Devicescited by 1
- 2025CarbonCall: Sustainability-Aware Function Calling for Large Language Models on Edge Devicescited by 1
- 2025Replacing thinking with tool usage enables reasoning in small language modelscited by 1
- 2025Advancing SLM Tool-Use Capability using Reinforcement Learningcited by 1
- 2025Efficient On-Device Agents via Adaptive Context Managementcited by 1
- 2025CFD-copilot: leveraging domain-adapted large language model and model context protocol to enhance simulation automationcited by 1
- 2026Multilinguality at the Edge: Developing Language Models for the Global Southcited by 1
- 2026Learn from Weaknesses: Automated Domain Specialization for Small Computer-Use Agentscited by 1
- 2026Evoflux: Inference-Time Evolution of Executable Tool Workflows for Compact Agentscited by 1
- 2026Making Prospective Memory SLM-Shaped: Typed Intention Stores for Small-Model Agentscited by 1
- 2026Carbon-Aware Routing for Function Calling in Edge-Cloud LLM Systemscited by 1
- 2026STAR: Similarity-guided Teacher-Assisted Refinement for Super-Tiny Function Calling Modelscited by 0
- 2026Runtime Burden Allocation for Structured LLM Routing in Agentic Expert Systems: A Full-Factorial Cross-Backend Methodologycited by 0
- 2026Training the Orchestrator: A Supervised Approach to End-to-End PDDL Planning with LLM Agentscited by 0
- 2026Tool-Adaptive LLM Rerankercited by 0
- 2026Eta Given Delta: Defining LLM Tool Efficiency With Marginal Tool Utilitycited by 0
- 2026Below the Noise Floor: Bimodal Seed Collapse and Distinct Failure Modes in Small-Model Knowledge Distillationcited by 0
- 2026GeoAgent: Evaluating VLM Geolocalization Through Embodied Navigationcited by 0
- 2026From Fixed Keys to Readable Schemas: Small Language Models for Vehicle Agent Function Callscited by 0
- 2026AGENTQ: Quantization-Conditioned Backdoor Attacks on LLM Agentscited by 0
- 2026Selection Is Retrieval, Abstention Is Not: On-Device Tool Routing over 70 Korean-English Actionscited by 0
50 most cited of 55 All 55 (JSON)
- 2026Mingbird: A Local-First Agent Harness Enabling Small Open Models to Complete Real Tasks1 Oct 2026
- 2026What Can Component-Replacement Evidence Establish? A Critical Scoping Review of Local Decisions in LLM Agents30 Sep 2026
- 2026PastForward: Faster On-Device GUI Agents via Computational Experience Reuse26 Sep 2026
- 2026PTC-Decoder: Towards Intelligent SLMs on Offline Resource-Constrained Edge Devices25 Sep 2026
- 2026Extending FunctionGemma for Practical On-Device Mobile Function Calling21 Sep 2026
- 2026Selection Is Retrieval, Abstention Is Not: On-Device Tool Routing over 70 Korean-English Actions16 Sep 2026
- 2026AGENTQ: Quantization-Conditioned Backdoor Attacks on LLM Agents12 Sep 2026
- 2026Carbon-Aware Routing for Function Calling in Edge-Cloud LLM Systems11 Sep 2026
- 2026From Fixed Keys to Readable Schemas: Small Language Models for Vehicle Agent Function Calls8 Sep 2026
- 2026Making Prospective Memory SLM-Shaped: Typed Intention Stores for Small-Model Agents1 Sep 2026
- 2026GeoAgent: Evaluating VLM Geolocalization Through Embodied Navigation30 Aug 2026
- 2026Below the Noise Floor: Bimodal Seed Collapse and Distinct Failure Modes in Small-Model Knowledge Distillation27 Aug 2026
38 more
- 2026Tool-Adaptive LLM Reranker12 Jul 2026
- 2026Training the Orchestrator: A Supervised Approach to End-to-End PDDL Planning with LLM Agents19 Jun 2026
- 2026Evoflux: Inference-Time Evolution of Executable Tool Workflows for Compact Agents10 Jun 2026
- 2026Learn from Weaknesses: Automated Domain Specialization for Small Computer-Use Agents27 May 2026
- 2026Concurrency without Model Changes: Future-based Asynchronous Function Calling for LLMs14 May 2026
- 2026Agent-X: Full Pipeline Acceleration of On-device AI Agents11 May 2026
- 2026Eta Given Delta: Defining LLM Tool Efficiency With Marginal Tool Utility7 May 2026
- 2026Multilinguality at the Edge: Developing Language Models for the Global South23 Apr 2026
- 2026Runtime Burden Allocation for Structured LLM Routing in Agentic Expert Systems: A Full-Factorial Cross-Backend Methodology26 Mar 2026
- 2026Agentic Test-Time Scaling for WebAgents12 Feb 2026
- 2026STAR: Similarity-guided Teacher-Assisted Refinement for Super-Tiny Function Calling Models3 Feb 2026
- 2026ToolGate: Contract-Grounded and Verified Tool Execution for LLMs8 Jan 2026
- 2025Dynamic Tool Dependency Retrieval for Lightweight Function Calling18 Dec 2025
- 2025CFD-copilot: leveraging domain-adapted large language model and model context protocol to enhance simulation automation8 Dec 2025
- 2025Automating High Energy Physics Data Analysis with LLM-Powered Agents8 Dec 2025
- 2025TinyLLM: Evaluation and Optimization of Small Language Models for Agentic Tasks on Edge Devices27 Nov 2025
- 2025ScaleCall -- Agentic Tool Calling at Scale for Fintech: Challenges, Methods, and Deployment Insights29 Oct 2025
- 2025ToolPRM: Fine-Grained Inference Scaling of Structured Outputs for Function Calling16 Oct 2025
- 2025Don't Adapt Small Language Models for Tools; Adapt Tool Schemas to the Models8 Oct 2025
- 2025AgentFlux: Decoupled Fine-Tuning & Inference for On-Device Agentic Systems30 Sep 2025
- 2025Efficient On-Device Agents via Adaptive Context Management24 Sep 2025
- 2025Generalizability of Large Language Model-Based Agents: A Comprehensive Survey19 Sep 2025
- 2025Advancing SLM Tool-Use Capability using Reinforcement Learning3 Sep 2025
- 2025Bridging AI and Software Security: A Comparative Vulnerability Assessment of LLM Agent Deployment Paradigms8 Jul 2025
- 2025Replacing thinking with tool usage enables reasoning in small language models7 Jul 2025
- 2025Agent.xpu: Efficient Scheduling of Agentic LLM Workloads on Heterogeneous SoC30 Jun 2025
- 2025DICE-BENCH: Evaluating the Tool-Use Capabilities of Large Language Models in Multi-Round, Multi-Party Dialogues28 Jun 2025
- 2025Distilling LLM Agent into Small Models with Retrieval and Code Tools23 May 2025
- 2025HiPerRAG: High-Performance Retrieval Augmented Generation for Scientific Insights7 May 2025
- 2025LongFuncEval: Measuring the effectiveness of long context models for function calling30 Apr 2025
- 2025CarbonCall: Sustainability-Aware Function Calling for Large Language Models on Edge Devices29 Apr 2025
- 2025MARFT: Multi-Agent Reinforcement Fine-Tuning21 Apr 2025
- 2025Toward Super Agent System with Hybrid AI Routers11 Apr 2025
- 2025GUI-Xplore: Empowering Generalizable GUI Agents with One Exploration22 Mar 2025
- 2025Plan-and-Act: Improving Planning of Agents for Long-Horizon Tasks12 Mar 2025
- 2025Every Software as an Agent: Blueprint and Case Study7 Feb 2025
- 2025Small Language Models (SLMs) Can Still Pack a Punch: A survey (updated 2026)3 Jan 2025
- 2024DroidCall: A Dataset for LLM-powered Android Intent Invocation30 Nov 2024
50 newest of 55 All 55 (JSON)
- 2025Plan-and-Act: Improving Planning of Agents for Long-Horizon Taskscited by 190
- 2024Hammer: Robust Function-Calling for On-Device Language Models via Function Maskingcited by 53
- 2025MARFT: Multi-Agent Reinforcement Fine-Tuningcited by 51
- 2025GUI-Xplore: Empowering Generalizable GUI Agents with One Explorationcited by 25
- 2024Efficient and Scalable Estimation of Tool Representations in Vector Spacecited by 22
- 2025LongFuncEval: Measuring the effectiveness of long context models for function callingcited by 17
- 2026ToolGate: Contract-Grounded and Verified Tool Execution for LLMscited by 13
- 2025Agent.xpu: Efficient Scheduling of Agentic LLM Workloads on Heterogeneous SoCcited by 11
- 2025Generalizability of Large Language Model-Based Agents: A Comprehensive Surveycited by 10
- 2025Automating High Energy Physics Data Analysis with LLM-Powered Agentscited by 10
- 2025Bridging AI and Software Security: A Comparative Vulnerability Assessment of LLM Agent Deployment Paradigmscited by 7
- 2025Dynamic Tool Dependency Retrieval for Lightweight Function Callingcited by 7
12 most cited of 39 All 39 (JSON)
- 2026What Can Component-Replacement Evidence Establish? A Critical Scoping Review of Local Decisions in LLM Agents30 Sep 2026
- 2026PastForward: Faster On-Device GUI Agents via Computational Experience Reuse26 Sep 2026
- 2026Extending FunctionGemma for Practical On-Device Mobile Function Calling21 Sep 2026
- 2026AGENTQ: Quantization-Conditioned Backdoor Attacks on LLM Agents12 Sep 2026
- 2026Carbon-Aware Routing for Function Calling in Edge-Cloud LLM Systems11 Sep 2026
- 2026From Fixed Keys to Readable Schemas: Small Language Models for Vehicle Agent Function Calls8 Sep 2026
- 2026Making Prospective Memory SLM-Shaped: Typed Intention Stores for Small-Model Agents1 Sep 2026
- 2026Tool-Adaptive LLM Reranker12 Jul 2026
- 2026Training the Orchestrator: A Supervised Approach to End-to-End PDDL Planning with LLM Agents19 Jun 2026
- 2026Evoflux: Inference-Time Evolution of Executable Tool Workflows for Compact Agents10 Jun 2026
- 2026Learn from Weaknesses: Automated Domain Specialization for Small Computer-Use Agents27 May 2026
- 2026Concurrency without Model Changes: Future-based Asynchronous Function Calling for LLMs14 May 2026
12 newest of 39 All 39 (JSON)
- 2025Distilling LLM Agent into Small Models with Retrieval and Code Toolscited by 41
- 2026Agentic Test-Time Scaling for WebAgentscited by 7
- 2025Replacing thinking with tool usage enables reasoning in small language modelscited by 1
- 2025Advancing SLM Tool-Use Capability using Reinforcement Learningcited by 1
- 2026Agentic Test-Time Scaling for WebAgents12 Feb 2026
- 2025Advancing SLM Tool-Use Capability using Reinforcement Learning3 Sep 2025
- 2025Replacing thinking with tool usage enables reasoning in small language models7 Jul 2025
- 2025Distilling LLM Agent into Small Models with Retrieval and Code Tools23 May 2025
- 2025Efficient On-Device Agents via Adaptive Context Management24 Sep 2025
- 2025Don't Adapt Small Language Models for Tools; Adapt Tool Schemas to the Modelscited by 6
- 2024Natural GaLore: Accelerating GaLore for memory-efficient LLM Training and Fine-tuningcited by 4
- 2025Small Language Models (SLMs) Can Still Pack a Punch: A survey (updated 2026)cited by 2
- 2024Bridging Today and the Future of Humanity: AI Safety in 2024 and Beyondcited by 1
- 2026Multilinguality at the Edge: Developing Language Models for the Global Southcited by 1
- 2026Below the Noise Floor: Bimodal Seed Collapse and Distinct Failure Modes in Small-Model Knowledge Distillationcited by 0
- 2026Selection Is Retrieval, Abstention Is Not: On-Device Tool Routing over 70 Korean-English Actionscited by 0
- 2026PTC-Decoder: Towards Intelligent SLMs on Offline Resource-Constrained Edge Devicescited by 0
- 2026Mingbird: A Local-First Agent Harness Enabling Small Open Models to Complete Real Taskscited by 0
- 2026Mingbird: A Local-First Agent Harness Enabling Small Open Models to Complete Real Tasks1 Oct 2026
- 2026PTC-Decoder: Towards Intelligent SLMs on Offline Resource-Constrained Edge Devices25 Sep 2026
- 2026Selection Is Retrieval, Abstention Is Not: On-Device Tool Routing over 70 Korean-English Actions16 Sep 2026
- 2026Below the Noise Floor: Bimodal Seed Collapse and Distinct Failure Modes in Small-Model Knowledge Distillation27 Aug 2026
- 2026Multilinguality at the Edge: Developing Language Models for the Global South23 Apr 2026
- 2025Don't Adapt Small Language Models for Tools; Adapt Tool Schemas to the Models8 Oct 2025
- 2025Small Language Models (SLMs) Can Still Pack a Punch: A survey (updated 2026)3 Jan 2025
- 2024Natural GaLore: Accelerating GaLore for memory-efficient LLM Training and Fine-tuning21 Oct 2024
- 2024Bridging Today and the Future of Humanity: AI Safety in 2024 and Beyond9 Oct 2024
Similar, not cited
Close in wording, no citation either way
- 2024Granite-Function Calling Model: Introducing Function Calling Abilities via Multi-task Learning of Granular Tasks
- 2026Small Reasoning Models are Instruction Followers in Function Calling
- 2025Small Models, Big Tasks: An Exploratory Empirical Study on Small Language Models for Function Calling
- 2024ToolACE: Winning the Points of LLM Function Calling
- 2026Rethinking Scale: Deployment Trade-offs of Small Language Models under Agent Paradigms
- 2024Benchmarking Floworks against OpenAI & Anthropic: A Novel Framework for Enhanced LLM Function Calling
- 2026HyFunc: Accelerating LLM-based Function Calls for Agentic AI through Hybrid-Model Cascade and Dynamic Templating
- 2025Small Language Models are the Future of Agentic AI