Declarative framework that programs language models with signatures, modules, and automatic prompt optimizers instead of hand-written prompts.
- CCM score
- 53 of 100
- skills.sh installs
- 1.1K
- GitHub stars
- 14.9K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers building AI systems from modules such as
Predict,ChainOfThought,ReAct, andProgramOfThought, plus multi-stage pipelines and RAG - Includes optimizers
BootstrapFewShot,MIPRO, andBootstrapFinetunethat tune prompts or export fine-tuning data from a training set - Supports Anthropic Claude, OpenAI, and local Ollama models, configured through
dspy.settings.configure - Designed for developers who want maintainable, metric-driven LM pipelines rather than manual prompt iteration
Install
$ npx -y skills add orchestra-research/ai-research-skills --skill dspy -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
DSPy: Declarative Language Model Programming
When to Use This Skill
Use DSPy when you need to:
- Build complex AI systems with multiple components and workflows
- Program LMs declaratively instead of manual prompt engineering
- Optimize prompts automatically using data-driven methods
- Create modular AI pipelines that are maintainable and portable
- Improve model outputs systematically with optimizers
- Build RAG systems, agents, or classifiers with better reliability
GitHub Stars: 22,000+ | Created By: Stanford NLP
Installation
# Stable release
pip install dspy
# Latest development version
pip install git+https://github.com/stanfordnlp/dspy.git
# With specific LM providers
pip install dspy[openai] # OpenAI
pip install dspy[anthropic] # Anthropic Claude
pip install dspy[all] # All providers
Quick Start
Basic Example: Question Answering
import dspy
# Configure your language model
lm = dspy.Claude(model="claude-sonnet-4-5-20250929")
dspy.settings.configure(lm=lm)
Details
- Repository
- github.com/orchestra-research/ai-research-skills
- Categories
- AI Agents & LLM Apps, Python
- First seen
- Jun 3, 2026
Questions
What does the DSPy skill help me build?
The DSPy skill covers declarative programming of language models, automatic prompt optimization, modular RAG systems, and agents built with Stanford NLP's DSPy framework. It guides the agent to define signatures and modules instead of hand-writing prompts.
How do I install the DSPy skill?
Run npx -y skills add orchestra-research/ai-research-skills --skill dspy -y in a project to install it. Once installed, the agent can write DSPy programs with signatures, modules such as ChainOfThought and ReAct, and optimizers like BootstrapFewShot and MIPRO.
Which language model providers does the DSPy skill support?
The skill shows configuration for Anthropic Claude, OpenAI, and local models through Ollama, and it lists dspy[openai] and dspy[anthropic] extras for installing provider support. You set the model and API key in the configuration, with ANTHROPIC_API_KEY as an environment variable option.
Where does the DSPy skill sit among AI Agents and LLM Apps skills?
The DSPy skill is in the AI Agents and LLM Apps category on Claude Marketplaces, alongside skills such as microsoft-foundry and azure-ai. It stands out for its focus on optimizing prompts automatically from training data rather than manual prompt tuning.
More from orchestra-research/ai-research-skills
All 92- Grpo Rl Training1.1K
- Qdrant Vector Search1.1K
- Pytorch Fsdp21.1K
- Pytorch Lightning1.1K
- Transformer Lens Interpretability1.1K
- Axolotl1.1K
- Clip1.1K
- Langchain1.1K
- Sentence Transformers1.1K
- Huggingface Tokenizers1.1K
- Verl Rl Training1.1K
- Awq Quantization1.1K
- Nanogpt1.1K
- Instructor1.1K
- Long Context1.1K
- Presenting Conference Talks1.1K
- Speculative Decoding1.1K
- Hqq Quantization1.1K
- Model Merging1.1K
- Moe Training1.1K
- Sglang1.1K
- Chroma1.1K
- Nemo Curator1.1K
- Llama Factory1.1K
Similar to Dspy
More AI Agents & LLM AppslangchainSkillorchestra-research/ai-research-skills1.1K installsFramework for building LLM agents, chains, and RAG pipelines with swappable model providers.
agentsPluginOrchestra-Research/AI-Research-SKILLs14.8K starsLLM agent frameworks including LangChain, LlamaIndex, CrewAI, and AutoGPT. Use when building chatbots, autonomous agents, or tool-using systems.
prompt-masterSkillnidhinjs/prompt-master5K installsStructured system prompt that turns rough ideas into ready-to-paste prompts tuned for specific AI tools and models.
prompt-optimizerSkillgetsentry/skills2.6K installsStructured workflow that creates, refines, and ports agent prompts against evals, keeping instructions causal.
prompt-engineeringSkillneolabhq/context-engineering-kit1.5K installsStructured guide to prompt engineering techniques for reliable, controllable LLM output across agents, subagents, commands, and hooks.
senior-prompt-engineerSkilldavila7/claude-code-templates1K installsStructured reference hub for prompt engineering and LLM system design, pointing to three deep-dive guides.