跳转至

From making calls to delivering results: Tool interfaces, reliability, and collaboration contracts

简体中文 · English

Updated 2026-11-25 · 54 topic entries / 11 representative comparisons

Toolformer learns when to call, SWE-agent designs action interfaces, and RATED addresses reliability among relevant tools. AutoGen programs messaging, MetaGPT structures role deliverables, and World of SWEcraft checks collective output on hidden downstream dependencies. Any layer can fail; a valid call format is not end-to-end completion.

Mechanisms · Trade-offs · Cross-paper questions · Updates

How to read this card

The table compares representative methods. It is not a shared-benchmark leaderboard. Teaching examples are not measured results.

Mechanism comparison

Axes: Whether improvement targets call policy, interaction interface, tool selection, or team protocol · Whether feedback comes from language loss, actual execution, structured deliverables, or hidden downstream tasks · Whether collaboration state is dialogue, explicit intermediate artifacts, or persistent repository assets · How failures and resources are included in delivery metrics

Paper and source Mechanism Benefits and trade-offs
Toolformer · Original source
Sections in the Chinese source: 背景与主要改动, 核心公式, 复现边界
Samples API candidates, filters them by how actual returns improve later token loss, and continues language-model training. Training utility does not imply reliable deployment tools. A deterministic local utility stands in for GPT-J loss, without full continued training.
SWE-agent · Original source
Sections in the Chinese source: 背景与主要改动, 核心公式, 复现边界
Uses a dedicated ACI for search, viewing, precise editing, and testing, making software tasks repeatable action loops. A lower interaction burden does not replace comprehension or verification. Real local temporary repositories form a microbenchmark, not official SWE-bench resolved rates.
AutoGen · Original source
Sections in the Chinese source: 背景与主要改动, 核心公式, 复现边界
Programs messages with ConversableAgent, reply policies, and stop conditions, supporting group chats and nested conversations. Flexibility still needs protocol design. More roles do not guarantee better collaboration. The local path executes messaging and handoff, not the full runtime.
MetaGPT · Original source
Sections in the Chinese source: 背景与主要改动, 核心公式, 复现边界
Encodes software SOPs into role workflows, with structured intermediates at each step for downstream use and verification. Deliverable structure limits free-form chat but downstream roles can inherit upstream errors. Real local editing and tests are not a full LLM team.
RATED: Reliability-Aware AI Agent Tool Retrieval via Execution Dynamics · Original source
Sections in the Chinese source: 背景与主要改动, 核心公式, 结果、验证与边界
Uses frozen dual encoders for semantic Top-K, then reranks using metadata and per-tool discounted LinUCB from actual feedback. Only chosen tools have observed feedback; uncalled tools cannot receive fabricated returns. Short encoder training ran locally, but authorization binding failed and original ecosystem capability was not established.
World of SWECraft: Agent Collaboration at Scale via Simulated Software Worlds · Original source
Sections in the Chinese source: 背景与主要改动, 核心公式, 本地复现与成本判断
Creates a software world of persistent sessions, issues, PRs, and package dependencies. Hidden downstream projects install frozen versions to assess collective artifacts. Local microbenchmark success does not establish downstream gains, and instruction counts are not wall time. The expensive full 55K-session environment did not run locally.
RuntimeTickets: Source-Grounded Security Obligations for Agent Skills · Original source
Sections in the Chinese source: 核心公式, 数据协议与实现边界, 高成本完整实验
Attenuate host authority into a frozen source-bound ticket; check recipient, object and cumulative amount before sending, with Deny before Defer before Allow. Trusted host validators and a real effect boundary remain necessary. The local atomic CPU gate and record chain are not a complete proxy, observation account or security capability.
ReTrace: Distilling Tool-Using Agents into Planner-Free Workflows · Original source
Sections in the Chinese source: 背景与主要改动, 核心公式, 数据协议与代码映射
Recover preconditions, argument sources and citations from SOPs and reasoning/tool traces, then compile a decision-list workflow whose code chooses the next step. Planner-free permits model-backed tools. Local coverage is a typed-guard subset without LLM extraction, aggregation, synthesis or production-tool execution; unsupported-by-execution branches retain an unwitnessed marker.
CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts · Original source
Sections in the Chinese source: 背景与主要改动, 核心公式
Trusted schemas derive authority, exact request grounding limits values, pre-read commitment limits actions, and the first failure stops remaining effects. RuntimeTickets narrows host grants through sourced obligations and cumulative budgets. CapLite trusts schemas/request. Both need all effects mediated; callbacks are not network isolation.
fork() for Agents: Agent Kernel for Non-blocking LLM Orchestration · Original source
Sections in the Chinese source: 背景与主要改动, 核心公式, 数据协议与代码映射, 结果、负控与边界, 同主题比较与边界, 完整实验与成本决定
Agent-Kernel places dependency-graph recovery in the content plane: exceptions make descendants unreachable; SGR retries that subgraph, preserves completed siblings and injects actual parent text. Selective recovery inherits established distributed-systems ideas rather than inventing a planner or detector. RuntimeTickets freezes and checks permissions/obligations before external effects and avoids automatic resend after callback uncertainty. Agent-Kernel protects internal SAB dependencies/state, but reexecution can repeat effects. The layers can compose; recovery is neither authorization nor network exactly-once.
CAPE: Coordinating Calibration and Search for Tool-Use Policies · Original source
Sections in the Chinese source: 背景与主要改动, 核心公式, 数据协议与代码映射, 结果、负控与边界, 同主题比较与边界, 完整实验与成本决定
CAPE calibrates a reproducible parser family offline while maintaining executable witnesses and local closure on reached response scopes. Optimistic unknown effects guide acquisition/bounds, never deployment answers. Its lexicographic objective maximizes configuration completion before minimizing call mass while preserving initial R0. CapLite freezes authority grounding and write order from trusted requests/schemas. CAPE solves representation under hidden parsers after the operation is fixed. A reference-matching commit does not prove authorization, and compiler optimality does not imply a write-prefix safety contract.

Trade-off analysis

Choosing a tool does not establish that it works

Toolformer filters calls by prediction gains, supplying policy-training signal. SWE-agent organizes executable interfaces and their return formats. RATED separates semantic relevance from recent reliability. Record willingness to call, valid format, actual interface success, and task completion independently. Relevance does not compensate for a broken service, and successful calls do not supply counterfactual rewards for unchosen tools.

Sources: Toolformer · SWE-agent · RATED: Reliability-Aware AI Agent Tool Retrieval via Execution Dynamics

Messaging protocols, intermediate artifacts, and ecosystem effects

AutoGen programs who replies and when to continue or stop. MetaGPT further constrains role inputs and outputs with SOP deliverables. World of SWEcraft widens evaluation to long-term maintenance across repositories: package tests can pass while downstream consumers break. These methods address control, information handoff, and external effects respectively. Counts of messages, roles, or artifacts do not replace downstream evidence. Long-lived collaboration needs persistent assets and session budgets rather than an indefinitely growing chat.

Sources: AutoGen · MetaGPT · World of SWECraft: Agent Collaboration at Scale via Simulated Software Worlds

October 29: New method and source changes

Meta's official retrieval-programs repository is now verifiable, updating RPL's prior open-source record. The main repository is CC-BY-NC4; vendored retrieval and training components retain their licenses. Public code does not make the local typed grammar cover arbitrary Python, cross-turn state, neural retrieval, or RL. No source was copied and the existing L1 evidence did not change.

Sources: Toolformer · Learning to Program Retrievals: Composing Search Primitives via Reinforcement Learning

Even permitted tools need object and amount constraints

Tool-name or recipient allow-lists miss exfiltration through a legitimate endpoint. RuntimeTickets freezes source-grounded recipient/object/amount obligations and checks each effect with a model-free gate. It still depends on trusted egress and observation coverage. A valid local HMAC prefix is not a complete sealed/closed account, and at-most-once callback invocation is not network exactly-once delivery.

Sources: RuntimeTickets: Source-Grounded Security Obligations for Agent Skills · Toolformer · SWE-agent

Learning when to call a tool and dispatching in code are different deliverables

Toolformer filters calls by the help their real results provide to downstream token loss and continues model training. ReTrace recovers conditions from SOPs and reasoning, compiling runtime choice into code. The former retains model-generation control; the latter still permits models inside fixed tools. Tool-call counts alone cannot rank them: local Toolformer uses deterministic utility rather than GPT-J loss, and local ReTrace is only typed IR. Neither supplies complete original-model or production evidence.

Sources: ReTrace: Distilling Tool-Using Agents into Planner-Free Workflows · Toolformer

Pre-effect checks must expose the origin of their authority

CapLite removes model-written security policy in favor of trusted schemas, request grounding and write commitments. RuntimeTickets allows proposed obligations but freezes source-backed host-approved tickets before checking objects and budgets. Neither permits untrusted observations to authorize effects or protects tools that bypass mediation. Security is more than an allow flag.

Sources: CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts · RuntimeTickets: Source-Grounded Security Obligations for Agent Skills

Subgraph recovery versus effect protection: preserved state is not unique effects

SGR preserves states and outputs outside the failed node and its descendants. Detection and budget decisions are external; DSP first cascades unreachable, and the caller decides whether to retry. Children require every parent complete and inherit actual outputs in declared order. Prompt mutation is a preliminary appendix probe, not the shipped core loop. Local transactional claims and generation/owner checks reject late pre-reopen output under explicit single-scheduler handover, not a distributed lease proof. Character admission is not model-token budgeting. An exception-after-mutation control deliberately produces two mutations, preserving the absence of exactly-once guarantees. Three seeds with four nodes/five calls test scope, sibling preservation and text dependencies, not agent capability, semantic correction or paper latency gains.

Sources: fork() for Agents: Agent Kernel for Non-blocking LLM Orchestration · RuntimeTickets: Source-Grounded Security Obligations for Agent Skills

Local-closure certificates do not permit reading hidden deployment configurations

Calibration can query candidate h in a reproducible test environment for f(a,h)=(observation,commit). Returned policies contain actions/response branches only; deployment receives tool observations. Closed actions compose successes by union and call mass by |V| plus child mass. Unknown programs optimistically commit; unknown probes optimistically separate each configuration. Selected T2 tightens only the current action's two-call continuations. Witnesses preserve R0 and remain executable under consistent added effects; valid equal root bounds certify optimality. The local slice supports one to eight configurations and one to four calls with query-count rather than wall-clock allowance. Its four-configuration diagnostic acquires all twenty cells and saves no calibration. The independent oracle stays evaluator-side. Random finite tables, interrupted coverage, bounds and outside-scope-unknown controls establish neither native CSV/JSON behavior nor LLM success gains.

Sources: CAPE: Coordinating Calibration and Search for Tool-Use Policies · CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts

Cross-paper questions

Try answering before expanding the explanation. Each question relates at least two papers.

Why might RATED deprioritize a tool whose API call Toolformer selected as useful?

Show answer and example

Answer: Training selection shows that returned values helped prediction, not continued service availability or stable argument behavior. RATED first restricts to relevant tools, then updates reliability from selected tools' actual successes, errors, and timeouts using discounting. Training usefulness and current executability are separate, and one failure cannot assign negative rewards to all untried tools.

Illustrative example: An exchange-rate API can help training and time out repeatedly in deployment. It remains relevant, but actual reliability should affect future choices.

Sources: Toolformer · RATED: Reliability-Aware AI Agent Tool Retrieval via Execution Dynamics

If AutoGen already has programmer and tester roles, why do MetaGPT and SWE-agent emphasize structured deliverables and ACI?

Show answer and example

Answer: Role names specify responsibilities, while AutoGen's replies and stopping organize interaction. MetaGPT specifies deliverables for requirements, design, and implementation to reduce drift in free chat. SWE-agent defines concrete viewing, editing, and testing actions. Control, information contracts, and action interfaces are complementary, not interchangeable.

Illustrative example: A tester can know when to reply without a clear interface specification. Even with a complete spec, an imprecise editing command can change the wrong code.

Sources: AutoGen · MetaGPT · SWE-agent

Why does World of SWEcraft use hidden downstream packages after MetaGPT or SWE-agent repository tests pass?

Show answer and example

Answer: Own tests cover maintainer-visible contracts and may only improve visible microbenchmarks. API changes can break real consumers. Hidden downstream checks install frozen release versions to assess collective delivery. Retain failed packages in speed accounting and declare strict/carry semantics. A local micro pass does not establish ecosystem capability.

Illustrative example: Renaming an argument and updating library tests can still break consumers using the old name; downstream checks reveal it.

Sources: MetaGPT · SWE-agent · World of SWECraft: Agent Collaboration at Scale via Simulated Software Worlds

Why retain local RPL component limitations after finding the official repository?

Show answer and example

Answer: Source completeness and execution fidelity are different. Published training code does not make the existing constrained SDK execute the full policy, neural retrieval, or distillation. Future integration needs separate cost, execution, and license checks.

Illustrative example: Learning the official training entry point does not turn local retrieval-program syntax tests into multi-hop QA evaluation.

Sources: Toolformer · Learning to Program Retrievals: Composing Search Primitives via Reinforcement Learning

If both systems emit the same query call, how do Toolformer training and ReTrace workflow dispatch differ?

Show answer and example

Answer: Inspect how the call is produced and what supports it. Toolformer training changes model call-generation probabilities. ReTrace tests available guards, selects the first match and binds sourced arguments. Matching one output establishes neither training nor compilation fidelity and cannot let future tool results fill missing observations.

Illustrative example: Teaching example: one order query comes from a model prediction and another from a code condition saying no query has occurred. Identical calls do not establish equivalent exception handling.

Sources: ReTrace: Distilling Tool-Using Agents into Planner-Free Workflows · Toolformer

Can grounded CapLite arguments replace RuntimeTickets cumulative limits?

Show answer and example

Answer: No. Grounding says values occur in the request, not how many times or bytes legal actions may accumulate. Separate grant/budget and replay contracts are required.

Illustrative example: Teaching example: one authorized email does not authorize a thousand repeated deliveries.

Sources: CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts · RuntimeTickets: Source-Grounded Security Obligations for Agent Skills

Can SGR state preservation replace RuntimeTickets?

Show answer and example

Answer: No. SGR preserves sibling SAB records and permits reexecution. RuntimeTickets checks authority and obligations before effects and avoids automatic resend under callback uncertainty. Recovery and effect authorization are separate layers.

Illustrative example: Teaching example: a payment succeeds before its node throws, so SGR may run it again. An effect-layer transaction/idempotency contract is needed; unchanged siblings do not prevent duplicate payment.

Sources: fork() for Agents: Agent Kernel for Non-blocking LLM Orchestration · RuntimeTickets: Source-Grounded Security Obligations for Agent Skills

Does protected CAPE coverage imply CapLite-style safety?

Show answer and example

Answer: No. CAPE maximizes completion over parser candidates, then minimizes calls. CapLite freezes trusted write order and authority grounding. Matching a reference does not establish user authorization or write-prefix safety.

Illustrative example: Teaching example: an upload may commit under all four date parsers while sending the correct data to an unauthorized recipient.

Sources: CAPE: Coordinating Calibration and Search for Tool-Use Policies · CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts

Update log

Updates record new approaches, changed trade-offs, and follow-up evidence.

2026-11-25 · Calibration can query candidate h in a reproducible test environment for f(a,h)=(observation,commit). Returned policies contain actions/response branches only; deployment receives tool observations. Closed actions compose successes by union and call mass by |V| plus child mass. Unknown programs optimistically commit; unknown probes optimistically separate each configuration. Selected T2 tightens only the current action's two-call continuations. Witnesses preserve R0 and remain executable under consistent added effects; valid equal root bounds certify optimality. The local slice supports one to eight configurations and one to four calls with query-count rather than wall-clock allowance. Its four-configuration diagnostic acquires all twenty cells and saves no calibration. The independent oracle stays evaluator-side. Random finite tables, interrupted coverage, bounds and outside-scope-unknown controls establish neither native CSV/JSON behavior nor LLM success gains. The high-cost full campaign is terminally not reproduced; review DONE.

Affected: CAPE: Coordinating Calibration and Search for Tool-Use Policies · CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts

2026-11-25 · SGR preserves states and outputs outside the failed node and its descendants. Detection and budget decisions are external; DSP first cascades unreachable, and the caller decides whether to retry. Children require every parent complete and inherit actual outputs in declared order. Prompt mutation is a preliminary appendix probe, not the shipped core loop. Local transactional claims and generation/owner checks reject late pre-reopen output under explicit single-scheduler handover, not a distributed lease proof. Character admission is not model-token budgeting. An exception-after-mutation control deliberately produces two mutations, preserving the absence of exactly-once guarantees. Three seeds with four nodes/five calls test scope, sibling preservation and text dependencies, not agent capability, semantic correction or paper latency gains. The high-cost full campaign is terminally not reproduced; review DONE.

Affected: fork() for Agents: Agent Kernel for Non-blocking LLM Orchestration · RuntimeTickets: Source-Grounded Security Obligations for Agent Skills

2026-11-15 · Trusted schemas derive authority, exact request grounding limits values, pre-read commitment limits actions, and the first failure stops remaining effects. RuntimeTickets narrows host grants through sourced obligations and cumulative budgets. CapLite trusts schemas/request. Both need all effects mediated; callbacks are not network isolation.

Affected: CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts · RuntimeTickets: Source-Grounded Security Obligations for Agent Skills

2026-11-11 · Add ReTrace to separate tool learning inside models from workflow control in code, including pre-action evidence, typed argument provenance, unwitnessed alternatives and model-backed tools. Only CPU IR is checked; no private production SOP or complete public benchmark is claimed integrated.

Affected: ReTrace: Distilling Tool-Using Agents into Planner-Free Workflows · Toolformer

2026-11-05 · Added RuntimeTickets to separate tool authority from delivery contracts: an allowed recipient can still receive an invalid object or excessive data. Pre-effect deny/defer/allow branches, recording before execution and suppressing resend after uncertain callback failure are runtime contracts distinct from tool availability. CPU negative controls do not establish network security. Full experiments are not reproduced because of cost, review DONE.

Affected: RuntimeTickets: Source-Grounded Security Obligations for Agent Skills

2026-10-29 · Meta's official retrieval-programs repository is now verifiable, updating RPL's prior open-source record. The main repository is CC-BY-NC4; vendored retrieval and training components retain their licenses. Public code does not make the local typed grammar cover arbitrary Python, cross-turn state, neural retrieval, or RL. No source was copied and the existing L1 evidence did not change.

Affected: Learning to Program Retrievals: Composing Search Primitives via Reinforcement Learning

2026-10-27 · Initial version: compared call learning, ACI, message orchestration, SOP deliverables, reliability reranking, and hidden downstream evaluation.

Covers 49 topic entries; see the full list below.

All 54 topic entries

The full catalog follows. The main comparison covers the representative papers listed above.

Paper-by-paper questions · All deep dives