Alibaba Metis agent explodes: new framework reduces AI tool miscalls from 98% to 2%
The Alibaba research team open sourced the Metis agent, and its HDPO training framework reduced the redundant call rate of AI tools from 98% to 2%, while the inference accuracy exceeded the 30B parameter model. This technology is expected to save significant API costs for AI Agent automated workflows.
Core conclusion
On April 30, 2026, the Alibaba research team open sourced the Metis multi-modal AI agent and its training framework HDPO (Hierarchical Decoupled Policy Optimization). The core breakthrough is to let the AI Agent learn to "use tools only when they should be used", reducing the redundant tool call rate from 98% to 2%, while at the same time improving the reasoning accuracy.
Key Points
- Occurrence time: April 30, 2026 (paper + open source code released simultaneously)
- Affected groups: developers using AI Agent, automated workflow builders, API cost-sensitive teams
- Core changes: HDPO decouples "accuracy" and "efficiency" into independent optimization channels, allowing AI to first learn to reason correctly, and then learn to cut unnecessary API calls
Background: AI Agent’s “Triggered Tool Dependence
The current mainstream AI Agent has a problem called metacognitive defect: the model cannot judge when it should use its own knowledge to answer and when it needs to call external tools.
This means that even for a simple question (such as "What is the text in the middle of the picture?"), the current model will first write a Python script to crop the picture and perform OCR recognition instead of reading it directly. The result is:
- Redundant tool call rate as high as 98% - almost all Agent interactions trigger tools
- Significant increase in latency - Every external API call introduces a serial processing bottleneck
- Context is polluted by noise - Too many tools return results that interfere with the model's inference chain
- API costs are out of control – every unnecessary call is burning money
Previous reinforcement learning methods tried to suppress tool overuse by merging accuracy and efficiency into a reward signal, but this resulted in an unsolvable optimization dilemma: too hard, and the model did not dare to call the tool when needed; too light, and the model still overused the tool for simple tasks.
HDPO core innovation: decoupled hierarchical strategy optimization
The HDPO (Hierarchical Decoupled Policy Optimization) framework proposed by the Alibaba team splits accuracy and efficiency into two independent optimization channels:
| Dimensions | Original method | HDPO |
|---|---|---|
| Training signal | Accuracy + efficiency mixed into a single reward | Two channels are calculated completely independently |
| Optimization direction | Mutual pull, gradient cancellation | Efficiency signal conditional dependence on accurate signal |
| Learning sequence | Simultaneous learning | Implicit cognitive course: learn correct reasoning first, then learn saving tools |
| Training results | Trade-offs | Improved accuracy + reduced tool calls |
Implicit cognitive course mechanism
HDPO's most powerful property is its spontaneous Cognitive Lesson effect:
- Early training: When the model is still learning the task, optimization is dominated by the accuracy goal, forcing the model to prioritize learning the correct inference path.
- Mid-term: The model’s reasoning capabilities gradually mature and it begins to output correct answers stably.
- Later: The efficiency signal is smoothly amplified, and the model learns to actively stop when the tool is not needed.
This mechanism of "learn to do it right first, then learn to save money" bids farewell to the dilemma of "saving money but doing it wrong" in the traditional method.
Data cleaning pipeline
The research team also developed a rigorous multi-stage data cleaning process:
- SFT phase: filter out low-quality samples (execution failures, inconsistent feedback) from public tool-enhanced trajectories, aggressively filter out training samples that large models can solve without tools
- RL Phase: Each task must have "meaningful success rate variance" in the model - tasks that are too easy (always correct) and tasks that are too difficult (always wrong) will be eliminated
- Use Google Gemini 3.1 Pro as an automated referee, keeping only examples that demonstrate strategic tool use
Metis agent measured performance
The research team trained the Metis multimodal agent based on the Qwen3-VL-8B-Instruct visual language model, equipped with Python code execution, text search, and image search tools.
Benchmark results
| Test Set | Category | Metis | Skywork-R1V4 (30B) | Gap |
|---|---|---|---|---|
| HRBench | Visual Perception | SOTA | — | +2.5% |
| V*Bench | Visual Perception | SOTA | — | +3.1% |
| WeMath | Mathematical Reasoning | SOTA | — | +1.8% |
| MathVista | Logical Reasoning | SOTA | — | +2.2% |
Metis beats Skywork-R1V4 with 8B parameters and 30B parameters while reducing tool calls by 96%.
Examples of decision-making behavior
Scenario 1: Directly readable text Give the model a picture of a museum sign and ask what the text in the center is. Ordinary agents will write Python scripts to crop images and then OCR them. Metis recognizes that the text is already clearly readable in the original image, and directly infers the answer in a single pass - zero tool calls.
Scenario 2: Complex charts that require precise magnification The model is given a complex line chart and asked to identify the second highest line of a certain tiny data point. Metis recognizes that the area exceeds its native resolution and accurately calls Python to crop and scale the sub-area before analyzing. It treats the code as a precision instrument and only uses it when the visual evidence is really obscure.
Practical implications for AI Agent automated workflows
For developers building AI automated workflows, the impact of this technology is directly reflected in three aspects:
1. API costs drop significantly
More than 90% of the API calls in most agent workflows are redundant. The model trained by HDPO only triggers tools when necessary. Taking n8n or Claude Code automated pipelines as examples, monthly API bills are expected to be reduced by 50-80%.
2. Improved response speed
Each unnecessary tool call adds 1-5 seconds to the delay. After cutting off 96% of redundant calls, the Agent's end-to-end response time can be reduced from minutes to seconds.
3. The quality of reasoning increases instead of decreasing.
Contextual noise introduced by redundant tool calls can contaminate the inference chain. With fewer tool calls, the model is more focused and the inference chain is cleaner - this is one of the reasons why Metis can beat the 30B model with 8B parameters.
Open source information
Metis and the HDPO framework are open sourced under the Apache 2.0 license, and the code and model weights are available on GitHub.
Tool entry (trigger tool floating card)
Tools involved in the text: Qwen, Gemini, n8n, Claude Code
Internal link guidance
- Want to build your own AI Agent workflow? Read the tutorial first: AI Agent Tools 2026 Complete Tutorial: 5 Tools to Build an Automated Pipeline in 30 Minutes
- Real case: Indie Developer: n8n + OpenClaw Automation Workflow Earning $5,000/mo
- Cost control practice: How to use n8n + OpenAI to build an automated content collection and publishing workflow: from zero to one in 30 minutes
- Case: Claude Code 48 hours to start a business: one person + US$29 monthly fee, monthly income in 3 months $9,000
Topic hub
AI Agent Tutorials & Workflow Guides
Evergreen how-tos for coding agents, content pipelines, and n8n automation—linked to news context and real earn cases.
Explore AI Agent Tutorials & Workflow Guides →Monetization angle
How can you make money from this trend?
WayToClawEarn focuses on verified earn playbooks—not just news. Start from these cases.
DeepSeek + Claude Code Micro SaaS
Run multiple small products on cheap inference
Claude Code bug bounty
Productize agent skills into security services
Related tutorials
Related news
- Alibaba Cloud and Cambricon Join PyTorch Foundation: China’s Open AI Stack Goes Full-Stack
- Arm AI Portal Launches: AI Development Moves from Finding Models to Hardware Fit
- Huawei Mate XT 2 Launches with Kirin 9050 Pro: How Does On-Device AI Enter Foldable Phones?
- Anthropic Reportedly Locked In 14.8GW of Compute: Is $517B Spent or a Contract Ceiling?