SkillFlow: Efficient Skill and Code Transfer Through Communication in Adapting AI Agents
Pagkratios Tagkopoulos, Fangzhou Li, Ilias Tagkopoulos
TL;DR
SkillFlow introduces a decentralized, on-demand skill-transfer framework for AI agents, enabling agents to acquire and integrate new capabilities from peer providers through a skill selection, communication, and integration pipeline. The approach is validated with both a simulation-based cost model and an application-based calendar scheduling benchmark, showing favorable cost and time reductions, particularly when communication costs dominate, and with initial buy costs amortized over iterations. The work draws parallels to lateral gene transfer to frame adaptation and discusses trade-offs between centralized marketplaces and decentralized systems, along with security and future research directions. The results suggest SkillFlow can meaningfully accelerate task completion and reduce cumulative costs in dynamic, multi-agent settings, with practical impact for scalable autonomous agent ecosystems.
Abstract
AI agents are autonomous systems that can execute specific tasks based on predefined programming. Here, we present SkillFlow, a modular, technology-agnostic framework that allows agents to expand their functionality in an ad-hoc fashion by acquiring new skills from their environment or other agents. We present a theoretical model that examines under which conditions this framework would be beneficial, and we then explore SkillFlow's ability to accelerate task completion and lead to lower cumulative costs in a real-world application, namely scheduling agents for calendar events. We demonstrate that within a few iterations, SkillFlow leads to considerable (24.8%, p-value = $6.4\times10^{-3}$) gains in time and cost, especially when the communication cost is high. Finally, we draw analogies from well-studied biological systems and compare this framework to that of lateral gene transfer, a significant process of adaptation and evolution in novel environments.
