Source: https://seerepo.com/r/stanfordnlp/dspy/built
Markdown source: https://seerepo.com/r/stanfordnlp/dspy/built.md
Description: dspy is a Python repo built with anyio. It uses AI through gepa, validates its data with Pydantic and jsonschema, and uses diskcache.

# What is dspy built with?

dspy is a Python repo built with anyio. It uses AI through gepa, validates its data with Pydantic and jsonschema, and uses diskcache. It has 132,756 written lines, with 164 test files.

Read on November 6, 2026, at commit c400596.

Repository: https://github.com/stanfordnlp/dspy

## Backend

### Data

- **[diskcache](https://seerepo.com/uses/diskcache)**: 2 files

### AI

- **gepa**: 4 files

## Support

### The base

- **[anyio](https://seerepo.com/uses/anyio)**: 2 files

### Validation

- **[Pydantic](https://seerepo.com/uses/pydantic)**: 42 files
- **[jsonschema](https://seerepo.com/uses/jsonschema)**: 1 file

### Other

- **certifi**
- **orjson**: 8 files
- **requests**: 8 files
- **tqdm**: 6 files
- **cloudpickle**: 5 files
- **json-repair**: 4 files
- **regex**: 3 files
- **pyyaml**: 2 files
- **cachetools**: 1 file

## Other repos with a similar stack

- [Aider-AI/aider](https://seerepo.com/r/Aider-AI/aider/built): diskcache, anyio, Pydantic, jsonschema · [Compare](https://seerepo.com/compare/Aider-AI/aider/vs/stanfordnlp/dspy)
- [ray-project/ray](https://seerepo.com/r/ray-project/ray/built): diskcache, anyio, Pydantic, jsonschema · [Compare](https://seerepo.com/compare/ray-project/ray/vs/stanfordnlp/dspy)
- [datawhalechina/hello-agents](https://seerepo.com/r/datawhalechina/hello-agents/built): anyio, Pydantic, jsonschema · [Compare](https://seerepo.com/compare/datawhalechina/hello-agents/vs/stanfordnlp/dspy)
- [apache/superset](https://seerepo.com/r/apache/superset/built): anyio, Pydantic, jsonschema · [Compare](https://seerepo.com/compare/apache/superset/vs/stanfordnlp/dspy)
- [Alishahryar1/free-claude-code](https://seerepo.com/r/Alishahryar1/free-claude-code/built): anyio, Pydantic, jsonschema · [Compare](https://seerepo.com/compare/Alishahryar1/free-claude-code/vs/stanfordnlp/dspy)
- [BerriAI/litellm](https://seerepo.com/r/BerriAI/litellm/built): anyio, Pydantic, jsonschema · [Compare](https://seerepo.com/compare/BerriAI/litellm/vs/stanfordnlp/dspy)

## Frequently asked questions

### What language is dspy written in?

dspy is written in Python, with 132,756 written lines.

### What framework does dspy use?

dspy is built with anyio.

### Does dspy use AI?

Yes. dspy uses AI through gepa.

### What services does dspy use?

dspy uses diskcache.

### Does dspy have tests?

Yes. dspy has 164 test files.

### Which repos have a stack like dspy's?

The ones that share most of its stack: Aider-AI/aider, ray-project/ray, and datawhalechina/hello-agents.

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
