20260625:很多新内容
This commit is contained in:
38
concepts/light-routing-agent.md
Normal file
38
concepts/light-routing-agent.md
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
title: "轻量路由 Agent — Light Routing Agent"
|
||||
created: 2026-06-19
|
||||
updated: 2026-06-19
|
||||
type: concept
|
||||
tags: [routing, agent-architecture, plugin, ace-router]
|
||||
sources:
|
||||
- https://arxiv.org/abs/2601.08276
|
||||
---
|
||||
|
||||
# 轻量路由 Agent(Light Routing Agent)
|
||||
|
||||
## 定义
|
||||
|
||||
Light Routing Agent (LRA) 是 ACE-Router 的**可插拔部署模块**:将训练好的路由器封装为仅有两个工具的最小 Agent,解耦路由决策与任务执行。
|
||||
|
||||
## 两个工具
|
||||
|
||||
| 工具 | 功能 |
|
||||
|------|------|
|
||||
| **router_invoke** | 基于当前对话历史和上下文查询训练的路由器,从候选集中选出最合适的候选 |
|
||||
| **tool_execute** | 调用/执行路由器返回的候选 |
|
||||
|
||||
## 设计理念
|
||||
|
||||
- **路由与执行解耦**:LRA 不承担规划、工具选择和执行逻辑——只负责路由
|
||||
- **可插拔**:插入现有 Agent 工作流,无需修改上游架构
|
||||
- **轻量**:无需在 context 中注入大量候选信息——路由在外部完成
|
||||
|
||||
## 泛化能力
|
||||
|
||||
LRA 的训练仅涉及工具路由(工具→工具选择),但直接零训练迁移到 Agent 路由(Agent→Agent 选择)达 88-92% 准确率——因为路由器的决策模式(基于描述和 schema 的选择)在工具和 Agent 间可迁移。
|
||||
|
||||
## 参考
|
||||
|
||||
- [[ace-router|ACE-Router]]
|
||||
- [[agent-web|Agent Web]]
|
||||
- [[yao-ace-router-2026|论文]]
|
||||
Reference in New Issue
Block a user