DSPy
Version 3.4.0
Maintained by Stanford NLP Group672
DSPy is an open-source Python framework for building language-model programs from compositional Python modules instead of hand-written prompts. It includes optimizer algorithms that tune the prompts and weights of those programs. The project started at the Stanford NLP group.13
- Repository: GitHub repository (external site: github.com)
- Documentation: Documentation (external site: dspy.ai)
- Release notes: Release 3.4.0 (external site: github.com)
- License: License (MIT) (external site: raw.githubusercontent.com)
Availability and license
Public materials checklist
| Item | Status | Notes and evidence |
|---|---|---|
| Source codeIs the source code publicly readable? | Public | Published on GitHub under the MIT License.12 |
| DocumentationIs user documentation published? | Public | Documentation is published at dspy.ai.13 |
| InstallationAre installation instructions or packages publicly available? | Public | Installed with pip from PyPI, or directly from the main branch on GitHub for the latest changes.13 |
| Supported platformsAre supported operating systems or hardware documented? | Partial | PyPI metadata requires Python 3.10 or later and earlier than 3.15. The pages read do not give an operating-system or hardware support matrix.4 |
| Release statusAre versioned releases published? | Public | Versioned releases are published on GitHub and PyPI; 3.4.0 was released on 2026-09-25.54 |
What it is useful for
Building modular language-model systems, such as classifiers, retrieval-augmented generation pipelines, and agent loops, and optimizing their prompts and weights.1
Organization context
U.S. eligibility
Eligible · basis: U.S.-governed project
The DSPy repository sits in the Stanford NLP GitHub organization, which gives its location as Stanford, California. The Stanford NLP Group's website lists DSPy among the software it develops. The MIT license names Stanford Future Data Systems as the copyright holder, and the documentation says the project started at Stanford NLP. Contributors come from many organizations; eligibility rests on the Stanford hosting documented above.6723
Sources
This listing is not an endorsement, a safety assessment, or a federal approval.