dspy

by stanfordnlp · Agent Tool · ★ 34.6k

About dspy

DSPy: Programming—not prompting—Foundation Models Documentation: DSPy Docs DSPy is the framework for programming—rather than prompting—language models. It allows you to iterate fast on building modular AI systems and offers algorithms for optimizing their prompts and weights, whether you're building simple classifiers, sophisticated RAG pipelines, or Agent loops. DSPy stands for Declarative Self-improving Python. Instead of brittle prompts, you write compositional Python code and use DSPy to teach your LM to deliver high-quality outputs.

Quick Facts

Stars34,587
Forks2,914
LanguagePython
CategoryAgent Tool
LicenseMIT
Quality Score44.026/100
Open Issues489
Last Updated2026-05-22
Created2023-01-09
Platformspython
Est. Tokens~11588k

Compatible Skills

These tools work well together with dspy for enhanced workflows:

  • llm — semantic(0.22)+complementary+same_lang+similar_pop+shared_platform (53%)
  • claude-skillz — semantic(0.17)+complementary+same_lang+shared_platform (46%)

More Agent Tool Tools

Explore other popular agent tool tools:

View all Agent Tool tools →

Popular Python Agent Tools

Frequently Asked Questions

What is dspy?

dspy is DSPy: The framework for programming—not prompting—language models. It is categorized as a Agent Tool with 34.6k GitHub stars.

What programming language is dspy written in?

dspy is primarily written in Python.

How do I install or use dspy?

You can find installation instructions and usage details in the dspy GitHub repository at github.com/stanfordnlp/dspy. The project has 34.6k stars and 2914 forks, indicating an active community.

What license does dspy use?

dspy is released under the MIT license, making it free to use and modify according to the license terms.

View on GitHub → Browse Agent Tool tools