# DSPy

- **Website:** <https://dspy.ai>
- **Primary alias:** `dspy.ai`

## Description

DSPy is an innovative open-source framework designed for programming language models (LMs) with a focus on modularity and efficiency. Developed by Stanford's NLP team, DSPy enables users to create intricate AI systems without the fragility of traditional prompting methods. By employing declarative self-improving Python code, DSPy empowers developers to construct versatile AI solutions ranging from basic classifiers to advanced Retrieval-Augmented Generation (RAG) pipelines and Agent loops. 

The framework encompasses various modules that express natural-language behaviors and comes with optimizers to fine-tune prompt parameters for enhanced performance. With tools that facilitate rapid iteration and a supportive community for collaboration and troubleshooting, DSPy is an essential resource for researchers and developers looking to advance open-source AI technologies. The platform supports multiple LLM providers, ensuring users can seamlessly connect and configure their models for optimal functionality. Join DSPy to transform your approach to AI programming and harness the full potential of language models.

## Industries

- 🖥 Computers Electronics and Technology
- 🖥 Artificial Intelligence and Machine Learning _(under Computers Electronics and Technology)_

## Links

- [github](https://github.com/stanfordnlp)

## Logos & icons

- logo _(primary)_ — PNG, SVG — [download](https://cdn.brandfetch.io/id-a3kHC0B/w/820/h/820/theme/dark/logo.png?c=1bxid64Mup7aczewSAYMX&t=1788349734959)

## Colors

| Name | Hex | Theme |
| --- | --- | --- |
| Pomegranate | #ef4036 | accent |
| Mirage | #1a1f2b | dark |
| Anakiwa | #a5d6ff | light |

## Fonts

- var(--md-text-font-family) — asset _(custom)_

---

_Source: <https://brandfetch.com/dspy.ai>_
_See [/llms.txt](/llms.txt) for a full list of agent-readable pages, and [/auth.md](/auth.md) for how agents authenticate._