Privacy and advertising choices

Git-Stars uses essential storage for site operation. Optional analytics and ad-measurement scripts stay disabled unless you accept them; partners such as Google may then use cookies or similar identifiers where required. Privacy Policy

LogoGit-Stars
Top StarsTrendingAI AgentsDaily PicksViral ReposInsights
LogoGit-Stars

Discover top GitHub projects with real rankings and AI insights

GitHub
Built withLogo of Git-StarsGit-Stars
Rankings
  • Top Stars
  • Trending
  • AI Agents
  • Daily Picks
  • Explore
Resources
  • Insights
  • Editorial Policy
About
  • About
  • Contact
Legal
  • Privacy Policy
  • Terms of Service
© 2026 Git-Stars. All Rights Reserved.
DS

stanfordnlp/dspy

AI Agent

DSPy: The framework for programming—not prompting—language models

37k Stars3.2k Forks653 Open Issues37k WatchersPythonMIT
LLM Tool
Review Readiness

This repository page has enough original analysis, source evidence, and comparison context to be treated as an indexable Git-Stars review.

100

review score

Indexable review
Decision Snapshot

Problem solved

DSPy solves the problem of fragile and labor-intensive prompt engineering by introducing a declarative programming model where prompts are treated as trainable parameters. It automates the optimization of prompts and weights, making AI systems more robust and adaptable across tasks and models, unlike traditional approaches that require manual tweaking for each use case.

Deployment reality

The available setup signal starts with: pip install dspy. Treat this as a starting point, then ask Codex or Claude to inspect the README, environment variables, runtime version, and deployment target before production use.

Commercial use

The recorded license is MIT. This is a useful commercial-use signal, but teams should still verify license text, dependencies, model/API terms, and trademark constraints.

Capability ceiling

Developers can build a wide range of AI systems, from simple classifiers to sophisticated RAG pipelines and agent loops, with automatic optimization of prompts and weights. Real-world use cases include knowledge-intensive NLP tasks, multi-stage language model programs, and self-refining pipelines with computational constraints. The ceiling is high, as DSPy supports fine-tuning and prompt optimization together, enabling state-of-the-art performance on complex tasks with minimal manual intervention.

Source and compliance noteLast synced: Aug 15, 2026

Git-Stars is independent and not affiliated with GitHub or this project. Analysis may be AI-assisted and based on public repository metadata plus short README-derived summaries. We do not mirror full README files, docs, issues, or social comments.

Original GitHub sourceMethodologyEditorial Policy
Editorial Evaluation

stanfordnlp/dspy is tracked as a Python project in the LLM Tool area. This evaluation combines public GitHub metadata, category signals, short source summaries, and Git-Stars editorial rules rather than copying project documentation.

Momentum check: the repository has 37k total stars, with +0 today, +525 this week, and +0 this month. These growth windows help distinguish durable adoption from short-lived visibility spikes.

Maintenance check: current activity is Moderate; the latest push was 60 days ago, and the open issue queue is 653, about 1.76% of total stars. Treat this as an adoption signal, not a substitute for engineering due diligence.

Adoption check: 3.2k forks and 37k watchers suggest how often the project is reused or followed. License signal: MIT. Always verify license compatibility before commercial or internal use.

Practical fit: this project is most relevant when you need Python teams evaluating ecosystem-native tooling. Be cautious when you need a legal review, security audit, or production SLA.

Source check: Git-Stars currently has 2 explicit source reference(s) for this report and a recent growth signal of 525. Follow the original GitHub repository for final install, security, and release information.

Evidence Checklist

Analysis

Ready

Original problem, capability, and verdict guidance are available.

Sources

Ready

Repository metadata and README/source references are attached.

License

Ready

MIT is recorded for review.

Maintenance

Ready

Recent activity is visible in repository metadata.

Alternatives

Ready

Enough nearby projects exist for comparison.

Best For
  • Python teams evaluating ecosystem-native tooling
  • teams that prefer mature projects with broad adoption signals
Avoid When
  • you need a legal review, security audit, or production SLA
Adoption Signals

Momentum

37k Stars

Reuse

3.2k Forks

Attention

37k Watchers

Maintenance

moderate

License

MIT

Open issues

653

Overview

DSPy is a framework for programming—rather than prompting—language models, enabling fast iteration on building modular AI systems and optimizing their prompts and weights. It supports simple classifiers, sophisticated RAG pipelines, and Agent loops.

Key Features

- Declarative self-improving Python framework for LM programming - Algorithms for optimizing prompts and weights - Supports building classifiers, RAG pipelines, and Agent loops

Tool Positioning

LLM Tool

Libraries and tools for LLM apps, RAG, prompts, and evals

Quick Start
pip install dspy
View on GitHub Project Homepage
Project Activity

70

Health Score

Moderate

Commit Activity

Jan 9, 2023

Created

Aug 14, 2026

Last push

Source Trail

GitHub repository metadata

metadata

GitHub README

readme_summary

Star History

Star history will appear after daily syncs accumulate data.

Community Health
3.2k

Forks

653

Open

37k

Watchers

Owner
DS

stanfordnlp

GitHub profile
Topics & Language
Python
Ecosystem & Usage
GitHub Repository Project Website
Alternatives & Comparison

affaan-m/ECC

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

240k

NousResearch/hermes-agent

The agent that grows with you

231k

multica-ai/andrej-karpathy-skills

A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.

203k

Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

187k

avelino/awesome-go

A curated list of awesome Go frameworks, libraries and software

181k
License
MIT
CreatedJan 9, 2023
Last pushAug 14, 2026
Last syncedAug 15, 2026
Repository Standards

✓

License

✓

Forked

~ Moderate

Maintained

AI AnalysisAnalyzed by Git-Stars

Problem Solved

DSPy solves the problem of fragile and labor-intensive prompt engineering by introducing a declarative programming model where prompts are treated as trainable parameters. It automates the optimization of prompts and weights, making AI systems more robust and adaptable across tasks and models, unlike traditional approaches that require manual tweaking for each use case.

Capabilities

Developers can build a wide range of AI systems, from simple classifiers to sophisticated RAG pipelines and agent loops, with automatic optimization of prompts and weights. Real-world use cases include knowledge-intensive NLP tasks, multi-stage language model programs, and self-refining pipelines with computational constraints. The ceiling is high, as DSPy supports fine-tuning and prompt optimization together, enabling state-of-the-art performance on complex tasks with minimal manual intervention.

Bottom Line

DSPy is ideal for developers and researchers who want to move beyond manual prompt engineering and build scalable, self-improving AI systems. It is not for those who prefer simple, quick prompt-based solutions without a learning curve. The key trade-off is the initial complexity of learning the framework versus the long-term benefits of automated optimization and modularity.

Full AI Analysis