Skip to main content

Deploy any app. Flat-rate hardware-reserved hosting — your bill on day 1 equals your bill on day 1000.

Project description

varitykit

Deploy any app — websites, APIs, AI agents — on a predictable flat monthly bill. Your cost on day 1 equals your cost on day 1000. No usage spikes, no traffic surprises.

PyPI version License: MIT Python 3.11+

varitykit is the command-line tool for Varity. You point it at any project — website, API, AI agent — and one command takes it live. Your monthly cost is locked at deploy time and based on the hardware your app reserves: same bill at 100 users or 100,000.

Why people switch

  • Predictable bill, forever: your monthly cost doesn't change with traffic, requests, or build minutes. Usage-based hosting typically grows 5-40× as the app does. Varity is built different — flat-rate hardware reservation, locked at deploy.
  • One command, every app: static sites, APIs, and AI agents all deploy the same way. Varity auto-detects what you built and configures the runtime.
  • No infrastructure to wire up: no Dockerfile, no Kubernetes, no DNS, no region selection, no managed-service signup chain (Postgres, Redis, and other sidecars auto-wire into the same deployment).

Run varitykit app deploy --dry-run to see your estimated monthly cost before you ship.

60-second quickstart

pip install varitykit                     # 1. install
varitykit login                           # 2. paste your deploy key
cd my-app && varitykit app deploy         # 3. live at https://varity.app/my-app/

Starting from scratch? Scaffold with your usual tool (npx create-next-app, npm create vite, …), then deploy the same way.

What kinds of apps work

Validated end-to-end on this release:

Pattern Status Notes
Plain HTML / static sites Works as-is
Vite SPA / React / Vue / Astro / Qwik Auto-detected, one command
Next.js — static export and SSR / API routes Auto-detected, one command
Express / Fastify / NestJS / Koa / Hono Node APIs and servers
FastAPI / Django / Flask Python APIs and apps
Container images Deploy any prebuilt image
Databases & services alongside your app Postgres, Redis, MongoDB, MySQL, Ollama auto-wire into the same deployment

Go, Rust, Ruby, Elixir, Java, PHP, and .NET source builds are on the roadmap (container images of them deploy today).

Commands

varitykit doctor              check Node 20+, Python 3.11+, git, npm, network
varitykit login [--key ...]   save your deploy key (or use VARITY_DEPLOY_KEY env var)
varitykit app deploy          deploy from the current directory
varitykit app list            list your deployments
varitykit app info <id>       details for a specific deployment
varitykit app delete <name>   stop a deployment and end its billing
varitykit migrate --url <gh>  convert a Vercel project to Varity
varitykit completions         install shell tab completion (bash / zsh / fish)

--debug, --json, --version, and --help are available globally.

varitykit app deploy

varitykit app deploy                        # auto — figures out everything
varitykit app deploy --hosting static       # force static hosting
varitykit app deploy --hosting dynamic      # force dynamic hosting
varitykit app deploy --dry-run              # show what would deploy without shipping
varitykit app deploy --name staging         # custom URL slug → varity.app/staging/

For dynamic apps (anything with a server), your code currently needs to be in a public GitHub repo so the build can fetch it. Eliminating that requirement is the next thing we're shipping.

Ready-made templates — AI agents and more

Skip the code entirely: the Developer Portal has a gallery of curated templates (AI agents like Agent Zero and Hermes, and more being added) that deploy in one click, each with its flat monthly cost shown up front. The same templates are available from your AI editor via the Varity MCP.

varitykit migrate

Converts a Vercel-deployed app to Varity: clones the repo, removes Vercel-specific packages and config (vercel.json, @vercel/blob, @vercel/kv, edge-runtime markers, Next image-optimizer settings), suggests portable replacements (S3-compatible storage for @vercel/blob, ioredis for @vercel/kv), applies them, and deploys.

varitykit migrate --url https://github.com/me/my-vercel-app --dry-run   # preview
varitykit migrate --url https://github.com/me/my-vercel-app             # do it

Verified on real-world Vercel projects: the Next.js framework itself, leerob/leerob.io, shadcn-ui/taxonomy.

Use Varity from your AI editor

Varity ships an MCP server so Cursor, Claude Code, VS Code Copilot, Windsurf, and other AI tools can deploy without typing.

claude mcp add varity -- npx @varity-labs/mcp     # Claude Code
# Then: "deploy this app to Varity"

See @varity-labs/mcp for setup in other clients.

Honest current state

Static sites, single-container apps, and apps with auto-wired services (a database, a cache, a local LLM) are production-ready and verified end-to-end on this release. Source builds for languages beyond Node and Python aren't supported yet — they return a clear error rather than a broken deploy, and any language already works via a container image.

Support

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

varitykit-2.1.5.tar.gz (73.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

varitykit-2.1.5-py3-none-any.whl (66.8 kB view details)

Uploaded Python 3

File details

Details for the file varitykit-2.1.5.tar.gz.

File metadata

  • Download URL: varitykit-2.1.5.tar.gz
  • Upload date:
  • Size: 73.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for varitykit-2.1.5.tar.gz
Algorithm Hash digest
SHA256 0bd2a62d448440d64f4efce159ace8d11f171c61b56bbf13818ece9336ad0bcf
MD5 9c0576a5a29feac8c6f0c7e9d67c426c
BLAKE2b-256 a2efd4ba7eb039a43e583a9c3ec5bb436bc5e0ea3e94b4b425e612edad08d5dc

See more details on using hashes here.

File details

Details for the file varitykit-2.1.5-py3-none-any.whl.

File metadata

  • Download URL: varitykit-2.1.5-py3-none-any.whl
  • Upload date:
  • Size: 66.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for varitykit-2.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2ab9191961780fa2d7014f310c837ce08d9a301f1d229bdd273a2f3005ec13bb
MD5 d123cf65b480d4900877cbd34f64858d
BLAKE2b-256 739637df67f02340e4b56016b97e0a50728a0e43006eab54b1353f808a5ac782

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page