deploy-ava-cluster

Installs Ava clusters and enrolls gateway or agent-runner machines across deployment shapes.

1|Updated Aug 14, 2026
One-click install
npx skills add https://github.com/zhiyuan-zhang0206/Ava --skill deploy-ava-cluster-zhiyuan-zhang0206
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: deploy-ava-cluster
Source: https://github.com/zhiyuan-zhang0206/Ava/tree/main/.agents/skills/deploy-ava-cluster
Command: npx skills add https://github.com/zhiyuan-zhang0206/Ava --skill deploy-ava-cluster-zhiyuan-zhang0206

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Setting up an Ava cluster from a fresh machine involves many moving parts: provisioning Postgres and Redis, choosing gateway versus agent-runner capabilities, handling secrets safely, and dealing with WSL or restricted-network environments. This Skill provides the operational walkthrough to bring a cluster up correctly the first time. ## Core Features & Use Cases - Single-box and split deployment: Install one machine carrying both gateway and agent-runner capabilities, or split them across machines with install.sh --role and ava enroll. - Secrets and bootstrap guidance: Explains AVA_CLUSTER_SECRET handling, the /api/bootstrap config flow, and safe secret entry without shell history exposure. - Environment-specific paths: Covers WSL bring-up notes, China mirror installs via --mirror cn, and macOS firewall considerations. - Use Case: You have a fresh Linux VPS and want a working Ava cluster. Follow the single-box path: clone the repo, run install.sh --role gateway,agent-runner, add your model key to ~/.ava/.env, then run ava start --machine-name <name> and verify by spawning your first agent. ## Quick Start Ask the assistant to walk you through installing a single-box Ava cluster on this machine, starting with the git clone and install.sh command and ending with a verified first agent spawn.

Frequently Asked Questions about deploy-ava-cluster

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install an Ava cluster on a fresh machine?▼

Clone the repo to ~/.ava/source, run ./scripts/install.sh --role gateway,agent-runner, add your model API key to ~/.ava/.env, then run ava start --machine-name <name>. The install provisions Postgres and Redis and writes the cluster .env.

How do I split an Ava deployment across multiple machines?▼

Run install.sh --role gateway on the gateway host, which mints a cluster secret, then on each runner run install.sh --role agent-runner followed by ava enroll --gateway <url> --machine-name <name> --machine-host <addr>. Start the gateway before the runners.

Does Ava deployment work on WSL or Windows?▼

WSL2 is supported as an agent-runner or gateway host: clone into ~/ rather than /mnt/c, raise the inotify watcher limit, and use the private-network address instead of WSL's internal IP. Docker is not required since Postgres and Redis run natively.

Can I install Ava behind a restricted network in China?▼

Yes, pass --mirror cn to install.sh to route pip, npm, and Homebrew through Tsinghua TUNA and npmmirror. The profile is saved to ~/.ava/mirror.env so later ava commands also use the mirrors.

Why does ava enroll fail against a remote gateway?▼

Enroll refuses when the gateway URL is remote but --machine-host is loopback, or when the gateway serves loopback data-plane URLs because AVA_MACHINE_HOST is unset. Set the gateway's reachable address and pass this host's reachable address via --machine-host.