neuron-explorer
Steering-first neuron explorer for Qwen3.5-4B: push every MLP neuron, keep every rollout, browse the results
One bootstrap command provisions a secure, Git-backed Kubernetes cluster with Flux CD, SOPS-encrypted secrets, auto TLS, and Grafana monitoring. Ready for AI workloads.
Developer toolsTypeScript · ShellGitHub @GitOpsAIOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
GitOps-managed Kubernetes infrastructure for AI-powered applications. Secure, reproducible, and ready to modify with your favourite AI coding assistant.
Taken from the repository README
Loading the full README.
Read the full README ↗GitOps-managed Kubernetes infrastructure for AI-powered applications powered by the Flux Operator and Flux CD. A single bootstrap application provisions a Kubernetes cluster, installs all infrastructure components, and enables continuous delivery from Git.
💾 Infrastructure as Code -- your entire cluster is defined in Git. Every change is versioned, reviewable, and reversible. You can modify infrastructure with AI coding assistants (Cursor, Copilot, Claude) that understand YAML and Helm values -- describe what you want in natural language and commit the result.
🔒 Security by default -- containers run as non-root with read-only filesystems and dropped capabilities. Network policies isolate workloads so pods can only communicate with explicitly allowed services. Secrets are encrypted at rest with SOPS/Age before they ever reach Git. SSL certificates are automatically managed by cert-manager.
🔄 Reproducible deployments -- the same bootstrap script produces an identical cluster every time, on any supported machine. Drift is automatically corrected by Flux reconciliation -- if someone manually changes a resource, Flux reverts it to match Git within minutes.
🔌 Scalable and flexible -- powered by Kubernetes, you can add worker nodes to grow capacity or drop in new components like Lego blocks. Need a database, a message queue, or another AI model? Add a HelmRelease to the repo and push -- Flux deploys it automatically.
If you already have Node.js on your Mac or Linux machine:
npx gitops-ai bootstrap
If Node is not installed yet, use the helper script — it installs Node when missing (on macOS, Homebrew is required for that step), then starts the wizard:
curl -sfL https://raw.githubusercontent.com/GitOpsAI/gitops-ai-bootstrapper/refs/heads/main/install.sh | bash
The interactive wizard will prompt for your Git provider (GitHub or GitLab), create or use a repository from the GitOps AI Template, and run the full bootstrap.
No server? Run the same command in a GitHub Codespace opened on your repo created from the template: the template's devcontainer provides Docker and the CLI tools, the cluster runs in k3d, and the Cloudflare Tunnel network mode publishes it on your domain behind Cloudflare Access, with no public IP. See Running in GitHub Codespaces for the limits of the free tier and the one-time setup.
| Resource | Minimum |
|---|---|
| CPU | 2+ cores |
| Memory | 4+ GB |
| Disk | 20+ GB free |
| OS | Ubuntu 25.04+ or macOS |
| Node.js | 18+ (installed automatically by install.sh) |
| Docker | macOS only — Docker Desktop; not used on Linux bootstrap |
You will also need a GitLab PAT, a Cloudflare API Token (if using automatic DNS/TLS), and an OpenAI API Key (if using OpenClaw). See Prerequisites for full details.
This CLI bootstraps clusters from the GitOps AI Template -- a ready-made GitOps repository structure that Flux uses as the single source of truth for your cluster.
The template contains the declarative Kubernetes manifests, HelmRelease definitions, Kustomization overlays, and SOPS encryption configuration that define a complete infrastructure stack. When you run npx gitops-ai bootstrap, the CLI forks this template into your GitLab namespace, customises it with your cluster variables (domain, tokens, component selections), and points Flux at the resulting repository. From that moment on, every git push to the repo triggers Flux reconciliation -- your cluster converges to match whatever is declared in Git.
Keeping the template in a separate repository means:
The upstream template (and your bootstrapped repo) is organised roughly as:
| Path | Role |
|---|---|
templates/<category>/… | Shared Helm bases and component manifests (e.g. templates/system/, templates/ai/, templates/monitoring/). |
clusters/_template/ | Prototype cluster layout; the CLI copies this to clusters/<your-cluster-name>/ during bootstrap. |
clusters/<name>/ | Your live cluster overlay (cluster-sync.yaml, components/, encrypted secrets). |
See Architecture for diagrams and a fuller tree.
The CLI provides these commands:
bootstrap (alias: install)Interactive wizard that provisions a complete Kubernetes cluster with Flux GitOps. Walks through repository setup, component selection, cluster creation, SOPS encryption, and Flux reconciliation.
npx gitops-ai bootstrap
See Bootstrap for a detailed walkthrough.
sops [subcommand] [file]SOPS secret encryption management. Run without arguments for an interactive menu, or specify a subcommand directly:
npx gitops-ai sops [subcommand] [file]
| Subcommand | Description |
|---|---|
init | First-time setup: generate age key, create .sops.yaml and K8s secret |
encrypt | Encrypt all unencrypted secret files |
encrypt <file> | Encrypt a specific file |
decrypt <file> | Decrypt a file for viewing (re-encrypt before commit) |
edit <file> | Open encrypted file in $EDITOR (auto re-encrypts on save) |
status | Show encryption status of all secret files |
import | Import an existing age key into a new cluster |
rotate | Rotate to a new age key and re-encrypt everything |
openclaw-pairPair an OpenClaw device with the cluster after bootstrap:
npx gitops-ai openclaw-pair
template syncFetch the upstream GitOps template and merge changes into your current branch. Run without flags for an interactive wizard (tag picker, diff preview with risk classification, merge/dry-run/cancel), or pass flags for non-interactive use:
npx gitops-ai template sync # interactive wizard
npx gitops-ai template sync --ref v1.0.0 # non-interactive merge
npx gitops-ai template sync --ref main --dry-run # non-interactive preview
The bootstrap wizard lets you select which components to install:
| Component | Required | Description |
|---|---|---|
| Helm Repositories | Yes | Shared Helm chart repos |
| Ingress Nginx (external) | Yes | External HTTP/HTTPS ingress controller |
| Prometheus CRDs | Yes | Monitoring custom resource definitions |
| Cert Manager | DNS/TLS | Automatic TLS certificates via Let's Encrypt |
| External DNS | DNS/TLS | Automatic DNS records in Cloudflare |
| Grafana Operator | No | Grafana dashboards and datasources via CRDs |
| Victoria Metrics Stack | No | Metrics collection, alerting and long-term storage |
| Flux Web UI | No | Web dashboard for Flux status |
| OpenClaw | No | AI assistant gateway (requires OpenAI key) |
| Cloudflare Tunnel | Tunnel | Public access via outbound tunnel + Access |
Components marked DNS/TLS are automatically enabled when you opt into automatic DNS and TLS management during the wizard. Cloudflare Tunnel is enabled by the Cloudflare Tunnel network mode, which replaces External DNS with one wildcard record pointing at the tunnel.
| Document | Description |
|---|---|
| Prerequisites | Node.js, Docker (macOS), Git provider, optional Cloudflare / OpenAI |
| Bootstrap | What the bootstrap does, wizard walkthrough, resume capability |
| Architecture | Repositories, bootstrap flow, Flux Operator & Instance, repo tree |
| Configuration | Cluster variables, SOPS defaults, post-bootstrap changes |
| Template synchronization | Upstream merges, template sync, CI parity, risk tiers |
| Scaling | Adding k3s worker and server nodes (Linux) |
| Security | SOPS, Git auth, hardening, network |
git clone https://gitlab.com/everythings-gonna-be-alright/gitops_ai_bootstrapper.git
cd gitops_ai_bootstrapper
npm install
npm run dev # Run CLI locally via tsx
npm run build # Compile TypeScript to dist/
npm run typecheck # Type-check without emitting
npm run test:sync # Unit tests for template sync logic
npm run test:unit # Unit tests: platform detection, components, Cloudflare Tunnel provisioning
npm run test:integration # Full k3d + Flux integration test (requires Docker)
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.