Skip to main content

Deploy any app in 60 seconds. 60-80% cheaper than Vercel, Render, and Railway.

Project description

varitykit

Deploy any app — websites, APIs, AI agents — for less than what AWS, Vercel, Railway, and Render charge. One command. No infrastructure setup.

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 with a real cost number. Static sites are a flat $5/month; dynamic apps and AI agents are usage-priced and run a fraction of what the same workload costs on Vercel, Render, or AWS.

Why people switch

  • Static sites: flat $5/month, traffic and storage included — no Pro-plan gating, no surprise overage bills.
  • Dynamic apps and AI agents: usage-priced. Pay only for the compute time your container actually runs. No idle-hour fees, no per-request fees, no plan tiers.
  • No infrastructure to wire up: no Dockerfile, no Kubernetes, no DNS, no region selection. varitykit app deploy and you're live.

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

60-second quickstart

pip install varitykit                     # 1. install
varitykit login                           # 2. paste your deploy key
varitykit init my-app                     # 3. scaffold a new Next.js app
cd my-app && varitykit app deploy         # 4. live at https://varity.app/my-app/

Already have an app? Skip step 3. cd into it and run varitykit app deploy.

What kinds of apps work

Validated end-to-end on this release:

Pattern Status Notes
Plain HTML Works as-is
Vite SPA (Vue / React) Build first, then deploy
Next.js with output: "export" Build first, then deploy
Express / Node API Single container; works end-to-end
Next.js with API routes / SSR Deploys; multi-service polish underway
FastAPI / Flask / Django Single-container apps work; apps that need Postgres or an LLM hit a startup-ordering issue we're fixing
AI agent with a local LLM Same as above

Go, Rust, Ruby, Elixir, Java, PHP, and .NET are on the roadmap.

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 init <name>         scaffold a new Next.js app
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 agent list          list available AI agent templates
varitykit agent info <name>   full details for one agent (env vars, ports, cost)
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 init

Wraps npx create-next-app@latest with sensible defaults (TypeScript, App Router, no preset Tailwind / ESLint) and writes a small varity.config.json next to the scaffold. The previous bundled SaaS template is deprecated; --template is accepted for backward compatibility but routes to the same flow.

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 host can fetch it at startup. Eliminating that requirement is the next thing we're shipping. (See KNOWN_ISSUES.md.)

varitykit app deploy --agent <name> — deploy a ready-made AI agent

Skip the code entirely. Pick one of 5 curated AI agent templates and Varity will deploy a working instance for you, exposing it at https://varity.app/<name>/.

Agent What it is Est. cost
hermes Self-hosted Telegram chatbot powered by an LLM ~$16 / mo
openclaw Claude-compatible web chat UI with persistent history ~$38 / mo
agent-zero General-purpose AI agent framework — zero required env vars ~$14 / mo
autoresearch GPU-backed CUDA workstation (SSH access) ~$280 / mo
eliza-venice ElizaOS agent for Twitter/X automation ~$168 / mo
varitykit agent list                                         # see all 5
varitykit agent info hermes                                  # full setup (env vars, ports)
varitykit app deploy --agent hermes --name my-telegram-bot   # deploy it

Each agent prompts you for the small set of required environment variables (a bot token, an API key, etc.). When you're done with it: varitykit app delete my-telegram-bot.

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 deploys (websites, exported Next.js, Vite SPAs) and single-container APIs are production-ready. Multi-service apps — an API with a database, or an AI agent with an LLM — are configured correctly by the CLI, but the order in which the services start up needs polish before launch. See KNOWN_ISSUES.md for the full audit.

Support

License

MIT — see LICENSE.

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-1.2.24.tar.gz (258.1 kB view details)

Uploaded Source

Built Distribution

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

varitykit-1.2.24-py3-none-any.whl (308.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for varitykit-1.2.24.tar.gz
Algorithm Hash digest
SHA256 4d24211a5bdb485b7ecd5f5651ff7512077b43a151f21b2b7658276ad4928c82
MD5 3363fd45612815ade1a5b8f014c482bf
BLAKE2b-256 d62f147516117e220ebc3f0d8b9d9090eb52b1c7a27f3c7ff57af920454ec8a2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for varitykit-1.2.24-py3-none-any.whl
Algorithm Hash digest
SHA256 19fd90779f2b717592ce3b0162642d4ad6df27752a799eab7e6f2524a2408ae2
MD5 0b007a990067f158ed41d87200e62597
BLAKE2b-256 731aedfdba33344ce609a962b5cef8780d4f05ba73b9a44c807d7209492cc9f7

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