---
id: "b676"
language: "en"
library: "tools"
official_url: "https://dspy.ai/current/"
profile_updated_on: "2026-10-22"
---

# DSPy

Build composable Python modules for language-model tasks and optimize prompts or weights using examples and metrics.

- Company / organization: Stanford NLP / DSPy contributors
- Category: Model development
- Official website: [https://dspy.ai/current/](https://dspy.ai/current/)
- Profile updated: 2026-10-22


## Overview

DSPy expresses language-model programs with input/output signatures and composable modules for classification, RAG and agent loops. Developers supply examples and metrics, then choose optimizers for prompts, demonstrations or supported weight-training workflows. Iteration becomes an evaluable development process; improvements depend on data, objectives and the selected model.

## Official sources and references

- [Official website](https://dspy.ai/current/)

## Reading & subscriptions

- [Interactive profile](../../../products/dspy--b676.html)
- [Read](../../../read/en/products/dspy--b676.html)
- [JSON](../../../read/en/products/dspy--b676.json)

Descriptions summarize public information; consult official websites for features, pricing and regional availability.
