StackMap
Subscribe

DSPy vs SkillOpt

Program — don't prompt — your language models. Compile declarative pipelines into optimized prompts. — versus — Microsoft's text-space optimizer that trains a frozen agent's skill document like weights — rollouts, bounded edits, validation-gated updates — and ships a compact best_skill.md.

The curated verdict

Both optimize the text a frozen model runs on against a metric; DSPy compiles prompts for declarative pipelines, SkillOpt trains one deployable skill document for an agent harness.

DSPySkillOpt
Stars39k18k
Forks3.4k1.7k
LanguagePythonPython
LicenseMITMIT
Last activity3 days ago5 days ago
Topicsorchestration, ragskills, training
Curated connections44

DSPy — the curator's take

Program — don't prompt — your language models. Compile declarative pipelines into optimized prompts.

SkillOpt — the curator's take

Use it when you have a task with a scorer and want a skill that measurably improves on it — an edit lands only if the held-out score rises, and deployment adds zero model calls. Not a passive learner: you need data, a benchmark and an optimizer-model budget; the nightly SkillOpt-Sleep mode is the bridge to everyday Claude Code/Codex sessions. No metric? An in-use skill learner fits better.