Cost Optimization
~8 min readUpdated: December 2026

Intervention-to-Skill (I2S): Evolving Small-Large LLM Agent Collaboration

Intervention-to-Skill Small-Large LLM Collaboration Architecture in Smoke Monkey

Presented in arXiv:2612.05100, Intervention-to-Skill (I2S) transforms transient large-model overrides into persistent, evidence-verified skills for a small executor model—while keeping both model weights frozen. Across ALFWorld, WebShop, and ScienceWorld, I2S boosts scores by up to 27.1 points over SkillGen and slashes weighted token usage up to 63.2%.

Technical Review: Smoke Monkey Core Architecture Team
Tested on Node.js 18+ & BunTypeScript 5.x
Quick Answer & Executive Definition

Intervention-to-Skill (I2S): Evolving Small-Large LLM Agent Collaboration: Presented in arXiv:2612.05100, Intervention-to-Skill (I2S) transforms transient large-model overrides into persistent, evidence-verified skills for a small executor model—while keeping both model weights frozen. Across ALFWorld, WebShop, and ScienceWorld, I2S boosts scores by up to 27.1 points over SkillGen and slashes weighted token usage up to 63.2%. Designed as a zero-dependency, open-source TypeScript architecture under the MIT License with native Model Context Protocol (MCP) support and deterministic phase state machines.

Key Architectural Takeaways
Quick Implementation Examplei2s-hybrid-skill-agent.ts
i2s-hybrid-skill-agent.tstypescript
import { createAgent } from '@smoke-monkey/harness';
// Default fast SLM executor paired with selective frontier escalation & skill induction
const smallExecutor = createAgent({
agentId: 'i2s-qwen3-8b-executor',
provider: 'ollama',
model: 'qwen3:8b',
workspacePath: process.cwd(),
permissions: {
read_file: 'allow',
write_file: 'allow',
run_command: 'ask',
},
});
const frontierAdvisor = createAgent({
agentId: 'i2s-frontier-mentor',
provider: 'openai-compatible',
baseUrl: 'https://api.deepseek.com/v1',
model: 'deepseek-v4-flash',
workspacePath: process.cwd(),
permissions: {
read_file: 'allow',
write_file: 'ask',
run_command: 'ask',
},
});
async function runWithI2S(task: string) {
const attempt = await smallExecutor.run(task);
if (!attempt.success) {
const intervention = await frontierAdvisor.run(
`Diagnose failure on "${task}", execute fix, and emit an evidence-grounded skill JSON for .smoke-monkey/skills/.`
);
return intervention.summary;
}
return attempt.summary;
}
runWithI2S('Add vitest coverage for src/utils/retry.ts').then(console.log);
Video Guides

Watch: Related Video Guides

LLM vs. SLM vs. FM: Choosing the Right AI Model

Multi Agent Systems Explained: How AI Agents & LLMs Work Together

How Does Intervention-to-Skill (I2S) Evolve Collaboration Without Fine-Tuning?

Intervention-to-Skill (I2S) (arXiv:2612.05100) formalizes small-large LLM collaboration across an ordered task stream using two fixed models—a default small model M_s (e.g., Qwen3-8B) and an escalation model M_l (e.g., Qwen3-32B, DeepSeek-V4-Flash, or Gemini-2.5-Flash)—coupled to a mutable external skill state K_t.

When calibrated proposal confidence drops, M_l steps in. Post-task, I2S anchors the exact decision point where M_l changed environment feedback, abstracts role parameters (such as ACQUIRE(target, candidate) + VERIFY(holding(target))), and admits or revises the skill only after outcome verification:

Benchmark (Qwen3-8B + Qwen3-32B)MethodTask ScoreLarge Tokens (K)Small Tokens (K)Weighted Usage (W)
ALFWorldSmall-Only / Large-Only67.9 / 85.10.0 / 13.734.4 / 0.08.6 / 13.7
ALFWorldAutoMix / SkillGen76.9 / 82.86.1 / 6.431.6 / 33.014.0 / 14.7
ALFWorldI2S (Intervention-to-Skill)90.35.013.68.3
WebShopSkillGen / Cheatsheet60.8 / 47.62.8 / 4.59.1 / 10.25.1 / 7.1
WebShopI2S (Intervention-to-Skill)64.11.33.22.1
ScienceWorldSkillGen / Large-Only62.3 / 60.310.1 / 11.528.5 / 0.017.3 / 11.5
ScienceWorldI2S (Intervention-to-Skill)73.98.98.110.9

Structuring Evidence-Admitted Skills & Calibrated Escalation Gates

Pure routing methods like AutoMix leave every large-model intervention ephemeral—paying the same escalation tax the next time a small model hits an identical edge case. By storing declarative applicability predicates, procedural steps, outcome assertions, and explicit fallbacks inside versioned Markdown or JSON skills, engineering teams compound every frontier override into local capability:

json
{
  "skill_id": "acquire_and_verify_target",
  "applicability": ["transfer_task(target, destination)", "not_holding(target)", "visible(target, candidate)"],
  "procedure": [
    { "op": "ACQUIRE", "args": ["target", "candidate"] },
    { "op": "VERIFY", "args": ["holding(target)"] }
  ],
  "outcome_check": ["holding(target)"],
  "fallback": {
    "when": ["visible(target, candidate)", "not_holding(target)"],
    "procedure": [{ "op": "INSPECT", "args": ["candidate"] }, { "op": "ACQUIRE", "args": ["target", "candidate"] }]
  }
}
bash
# Initialize a local .smoke-monkey/skills directory and validate skill schemas in CI
mkdir -p .smoke-monkey/skills
npx ajv validate -s ./schemas/i2s-skill.schema.json -d ".smoke-monkey/skills/*.json"

Confidence Calibration Prevents Over-Escalation

I2S applies post-hoc confidence calibration (Appendix A.1) so the small model asks for help only on genuinely unsupported proposals—cutting large-model steps on WebShop from 6.50 (Large-Only) and 3.48 (AutoMix) down to just 1.47 large steps per task.

Deploying Dual-Tier SLM/LLM Skill Loops in Smoke Monkey Canvas

Inside Smoke Monkey Canvas, teams can pair a zero-cost local Qwen3-8B executor node with an escalated DeepSeek-V4-Flash or Claude reviewer node connected by a shared workspace skills folder. Whenever the reviewer rescues a failing test or compiler error, a post-task hook distills the procedural diff into a reusable SKILL.md rule.

Over a 40-task sprint, the local 8B model resolves routine boilerplate and previously seen failure modes autonomously—preserving frontier token budgets strictly for novel architectural problems.

Google Search Questions & Answers

Frequently Asked Questions

Q:Does Intervention-to-Skill (I2S) require fine-tuning the small or large model?

No. Both the small executor (M_s) and large assistant (M_l) remain completely frozen during deployment; adaptation happens purely through the external skill state K_t.

Q:How much token cost and score improvement does I2S achieve?

Across ALFWorld, WebShop, and ScienceWorld, I2S delivers up to +27.1 task-quality score points over SkillGen while cutting complete-stream weighted token usage by up to 63.2%.

Q:How does I2S prevent bad skills from degrading the small model?

Every induced procedural residual passes through evidence-grounded admission: I2S verifies the large-model intervention actually improved environment feedback and attaches explicit applicability, outcome_check, and fallback conditions.

Q:Which model pairs were tested in the I2S paper?

The authors evaluated Qwen3-8B paired with Qwen3-32B, DeepSeek-V4-Flash, and Gemini-2.5-Flash across ALFWorld, WebShop, and ScienceWorld.

Related Alternatives & Comparisons

Related Architecture Guides

View all guides

Build with Smoke Monkey Harness

Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.

npm install smoke-monkey-harness