Toward SLM-based agentic task-tool intent matching
cs.AI
Submitted: 2026-10-02
Updated: 2026-10-02
Code: https://github.com/outshift-open/outshift-casa-slm
License: http://creativecommons.org/licenses/by-nc-nd/4.0/
The gist: Tool-equipped AI agents use tool calls to access data and act on external systems.
Terminology
Abstract
Tool-equipped AI agents use tool calls to access data and act on external systems. Horizontal growth of agentic systems increases the number of these interactions, and further motivates the need for automated, per-call oversight that can operate at low latency and/or on-prem. Conventional authorization schemes can determine whether an agent is allowed to invoke a tool, but cannot assess the agent's underlying cognition, specifically, whether the tool selection represents a logical, relevant step toward satisfying the intent of the task or not. Consequently, an allowed call may still deviate from the task's intent: a rogue agent might deviate the calls or nudge other agents to make a combination of calls that would not align with the intent of the task. Therefore, every call needs to be verified. In this study we investigate the applicability of Small Language Models (SLMs) to this purpose: an SLM functions as a task-tool relevance classifier that evaluates every selected tool independently against the assigned task and returns a relevance signal for downstream enforcement. Equipped with a novel dataset with multi-tool tasks whose required tools span distinct Model Context Protocol (MCP) servers, we used prompt-optimization, supervised fine-tuning, and reinforcement learning through GRPO to optimize and specialize SLMs.
Sources
- A Layered Protocol Architecture for the Internet of Agents
- Delegated Authorization for Agents Constrained to Semantic Task-to-Scope Matching
- Hybrid Inspection and Task-Based Access Control in Zero-Trust Agentic AI
- TOUCAN: Synthesizing 1.5M Tool-Agentic Data from Real-World MCP Environments
- DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
- LoRA: Low-Rank Adaptation of Large Language Models
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems