dspy - Build and optimize AI systems with DSPy
Build declarative AI systems with DSPy, including modular pipelines, RAG systems, agents, and automatically optimized prompts.
Tags
Updated: 2026-09-30Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Build declarative LM programs
- Define task signatures
- Compose modular pipelines
- Generate reasoning steps
- Optimize prompts automatically
- Build RAG systems
- Build tool-using agents
- Export fine-tuning data
Inputs
- Task definitions
- Training examples
- Language model configuration
- API credentials
- Tool implementations
- Retrieval collections
Outputs
- Model predictions
- Reasoning traces
- Retrieved passages
- Optimized modules
- Fine-tuning datasets
Requirements
- Python environment
- DSPy package
- LM provider support
- Provider API credentials
- Configured retrieval backend
