Skip to content

[FEAT] Add SkillOrchestra: skill-aware agent routing via skill transfer#1442

Merged
kyegomez merged 2 commits intokyegomez:masterfrom
Steve-Dusty:skillorchestrate
Mar 12, 2026
Merged

[FEAT] Add SkillOrchestra: skill-aware agent routing via skill transfer#1442
kyegomez merged 2 commits intokyegomez:masterfrom
Steve-Dusty:skillorchestrate

Conversation

@Steve-Dusty
Copy link
Copy Markdown
Contributor

@Steve-Dusty Steve-Dusty commented Mar 10, 2026

Summary

  • Implements SkillOrchestra class based on the paper "SkillOrchestra: Learning to Route Agents via Skill Transfer"
  • Routes tasks to agents by maintaining a Skill Handbook that profiles each agent on fine-grained skills, infers task skill requirements via LLM, and scores agents via weighted competence-cost matching
  • Auto-generates skill profiles from agent descriptions, with optional EMA-based learning from execution feedback

Changes

  • New file: swarms/structs/skill_orchestra.py — Full implementation with 8 Pydantic models, 3 prompt templates, and the SkillOrchestra class
  • Modified: swarms/structs/__init__.py — Added export

Test plan

  • Verify import: from swarms import SkillOrchestra
  • Create 3+ agents with distinct descriptions, run SkillOrchestra(agents=...).run("task") and verify correct agent selection
  • Test top_k_agents=2 for multi-agent concurrent execution
  • Test learning_enabled=True across multiple runs to verify profile updates
  • Run existing test suite to verify no regressions

Closes #1404


📚 Documentation preview 📚: https://swarms--1442.org.readthedocs.build/en/1442/

Implements SkillOrchestra based on the paper "SkillOrchestra: Learning to
Route Agents via Skill Transfer" (arxiv.org/abs/2602.19672). Routes tasks
to agents by maintaining a Skill Handbook that profiles each agent on
fine-grained skills, infers task skill requirements via LLM, and scores
agents via weighted competence-cost matching.

Closes kyegomez#1404
@kyegomez kyegomez merged commit 483b102 into kyegomez:master Mar 12, 2026
6 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT][SkillOrchestra: Learning to Route Agents via Skill Transfer]

2 participants