Zan is a decentralized compute network with a web client for job submission, an API server, and a provider desktop agent. This repository is a pnpm and Turbo monorepo.
- docs/USER_GUIDE.md - End-user workflow for clients and providers
- docs/CLIENT_PLATFORM.md - Technical reference for client-facing flows
- docs/PRODUCT_MEDIA.md - Product links and media
- Product site: https://zan-web.vercel.app/
- Product demo video: https://youtu.be/8fufZY50o3Q
- Presentation video: https://youtu.be/aW1hg-2UpQ0
- Presentation slides (PPT): https://docs.google.com/presentation/d/11yXKKGzKZk45N5OK6miEZVdhNeodYCmdrd5FsoRi97U/edit?usp=sharing
apps/agent- Electron provider agentserver- Express API serverweb- Next.js web apppackages/contracts- Solana programspackages/sdk- TypeScript SDKpackages/db- Prisma models and clientpackages/ui- Shared UI componentspackages/crypto- Crypto utilitiespackages/types- Shared types
- Node.js >= 18
- pnpm 9.x
- Make (recommended for local workflows)
Use the Makefile to run the common local dev workflows:
make help
make install
make devCommon targets:
make dev-web- Next.js web appmake dev-server- API servermake dev-agent- Electron provider agentmake dev-db- Watch build for@repo/dbmake db-generate- Prisma clientmake db-reset- Seed reset
Pick one option:
# Chocolatey
choco install make
# Scoop
scoop install make
# Winget (GnuWin32)
winget install -e --id GnuWin32.MakeThen run make from PowerShell or Git Bash.
The Zan Provider Agent is an Electron-based desktop application that allows GPU providers to participate in the decentralized compute network.
Download the latest version from GitHub Releases:
- Linux:
.AppImage,.deb, or.snappackages - Windows:
.exeinstaller - macOS:
.dmgdisk image
# Install dependencies
pnpm install
# Build all dependencies
pnpm --filter @repo/provider-agent --include-dependencies build
# Build for your platform
cd apps/agent
npm run build:linux # Linux
npm run build:win # Windows
npm run build:mac # macOSTo create a new release with downloadable binaries:
git tag -a v1.0.0 -m "Release v1.0.0"
git push origin v1.0.0The GitHub Actions workflow will automatically build binaries for all platforms and attach them to the release.