agentic-tasks cost-reduction agent-collaboration task-progress efficient-models model-handoff api-costs capable-models
Abstract
Solving long-horizon agentic tasks requires language agents to interact with their environments over multiple steps, and reliable performance often comes from the expensive capable models available through cloud providers. Meanwhile, alternative efficient models with inferior performance but a much lower cost are emerging, including lower-tier cloud models and smaller open-weights models deployable on local hardware. This raises a natural question that remains less explored than traditional query-level routing: can capable and efficient models collaborate within a single long-horizon agentic task to substantially reduce cost while preserving task accuracy? In this paper, we systematically investigate key design choices for such collaboration through model handoffs, where one model takes over from another, focusing on handoff direction and context transfer. We find that efficient-to-capable handoffs generally underperform capable-only execution with limited or even no cost reduction, whereas capable-to-efficient handoffs at suitable stages of task progress largely preserve or even improve accuracy while substantially reducing cost. These findings suggest that a one-time, simple, well-timed handoff strategy is good enough for cost-effective agent collaboration, motivating AgentBaton, a lightweight detector that learns when to hand off from recurring patterns in task progress. Across 11 model pairs and two representative benchmarks, AgentBaton reduces API costs by 65.9% on average while largely preserving task accuracy, with accuracy gains of up to 8.8 percentage points over capable-only execution. Experiments across various reasoning-effort settings further show that AgentBaton extends the empirical accuracy-cost Pareto frontier.
한국어 요약
한 줄 요약
AgentBaton은 장기적 에이전트 작업에서 능력 있는 모델과 효율적인 모델 간 협업을 통해 API 비용을 65.9% 절감하는 경량 핸드오프 탐지기다.
핵심 기여도
- **AgentBaton**: 작업 진행 패턴을 학습하여 적절한 타이밍에 핸드오프를 수행하는 경량 탐지기.
- **Capable-to-efficient 핸드오프**: DeepSWE v1.1과 Terminal Bench 2.1에서 65.9%의 평균 API 비용 절감, 정확도는 유지 또는 8.8%포인트 향상.
- **11개 모델 쌍 평가**: 다양한 모델 조합에서 정확도-비용 효율성의 퍼레토 최전선 확장.
핵심 아이디어
기존 연구는 단일 요청 수준의 모델 라우팅에 집중했으나, AgentBaton은 장기적 에이전트 작업에서 **모델 간 단일 핸드오프**를 통해 비용과 정확도를 균형 있게 조절하는 전략을 제안한다. 핵심 통찰은 **능력 있는 모델이 초기 단계에서 작업을 진행한 후, 효율적인 모델로 전환하는 방식**이 비용 절감에 효과적이라는 점이다. 이는 작업 진행 중 발생하는 피드백과 구조화된 아티팩트가 효율적인 모델이 작업을 완료하는 데 충분한 정보를 제공하기 때문이다.
기술적 접근법
주요 결과
- **DeepSWE v1.1, Terminal Bench 2.1**: AgentBaton은 평균 65.9%의 API 비용 절감.
- **정확도**: capable-only 대비 최대 8.8%포인트 향상.
- **Pareto frontier**: 다양한 추론 노력 설정에서 정확도-비용 퍼레토 최전선 확장.
의의 및 한계
AgentBaton은 장기적 에이전트 작업에서 **비용 효율성과 정확도를 동시에 유지하는 협업 전략**을 제시하며, 특히 클라우드 모델과 로컬 모델 간 협업에 실용적이다. 그러나 핸드오프 시점은 작업 종류에 따라 달라질 수 있고, **모델 간 형식 차이**가 컨텍스트 전달에 영향을 미친다는 한계가 있다. 또한, **복잡한 다중 핸드오프**나 실시간 라우팅은 아직 탐구되지 않았다.
실용적 활용
AgentBaton은 클라우드 기반 고성능 모델과 로컬 기반 저비용 모델이 협업하는 **소프트웨어 개발, 시스템 관리, 자동화 작업** 등에 적용 가능하다. 특히, **비용 절감이 중요한 대규모 에이전트 시스템**에서 유용하다.