Source: https://seerepo.com/r/ostris/ai-toolkit/built
Markdown source: https://seerepo.com/r/ostris/ai-toolkit/built.md
Description: ai-toolkit is a Python repo built with FastAPI, uvicorn, React, and Next.js. It stores its data in SQLite and reaches it with Prisma.

# What is ai-toolkit built with?

ai-toolkit is a Python repo built with FastAPI, uvicorn, React, and Next.js. It stores its data in SQLite, reaches it with Prisma, uses AI through albucore, kornia, lycoris-lora, open-clip-torch, sentencepiece, and 16 more, makes its content with invisible-watermark, av, mutagen, torchcodec, and yaml, validates its data with Pydantic, and uses Hugging Face and node-cache. It has 204,162 written lines, with 12 test files.

Read on November 10, 2026, at commit 4a7f285.

Repository: https://github.com/ostris/ai-toolkit

## Frontend (/)

### Interface

- **[matplotlib](https://seerepo.com/uses/matplotlib)**
- **[Gradio](https://seerepo.com/uses/gradio)**: 1 file

## Backend (/)

### The base

- **[FastAPI](https://seerepo.com/uses/fastapi)**: 1 file
- **[uvicorn](https://seerepo.com/uses/uvicorn)**: 1 file

### AI

- **albucore**
- **kornia**
- **lycoris-lora**
- **open-clip-torch**
- **[sentencepiece](https://seerepo.com/uses/sentencepiece)**
- **[timm](https://seerepo.com/uses/timm)**
- **[transformers](https://seerepo.com/uses/transformers)**: 93 files
- **[safetensors](https://seerepo.com/uses/safetensors)**: 79 files
- **[einops](https://seerepo.com/uses/einops)**: 34 files
- **optimum-quanto**: 32 files
- **[accelerate](https://seerepo.com/uses/accelerate)**: 13 files
- **[opencv-python](https://seerepo.com/uses/opencv-python)**: 9 files
- **controlnet-aux**: 3 files
- **torchao**: 3 files
- **albumentations**: 2 files
- **[librosa](https://seerepo.com/uses/librosa)**: 2 files
- **lpips**: 2 files
- **[bitsandbytes](https://seerepo.com/uses/bitsandbytes)**: 1 file
- **[peft](https://seerepo.com/uses/peft)**: 1 file
- **prodigyopt**: 1 file
- **pytorch-fid**: 1 file

### Services

- **[Hugging Face](https://seerepo.com/uses/hugging-face)**: 35 files · [toolkit/models/v2/_mixin.py, line 30](https://github.com/ostris/ai-toolkit/blob/4a7f28532ed6fe81d9f8c00718878bb3b8739015/toolkit/models/v2/_mixin.py#L30)

## Support (/)

### Content

- **invisible-watermark**
- **[av](https://seerepo.com/uses/av)**: 5 files
- **mutagen**: 1 file
- **[torchcodec](https://seerepo.com/uses/torchcodec)**: 1 file

### Validation

- **[Pydantic](https://seerepo.com/uses/pydantic)**

### Tools

- **Setuptools**
- **tensorboard**

### Other

- **flatten-json**
- **hf-transfer**
- **omegaconf**
- **toml**
- **pyyaml**: 29 files
- **python-dotenv**: 3 files
- **SciPy**: 3 files
- **oyaml**: 1 file
- **python-slugify**: 1 file

## Frontend (ui)

### The base

- **[React](https://seerepo.com/uses/react)**: 71 files · [in ui/package.json](https://github.com/ostris/ai-toolkit/blob/4a7f28532ed6fe81d9f8c00718878bb3b8739015/ui/package.json)
- **[Next.js](https://seerepo.com/uses/nextjs)**: 56 files · [in ui/package.json](https://github.com/ostris/ai-toolkit/blob/4a7f28532ed6fe81d9f8c00718878bb3b8739015/ui/package.json)

### Styles

- **[Tailwind CSS](https://seerepo.com/uses/tailwind-css)**
- **[classnames](https://seerepo.com/uses/classnames)**: 15 files

### Interface

- **[Headless UI](https://seerepo.com/uses/headless-ui)**: 17 files
- **[react-dropzone](https://seerepo.com/uses/react-dropzone)**: 3 files
- **[@monaco-editor/react](https://seerepo.com/uses/monaco-editor-react)**: 2 files
- **[react-virtuoso](https://seerepo.com/uses/react-virtuoso)**: 2 files
- **[react-zoom-pan-pinch](https://seerepo.com/uses/react-zoom-pan-pinch)**: 2 files
- **[react-select](https://seerepo.com/uses/react-select)**: 1 file
- **uplot**: 1 file

### Icons

- **[Lucide](https://seerepo.com/uses/lucide)**: 26 files
- **[react-icons](https://seerepo.com/uses/react-icons)**: 18 files

## Backend (ui)

### Data

- **[SQLite](https://seerepo.com/uses/sqlite)**: 2 files · [ui/src/app/api/jobs/[jobID]/loss/route.ts, line 7](https://github.com/ostris/ai-toolkit/blob/4a7f28532ed6fe81d9f8c00718878bb3b8739015/ui/src/app/api/jobs/[jobID]/loss/route.ts#L7)
- **node-cache**: 1 file

### Data access

- **[Prisma](https://seerepo.com/uses/prisma)**: 18 files

## Support (ui)

### Content

- **[yaml](https://seerepo.com/uses/yaml)**: 3 files

### Other

- **systeminformation**: 3 files
- **Axios**: 2 files
- **uuid**: 2 files
- **archiver**: 1 file

## Other repos with a similar stack

- [mudler/LocalAI](https://seerepo.com/r/mudler/LocalAI/built): FastAPI, uvicorn, Hugging Face, React, SQLite, matplotlib, Gradio, sentencepiece, transformers, safetensors, einops, optimum-quanto, accelerate, opencv-python, torchao, librosa, bitsandbytes, peft, av, torchcodec, yaml · [Compare](https://seerepo.com/compare/mudler/LocalAI/vs/ostris/ai-toolkit)
- [unslothai/unsloth](https://seerepo.com/r/unslothai/unsloth/built): FastAPI, uvicorn, Hugging Face, React, matplotlib, sentencepiece, timm, transformers, safetensors, einops, accelerate, librosa, peft, av, Pydantic, Tailwind CSS, Lucide · [Compare](https://seerepo.com/compare/ostris/ai-toolkit/vs/unslothai/unsloth)
- [bojieli/ai-agent-book](https://seerepo.com/r/bojieli/ai-agent-book/built): FastAPI, uvicorn, Hugging Face, React, Next.js, matplotlib, sentencepiece, transformers, accelerate, opencv-python, librosa, bitsandbytes, peft, torchcodec, Pydantic, Tailwind CSS, Lucide · [Compare](https://seerepo.com/compare/bojieli/ai-agent-book/vs/ostris/ai-toolkit)
- [hiyouga/LlamaFactory](https://seerepo.com/r/hiyouga/LlamaFactory/built): FastAPI, uvicorn, matplotlib, Gradio, sentencepiece, transformers, safetensors, einops, accelerate, torchao, bitsandbytes, peft, av, torchcodec, Pydantic · [Compare](https://seerepo.com/compare/hiyouga/LlamaFactory/vs/ostris/ai-toolkit)
- [datawhalechina/hello-agents](https://seerepo.com/r/datawhalechina/hello-agents/built): FastAPI, uvicorn, Hugging Face, React, SQLite, matplotlib, Gradio, transformers, safetensors, accelerate, bitsandbytes, peft, Pydantic, Tailwind CSS · [Compare](https://seerepo.com/compare/datawhalechina/hello-agents/vs/ostris/ai-toolkit)
- [open-webui/open-webui](https://seerepo.com/r/open-webui/open-webui/built): FastAPI, uvicorn, Hugging Face, SQLite, sentencepiece, transformers, einops, accelerate, av, Pydantic, Tailwind CSS, yaml · [Compare](https://seerepo.com/compare/open-webui/open-webui/vs/ostris/ai-toolkit)

## Frequently asked questions

### What language is ai-toolkit written in?

ai-toolkit is written in Python, with 204,162 written lines.

### What framework does ai-toolkit use?

ai-toolkit is built with FastAPI, uvicorn, React, and Next.js.

### What database does ai-toolkit use?

ai-toolkit stores its data in SQLite and reaches it with Prisma.

The proof: [ui/src/app/api/jobs/[jobID]/loss/route.ts, line 7](https://github.com/ostris/ai-toolkit/blob/4a7f28532ed6fe81d9f8c00718878bb3b8739015/ui/src/app/api/jobs/[jobID]/loss/route.ts#L7)

### Does ai-toolkit use AI?

Yes. ai-toolkit uses AI through albucore, kornia, lycoris-lora, open-clip-torch, sentencepiece, timm, transformers, safetensors, einops, optimum-quanto, accelerate, opencv-python, controlnet-aux, torchao, albumentations, librosa, lpips, bitsandbytes, peft, prodigyopt, and pytorch-fid.

### What services does ai-toolkit use?

ai-toolkit uses Hugging Face and node-cache.

The proof: [toolkit/models/v2/_mixin.py, line 30](https://github.com/ostris/ai-toolkit/blob/4a7f28532ed6fe81d9f8c00718878bb3b8739015/toolkit/models/v2/_mixin.py#L30)

### Does ai-toolkit have tests?

Yes. ai-toolkit has 12 test files.

### Which repos have a stack like ai-toolkit's?

The ones that share most of its stack: mudler/LocalAI, unslothai/unsloth, and bojieli/ai-agent-book.

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