firebreak
v0.0.1
Published
Thin npx launcher for the Firebreak Nix CLI
Maintainers
Readme
Firebreak
Firebreak is a VM-first control plane for running coding agents with a small public interface.
Firebreak CLI
firebreak vms
firebreak run codex
firebreak run codex --shell
firebreak run claude-code -- --helpfirebreak vms lists the public VM workloads. firebreak run <vm> launches one of them through the existing Firebreak VM packages.
Local Workloads
nix run .#firebreak-codexlaunches Codex in the local Firebreak VMnix run .#firebreak-claude-codelaunches Claude Code in the local Firebreak VMFIREBREAK_VM_MODE=shell nix run .#firebreak-codexreaches the maintenance shell for the same VM package
NPX Launcher
Firebreak ships a thin Node launcher so users can run the Nix-backed CLI with npx firebreak ....
npx firebreak vms
npx firebreak run codex
npx firebreak doctor
npx firebreak initThe launcher:
- checks that the host is
x86_64-linux - checks that
nixis installed and callable - checks that
/dev/kvmis usable before non-diagnostic commands - uses the local Firebreak checkout automatically when you run it inside a cloned Firebreak repo
- falls back to
github:skadaai/firebreakwhen no local Firebreak checkout is present - forwards all arguments to the existing Bash Firebreak CLI through
nix run
Project Defaults
firebreak init is interactive by default and writes a project-local .firebreak.env file tailored to the answers you choose. The file uses the same KEY=VALUE spelling as the public environment variables, and real environment variables take precedence over file values.
nix run .#firebreak -- init
nix run .#firebreak -- init --non-interactive
nix run .#firebreak -- doctorExample .firebreak.env:
AGENT_CONFIG=workspace
# FIREBREAK_VM_MODE=run
# CODEX_CONFIG=workspace
# CLAUDE_CONFIG=workspaceDiagnostics
firebreak doctor reports:
- project root and config-file resolution
- public VM mode resolution
- Codex and Claude Code config resolution
- current working directory compatibility
- KVM availability and primary-checkout state
Use nix run .#firebreak -- doctor --json for machine-readable output.
