DSPy
DSPy is a framework maintained by Stanford NLP Group672, version 3.4.0, released Sep 25, 2026. Its source code is public12 under the MIT License2.
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
Component reuse rights
- weights
- Unknown — no complete fact-level rights review
- code
- Unknown — no complete fact-level rights review
- data
- Unknown — no complete fact-level rights review
- documentation
- Unknown — no complete fact-level rights review
No complete system-rights review is recorded for this release.
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
In the news
DSPy 3.4.1 makes InstructionProposer the default for GEPA and adds Python 3.15 support
On October 12, 2026 DSPy 3.4.1 was published on the project's GitHub repository. The release notes say it makes GEPA's structured InstructionProposer the default instruction proposer, lets dspy.RLM build DSPy sub-agents from inside its REPL, adds Python 3.15 support, and fixes a 3.4.0 import crash. The notes warn that GEPA's default reflection request changes shape, so optimization results can differ from 3.4.0 even with the same seed, and that the reflection LM must now be a dspy.LM that can return JSON. USASI has not tested this release.
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.
Share or cite this page
- X (opens X)
- Bluesky (opens Bluesky)
- LinkedIn (opens LinkedIn)
- Reddit (opens Reddit)
- Hacker News (opens Hacker News)
- Email (opens your email app)
- RSS updates
Cite this page
APA style
USASI. (2026, September 29). DSPy. United States of America Superintelligence. https://unitedstatesofamericasuperintelligence.com/open/dspy/
BibTeX
@misc{usasi_dspy,
author = {{USASI}},
title = {DSPy},
year = {2026},
month = sep,
howpublished = {\url{https://unitedstatesofamericasuperintelligence.com/open/dspy/}},
note = {United States of America Superintelligence. Last updated 2026-09-29}
}The date is when this page was last updated. Add the date you read it if your style needs one.
For maintainers: a “Listed in USASI” badge
Links to this page. It says the entry is listed, not endorsed or rated. About the badge
Markdown (for a README)
[](https://unitedstatesofamericasuperintelligence.com/open/dspy/)
HTML
<a href="https://unitedstatesofamericasuperintelligence.com/open/dspy/"><img src="https://unitedstatesofamericasuperintelligence.com/badges/listed.svg" alt="Listed in the USASI catalog" height="20"></a>