FederatedSkill: Federated Learning for Agentic Skill Evolution

Jingbo Yang, Guanyu Yao, Yang Zhang, Ramana Rao Kompella, Gaowen Liu, Shiyu ChangarXiv 2026

TL;DR

FederatedSkill introduces a privacy-preserving framework for collaborative LLM agent self-improvement by exchanging git-like "semantic skill diffs" instead of raw interaction trajectories. By leveraging a server-side evolution agent to aggregate these patches, the framework constructs personalized skill libraries tailored to heterogeneous client architectures, achieving up to a 44.4% increase in task success rates while slashing API costs by up to 37.5%.

What Problem Does This Paper Address?

Modern Large Language Model (LLM) agents increasingly rely on structured "skill libraries"—reusable procedural memories detailing how to execute tool calls, navigate environments, and orchestrate multi-step actions. While agents can self-evolve by reflecting on their own experiences, an isolated agent's task stream is often too narrow to build a comprehensive library.

Collaborative evolution across multiple users could break this data bottleneck, but existing trajectory-sharing approaches face two major roadblocks:

  1. Privacy Leakage: Raw agent trajectories frequently contain highly sensitive user data, such as private web page content or confidential spreadsheet data, making central server uploads unsafe.
  2. Client Heterogeneity: A single global skill library is rarely optimal. The ideal workflow for a task depends heavily on the specific model family, agent framework, and local task distribution. Naive aggregation results in a generalized, suboptimal "global average" library.

Methods

The authors introduce FederatedSkill, a framework that mirrors the principles of Federated Learning but operates at the semantic-skill level rather than the parameter level.

Figure 1: Overview of FederatedSkill. Each client agent self-reflects on its local trajectories and distills them into a structured skill patch consisting of ADD, EDIT, or DELETE operations over the existing skill library, and uploads only the patch. A server-side merger agent reads patches together with each client’s agent profile and returns per-client personalized skill updates. Raw trajectories never leave the client.

The architecture splits the workload into two main components:

  • Client-Side Patch Distillation: Instead of uploading raw interaction logs, local client agents execute tasks and use a local patcher LLM to distill their experiences into a structured semantic skill patch ($\delta$). This patch acts like a git commit, containing high-level ADD, EDIT, or DELETE operations on the skill library files, alongside a task reward and a one-sentence rationale summary.
  • Server-Side Personalized Evolution: The server-side evolution agent aggregates these patches without ever seeing the raw trajectories. The authors cast this server aggregation as a Partially Observable Markov Decision Process (POMDP). The server maintains a Capability Matrix (tracking which workflows are covered, broken, or missing for each client) and a Two-Level Capability Memory (a shared high-level memory for global task frontiers and a private low-level memory tracking model-specific failure modes). The server then generates personalized library updates ($\Delta$) for each client, allowing for selective absorption and refactoring of peer skills.

Datasets

The framework is evaluated on SkillFlow, a recent benchmark specifically designed for agent lifelong skill discovery and evolution. SkillFlow spans 20 diverse task families (e.g., Web Navigation, Data Analytics, Financial Analysis), each containing sequential tasks arranged in increasing order of difficulty to explicitly test how well an agent can evolve its skills over time.

Key Insights and Ideas

  • Decoupling Communication from Model Scale: Because communication is restricted to plain-text skill patches and lightweight JSON manifests, the communication overhead is completely decoupled from the model's parameter size. The entire 20-family benchmark requires a mere ~3.5 MB of total data transfer.
  • Mitigating Library Bloat and Stagnation: In isolated self-evolution settings, different models fail in distinct ways. For instance, Kimi K2.5 and Qwen3.6-Plus suffer from "library bloat" (continually generating redundant skills without consolidation), while GLM-5 suffers from "library stagnation". FederatedSkill acts as a regularizer, enforcing deduplication and conservative admission to keep libraries concise and manageable.
Figure 3: Skill library size across federation rounds. Number of distinct skills per family that each client carries into the next round.
  • Constructive Rules vs. Post-Hoc Checklists: A deep dive into successful transfers revealed that collaborative evolution helps agents discover constructive formulas (e.g., dynamically calculating initial states to avoid double-counting errors) rather than relying on brittle, post-hoc checklists that models often ignore or hallucinate answers for.

Key Results

  • Performance Boosts: In a homogeneous setup (all clients using GLM-5), FederatedSkill boosted the average task success rate from 37.4% to 45.8%. In extreme heterogeneous settings (varying backbones and native agent harnesses), it consistently improved all clients, yielding an average gain of +4.82 percentage points.
  • Drastic Cost Reductions: By keeping the skill libraries compact and avoiding prompt bloat, FederatedSkill significantly reduced the cost per solved task: cutting costs by 11% for Qwen, 33% for GLM-5, and 37% for Kimi.
Figure 4: Client API cost in the Heterogeneous Back- bone & Harness setting. Costs are computed using native non-cached list prices in USD.
  • Empirical Privacy Validation: Rigorous attribute-inference audits and synthetic PII canary injections confirmed that the Sensitive Entity Leakage Rate (SELR) drops to near-baseline levels (0.09% in the personalized update), effectively neutralizing data-leakage vulnerabilities.

Limitations and Future Work

While highly effective, the authors note a few limitations that pave the way for future research:

  • Security in Untrusted Environments: The current framework assumes a trusted federated environment. It does not yet include defenses against adversarial clients attempting to upload malicious or poisoned skill patches.
  • Risk of Negative Transfer: In highly specialized workflows, cross-model patch evolution can occasionally introduce rigid artifacts that act as anchors, biasing an agent away from the actual task prompt and causing localized performance regressions.
  • Scalability Constraints: Due to the massive computational resources required to simulate full LLM-driven agent evolution loops, the empirical evaluation was limited to a modest number of concurrent clients. Exploring emergent behaviors at a massive scale remains an open challenge.

Summary updated

BibTeX
@misc{yang2026federatedskill,
  author = {Jingbo Yang and Guanyu Yao and Yang Zhang and Ramana Rao Kompella and Gaowen Liu and Shiyu Chang},
  title = {{FederatedSkill: Federated Learning for Agentic Skill Evolution}},
  year = {2026},
  eprint = {2606.03143},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.03143},
}
Figure