potentialpaper

From Tool Selection to Autonomous Execution: Process Templates, Sandboxed Code, and Modular Orchestration for Reliable LLM Agents at Scale

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:20 UTC · 5494b4f5ff98 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "HyBrbGUY5C"
- }
- ],
- "title": "From Tool Selection to Autonomous Execution: Process Templates, Sandboxed Code, and Modular Orchestration for Reliable LLM Agents at Scale",
- "authors": [],
- "abstract": "Large language model agents must route and execute tools from large, overlapping libraries. Prior work reported routing degradation under flat catalogs; we study both routing and execution under scale, noise, and multi-step control.\n\nRouting: Expert-disambiguating descriptions improve selection for some models and hurt others. The mean nearest-neighbor cosine similarity of target skills increases with catalog size N (Bare peak ≈0.51 at N=500 with MiniLM embeddings); detailed expert text remains more separable than short bare text. Live selection stays near-perfect for strong models on clean queries, while weaker models degrade at large N.\n\nExecution: On atomic tasks, bare prompts often fail structured output; expert process templates (SOPs) largely remove schema failures, and sandboxed Python execution removes arithmetic failures, producing large end-to-end (E2E) gains versus prompt-only math. On production file-based tasks, selection can remain high while execution E2E stays modest without sandbox support.\n\nRobustness: Under a noise gradient (L0–L5), mild noise is tolerated; adversarial injection collapses E2E for several models, and an AST script-integrity guardrail recovers a substantial fraction of L5 failures (e.g., ∼0%→∼47% on DeepSeek V4 Flash and GPT-4o-mini). A 2×2 query matrix (phrasing novelty × semantic ambiguity) shows high routing accuracy for strong models, with model-dependent weaknesses in harder cells.\n\nOrchestration: In a 30-task live multi-step Data Scientist stress test, partitioned Expert stages (N≤15 tools per stage) achieve 93%–100% E2E versus 47%–77% for a flat Bare catalog, with higher loopbacks under Bare. Volume projections for adjacent roles are calibrated simulations, not live API results.\n\nTogether, these results support a practical recipe—expert templates, sandbox execution, stage-wise tool partitions, and light guardrails—without claiming a single universal cosine threshold or unlimited scaling as a theorem.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "cd8a72da-c1a8-4ab1-988a-6708fd36169a"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "From Tool Selection to Autonomous Execution: Process Templates, Sandboxed Code, and Modular Orchestration for Reliable LLM Agents at Scale",
+ "authors": [],
+ "abstract": "Large language model agents must route and execute tools from large, overlapping libraries. Prior work reported routing degradation under flat catalogs; we study both routing and execution under scale, noise, and multi-step control.\n\nRouting: Expert-disambiguating descriptions improve selection for some models and hurt others. The mean nearest-neighbor cosine similarity of target skills increases with catalog size N (Bare peak ≈0.51 at N=500 with MiniLM embeddings); detailed expert text remains more separable than short bare text. Live selection stays near-perfect for strong models on clean queries, while weaker models degrade at large N.\n\nExecution: On atomic tasks, bare prompts often fail structured output; expert process templates (SOPs) largely remove schema failures, and sandboxed Python execution removes arithmetic failures, producing large end-to-end (E2E) gains versus prompt-only math. On production file-based tasks, selection can remain high while execution E2E stays modest without sandbox support.\n\nRobustness: Under a noise gradient (L0–L5), mild noise is tolerated; adversarial injection collapses E2E for several models, and an AST script-integrity guardrail recovers a substantial fraction of L5 failures (e.g., ∼0%→∼47% on DeepSeek V4 Flash and GPT-4o-mini). A 2×2 query matrix (phrasing novelty × semantic ambiguity) shows high routing accuracy for strong models, with model-dependent weaknesses in harder cells.\n\nOrchestration: In a 30-task live multi-step Data Scientist stress test, partitioned Expert stages (N≤15 tools per stage) achieve 93%–100% E2E versus 47%–77% for a flat Bare catalog, with higher loopbacks under Bare. Volume projections for adjacent roles are calibrated simulations, not live API results.\n\nTogether, these results support a practical recipe—expert templates, sandbox execution, stage-wise tool partitions, and light guardrails—without claiming a single universal cosine threshold or unlimited scaling as a theorem.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}