DSPy: Declarative Self-improving Language Programs

JSON →
library 3.1.3 ·python
verified Jun 9, 2026 install stale

DSPy is a framework for algorithmically optimizing Language Model (LM) prompts and weights, especially within complex workflows. It enables developers to express multi-step reasoning as modular, self-improving programs, abstracting away the specifics of prompting and fine-tuning. The current version is 3.1.3, with a very active development schedule and frequent updates, often involving significant API changes between major versions.

total hits 29
actors 7 distinct systems
last hit 20h ago GPTBot
GPTBot
4
Amazonbot
4
ByteDance
4
MetaBot
4
Script
2
Humans
6

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore · VN · 🇩🇪 Germany