WikiSkill is a framework designed to improve how AI agents develop and refine specialized skills. While existing methods allow agents to learn from experience, they often leave insights scattered across history, making it difficult to build on past lessons. WikiSkill addresses this by introducing a persistent knowledge base—a "wiki"—that compiles raw execution experience into structured, reusable knowledge that supports long-term skill evolution.
The Three-Layer Architecture
WikiSkill organizes an agent’s workspace into three distinct layers to separate raw data from executable procedures:
Raw Layer: Stores immutable execution traces, including step-by-step reasoning, tool calls, and final answers from training tasks.
Wiki Layer: Acts as a persistent knowledge base that compounds over time. It maintains a catalog of patterns, failure modes, and successful strategies. This layer is never reset, allowing the agent to learn from past successes and avoid repeating failed interventions.
Skills Layer: Contains the active, modular skills that the agent uses to perform tasks. Each skill is linked to the specific wiki patterns that inspired its creation.
The Evolutionary Loop
The framework operates through an iterative loop involving four components: 1. Inference Agent: Executes tasks using the current skill set. 2. Wiki Maintainer: Analyzes execution traces to update the wiki with new patterns and logs. 3. Skill Proposer: Reviews the updated wiki and execution history to create or modify skills. 4. Gating and Rollback: Tests new skills on a validation set. If performance improves, the skills are accepted; if not, the system reverts to the previous configuration. The wiki, however, retains all accumulated knowledge regardless of the skill update's success.
Performance and Scaling
Researchers evaluated WikiSkill across five benchmarks, including mathematical reasoning, web search, spreadsheet manipulation, document question answering, and interactive embodied tasks. The framework consistently outperformed existing skill-evolution methods and no-skill baselines.
The study found that skill evolution complements model scaling. Larger models generally saw greater performance gains from evolved skills, but smaller models equipped with WikiSkill were able to outperform significantly larger models that lacked these skills. For example, a Qwen-3.5-9B model using WikiSkill outperformed a Qwen-3.6-27B model without skills. Additionally, the researchers observed that skills evolved by one model can be transferred to others, sometimes performing better than skills the model evolved for itself.
Key Takeaways
The evidence suggests that persistent knowledge accumulation is critical for effective skill development. Ablation studies confirmed that the wiki layer is essential to the framework's success, as it provides a structured history that prevents the loss of insights across iterations. By separating the accumulation of knowledge from the execution of tasks, WikiSkill provides a systematic way for agents to refine their capabilities over time.
Comments (0)
to join the discussion
No comments yet
Be the first to share your thoughts!