Framework
DSPy
A framework for programming language models with declarative modules and optimizing their prompts automatically.
What is DSPy?
For Python developers and researchers who build systems on AI language models. Instead of writing prompts by hand, you describe each task in code and DSPy improves the prompts automatically.
- Made by
- Stanford NLP
- Price
- Free and open sourceFree and open source under the MIT licence. The AI models it calls are paid for separately.Details on the official site
- Runs on
- Python
Facts read from the maker’s own pages on . Prices and plans change; the official site has the last word.
How to start
- Install it with the command shown on the home page.
- Choose a language model and connect DSPy to it.
- Write a first small program by following the getting-started example.
Signals. What has been measured, and where.
Each source is shown as it was measured. Not enough evidence this period: two sources big enough to compare, or X or GitHub, are needed.
PyPI
Downloads per week, mirrors excluded
Package dspy
1,680,963latest
View data
PyPI: Downloads per week, mirrors excluded Period Value 31 Aug 2026 1,224,710 7 Sept 2026 1,033,488 14 Sept 2026 1,250,490 21 Sept 2026 1,353,475 28 Sept 2026 1,418,884 5 Oct 2026 1,196,298 12 Oct 2026 1,273,593 19 Oct 2026 1,333,132 26 Oct 2026 1,305,640 2 Nov 2026 1,211,876 9 Nov 2026 1,436,530 16 Nov 2026 1,845,001 23 Nov 2026 1,680,963 - The way this is measured changed. Figures from before 31 Aug 2026 are not comparable and are not shown.
GitHub
New forks per week
Repository stanfordnlp/dspy
34latest
View data
GitHub: New forks per week Period Value 1 Dec 2025 16 8 Dec 2025 13 15 Dec 2025 16 22 Dec 2025 17 29 Dec 2025 11 5 Jan 2026 29 12 Jan 2026 21 19 Jan 2026 23 26 Jan 2026 11 2 Feb 2026 14 9 Feb 2026 16 16 Feb 2026 13 23 Feb 2026 16 2 Mar 2026 17 9 Mar 2026 24 16 Mar 2026 30 23 Mar 2026 16 30 Mar 2026 27 6 Apr 2026 24 13 Apr 2026 32 20 Apr 2026 34 27 Apr 2026 28 4 May 2026 17 11 May 2026 23 18 May 2026 27 25 May 2026 21 1 Jun 2026 22 8 Jun 2026 21 15 Jun 2026 24 22 Jun 2026 33 29 Jun 2026 32 6 Jul 2026 35 13 Jul 2026 28 20 Jul 2026 20 27 Jul 2026 28 3 Aug 2026 38 10 Aug 2026 37 17 Aug 2026 30 24 Aug 2026 26 31 Aug 2026 24 7 Sept 2026 24 14 Sept 2026 29 21 Sept 2026 39 28 Sept 2026 29 5 Oct 2026 22 12 Oct 2026 27 19 Oct 2026 27 26 Oct 2026 29 2 Nov 2026 27 9 Nov 2026 30 16 Nov 2026 23 23 Nov 2026 34 Stars, running total
39,316latest
+124 over the last week
View data
GitHub: Stars, running total Period Value 16 Nov 2026 39,192 23 Nov 2026 39,316 - A running total, as it stood at the end of each week.
Hacker News
Stories mentioning the phrase, per week
Phrase “dspy”
0latest
View data
Hacker News: Stories mentioning the phrase, per week Period Value 1 Dec 2025 3 8 Dec 2025 1 15 Dec 2025 4 22 Dec 2025 1 29 Dec 2025 0 5 Jan 2026 0 12 Jan 2026 0 19 Jan 2026 0 26 Jan 2026 3 2 Feb 2026 1 9 Feb 2026 0 16 Feb 2026 3 23 Feb 2026 1 2 Mar 2026 0 9 Mar 2026 2 16 Mar 2026 2 23 Mar 2026 2 30 Mar 2026 1 6 Apr 2026 2 13 Apr 2026 0 20 Apr 2026 0 27 Apr 2026 0 4 May 2026 1 11 May 2026 0 18 May 2026 0 25 May 2026 1 1 Jun 2026 0 8 Jun 2026 2 15 Jun 2026 0 22 Jun 2026 1 29 Jun 2026 1 6 Jul 2026 1 13 Jul 2026 0 20 Jul 2026 0 27 Jul 2026 0 3 Aug 2026 1 10 Aug 2026 3 17 Aug 2026 0 24 Aug 2026 0 31 Aug 2026 1 7 Sept 2026 0 14 Sept 2026 0 21 Sept 2026 3 28 Sept 2026 0 5 Oct 2026 0 12 Oct 2026 0 19 Oct 2026 0 26 Oct 2026 0 2 Nov 2026 0 9 Nov 2026 2 16 Nov 2026 1 23 Nov 2026 0
Each source is shown on its own scale; the numbers are not comparable across sources. Weekly figures, Monday to Monday (UTC), as reported by each source. Last updated 30 Nov 2026.
DSPy statistics. The latest week from each source, ready to quote.
PyPI: Downloads per week, mirrors excluded (Package dspy)
1,680,963
Week of 23 Nov 2026, +16% on the four-week average.
GitHub: New forks per week (Repository stanfordnlp/dspy)
34
Week of 23 Nov 2026, +25% on the four-week average.
GitHub: Stars, running total (Repository stanfordnlp/dspy)
39,316
Week of 23 Nov 2026, +124 over that week.
Hacker News: Stories mentioning the phrase, per week (Phrase “dspy”)
0
Week of 23 Nov 2026, −100% on the four-week average.
You may quote these figures with credit. Cite them as: AI Trends Radar, “DSPy”, weekly figures to the week of 23 Nov 2026, https://aitrendsradar.com/topics/dspy
Latest. New releases, and what people are discussing and watching.
Discussed on Hacker News
The most discussed stories of the last 30 days. Headlines are written by the people who posted them, and are not checked by us.
- Imp is a full port of DSPy to the BEAM, 99 points, 9 comments
Questions and answers. DSPy, in short.
What is DSPy?
A framework for programming language models with declarative modules and optimizing their prompts automatically. For Python developers and researchers who build systems on AI language models. Instead of writing prompts by hand, you describe each task in code and DSPy improves the prompts automatically.
Is DSPy free?
Free and open source. Free and open source under the MIT licence. The AI models it calls are paid for separately. Prices were read from the maker’s own pages on 18 November 2026; the official site has the last word.
Who makes DSPy?
DSPy is made by Stanford NLP.
What does DSPy run on?
DSPy runs on Python.
How do I start with DSPy?
Install it with the command shown on the home page. Choose a language model and connect DSPy to it. Write a first small program by following the getting-started example.
- TechniqueEvalsuses
More in AI coding tools. The highest heat this month first.
- AgentQwen Code
- AgentGoogle Antigravity
- FrameworkAI SDK
- FrameworkPydantic AI
- FrameworkLangChain
- AgentGemini CLI
Do you make DSPy? Show its heat on your site
A small picture with this month’s heat, which updates by itself and links to this page. Paste one of these where you want it.
For a web page
<a href="https://aitrendsradar.com/topics/dspy"><img src="https://aitrendsradar.com/badge/dspy.svg" alt="DSPy on AI Trends Radar" height="28"></a>For a README (Markdown)
[](https://aitrendsradar.com/topics/dspy)