atlas

Research map / Multi-agent systems and games / LLM agents

Automated Composition of Agents: A Knapsack Approach for Agentic Component Selection

NeurIPS 2025 · Multi-agent systems and games › LLM agents · approach: Agentic benchmarks and orchestration · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Frames agent composition as a knapsack problem and proposes an online knapsack composer that selects tools/sub-agents by sandbox-testing candidates against a ZCL threshold under a budget, outperforming retrieval baselines on GAIA, SimpleQA, MedQA and multi-agent travel/mortgage tasks.

Problem

Selecting reusable agentic components (tools, sub-agents) under budget constraints is hard because semantic retrieval relies on incomplete capability descriptions and ignores cost and real utility.

Approach

A composer agent parses tasks into skills, generates test queries, sandbox-tests candidate components, estimates their value from observed helpfulness, and admits them via the ZCL online knapsack value-to-cost threshold, rather than selecting by static retrieval scores.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use online knapsack instead of offline knapsackClaude 3.5 Sonnet single-agent tool composition · GAIA (budget $30)success rate (avg): 0.41 -> 0.47Helped
add AvaTaR prompt optimization to online knapsack (ablation)Claude 3.5 Sonnet single-agent tool composition · SimpleQA (budget $10)success rate (avg): 0.24 -> 0.82Helped
add AvaTaR prompt optimization to online knapsack (ablation)Claude 3.5 Sonnet single-agent tool composition · GAIA (budget $30)success rate (avg): 0.47 -> 0.47No clear effect
add AvaTaR prompt optimization to online knapsack (ablation)Claude 3.5 Sonnet single-agent tool composition · SimpleQA (budget $30)success rate (avg): 0.92 -> 0.92No clear effect
add AvaTaR prompt optimization to online knapsack (ablation)Claude 3.5 Sonnet single-agent tool composition · MedQA (budget $10)success rate (avg): 0.91 -> 0.89Hurt
use online knapsack instead of offline knapsackClaude 3.5 Sonnet single-agent tool composition · SimpleQA (budget $30)success rate (avg): 0.88 -> 0.92Helped
use online knapsack instead of offline knapsackClaude 3.5 Sonnet single-agent tool composition · MedQA (budget $30)success rate (avg): 0.91 -> 0.93Helped
use online knapsack instead of offline knapsackClaude 3.5 Sonnet multi-agent composition · Travel (MAC, budget $6)Overall GSR: 0.17 -> 0.40Helped
use online knapsack instead of offline knapsackClaude 3.5 Sonnet multi-agent composition · Mortgage (MAC, budget $6)Overall GSR: 0.70 -> 0.87Helped
use online knapsack instead of offline knapsackClaude 3.5 Sonnet multi-agent composition · Mortgage (MAC, budget $3)Overall GSR: 0.67 -> 0.40Hurt

Surprising findings

Limitations

Experimental setup

Datasets: ToolRet LangChain tools GAIA SimpleQA MedQA MAC multi-agent benchmark

Benchmarks: GAIA SimpleQA MedQA MAC travel MAC mortgage

Metrics: success rate budget spent Pareto frontier goal success rate

Baselines: identity composer top-1 retrieval offline knapsack RAG-MCP

Builds on: ZCL online knapsack algorithm CodeAct AvaTaR ADAS

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy