Source: https://seerepo.com/r/langgenius/dify/built
Markdown source: https://seerepo.com/r/langgenius/dify/built.md
Description: dify is a Python repo built with Next.js, React, Flask, and net/http. It stores its data in Redis and Postgres and sends email with Resend.

# What is dify built with?

dify is a Python repo built with Next.js, React, Flask, and net/http. It stores its data in Redis and Postgres, sends email with Resend, and watches its errors with Sentry. It has 6,486 files and 2,246,004 written lines, with 4,485 test files.

Read on October 28, 2026, at commit ea5e4e9.

Repository: https://github.com/langgenius/dify

## Frontend

### The base

- **[Next.js](https://seerepo.com/uses/nextjs)**: [in package.json](https://github.com/langgenius/dify/blob/ea5e4e9e21e73a8b7406e2d678350a2dd33b8fa0/package.json)
- **[React](https://seerepo.com/uses/react)**: [in package.json](https://github.com/langgenius/dify/blob/ea5e4e9e21e73a8b7406e2d678350a2dd33b8fa0/package.json)

## Backend

### The base

- **Flask**: [in package.json](https://github.com/langgenius/dify/blob/ea5e4e9e21e73a8b7406e2d678350a2dd33b8fa0/package.json)
- **[net/http](https://seerepo.com/uses/net-http)**: [in package.json](https://github.com/langgenius/dify/blob/ea5e4e9e21e73a8b7406e2d678350a2dd33b8fa0/package.json)

### Data

- **[Redis](https://seerepo.com/uses/redis)**: 26 files · [api/core/app/apps/base_app_queue_manager.py, line 11](https://github.com/langgenius/dify/blob/ea5e4e9e21e73a8b7406e2d678350a2dd33b8fa0/api/core/app/apps/base_app_queue_manager.py#L11)
- **[Postgres](https://seerepo.com/uses/postgres)**: 11 files · [api/core/repositories/sqlalchemy_workflow_node_execution_repository.py, line 1](https://github.com/langgenius/dify/blob/ea5e4e9e21e73a8b7406e2d678350a2dd33b8fa0/api/core/repositories/sqlalchemy_workflow_node_execution_repository.py#L1)

### Services

- **[Sentry](https://seerepo.com/uses/sentry)**: 1 file · [web/instrumentation-client.ts, line 52](https://github.com/langgenius/dify/blob/ea5e4e9e21e73a8b7406e2d678350a2dd33b8fa0/web/instrumentation-client.ts#L52)
- **Resend**: 1 file · [api/extensions/ext_mail.py, line 30](https://github.com/langgenius/dify/blob/ea5e4e9e21e73a8b7406e2d678350a2dd33b8fa0/api/extensions/ext_mail.py#L30)

## Other repos with a similar stack

- [multica-ai/multica](https://seerepo.com/r/multica-ai/multica/built): Next.js, React, net/http, Redis, Postgres, Resend · [Compare](https://seerepo.com/compare/langgenius/dify/vs/multica-ai/multica)
- [Significant-Gravitas/AutoGPT](https://seerepo.com/r/Significant-Gravitas/AutoGPT/built): Next.js, React, Redis, Postgres, Sentry · [Compare](https://seerepo.com/compare/langgenius/dify/vs/Significant-Gravitas/AutoGPT)
- [calcom/cal.diy](https://seerepo.com/r/calcom/cal.diy/built): Next.js, React, Redis, Postgres, Sentry · [Compare](https://seerepo.com/compare/calcom/cal.diy/vs/langgenius/dify)
- [toeverything/AFFiNE](https://seerepo.com/r/toeverything/AFFiNE/built): React, Redis, Postgres, Sentry · [Compare](https://seerepo.com/compare/langgenius/dify/vs/toeverything/AFFiNE)
- [firecrawl/firecrawl](https://seerepo.com/r/firecrawl/firecrawl/built): Redis, Postgres, Resend · [Compare](https://seerepo.com/compare/firecrawl/firecrawl/vs/langgenius/dify)
- [yangshun/tech-interview-handbook](https://seerepo.com/r/yangshun/tech-interview-handbook/built): Next.js, React, Postgres · [Compare](https://seerepo.com/compare/langgenius/dify/vs/yangshun/tech-interview-handbook)

## Frequently asked questions

### What language is dify written in?

dify is written in Python: 6,486 files and 2,246,004 written lines.

### What framework does dify use?

dify is built with Next.js, React, Flask, and net/http.

The proof: [in package.json](https://github.com/langgenius/dify/blob/ea5e4e9e21e73a8b7406e2d678350a2dd33b8fa0/package.json)

### What database does dify use?

dify stores its data in Redis and Postgres.

The proof: [api/core/app/apps/base_app_queue_manager.py, line 11](https://github.com/langgenius/dify/blob/ea5e4e9e21e73a8b7406e2d678350a2dd33b8fa0/api/core/app/apps/base_app_queue_manager.py#L11)

### What services does dify use?

dify sends email with Resend and watches its errors with Sentry.

The proof: [api/extensions/ext_mail.py, line 30](https://github.com/langgenius/dify/blob/ea5e4e9e21e73a8b7406e2d678350a2dd33b8fa0/api/extensions/ext_mail.py#L30)

### Does dify have tests?

Yes. dify has 4,485 test files.

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

The ones that share most of its stack: multica-ai/multica, Significant-Gravitas/AutoGPT, and calcom/cal.diy.

## 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.
