The declarative
Agent Host.
A NixOS flake template for running multiple isolated Hermes AI agents on one machine. Each agent gets its own Linux user, state directory, container, and key. Real OS-level isolation — declared in three lines of Nix.
Everything in one flake.
Eight primitives that ship declared together — agents, secrets, containers, networking, TTS, audit, security, and a bootable installer.
One brain. Unlimited tentacles.
Each agent is a Hermes AI process — an LLM-powered assistant with its own tools, memory, and identity. tentaflake gives every agent its own Linux user, state directory, Docker container, and API keys. Real OS-level isolation, not just a different folder in the same compose file. Add as many as you need — no limit.
tentaflake versus the alternatives
Eight dimensions, four approaches to running agents on one box.
Composable NixOS modules
Each module configures one slice of the host. modules/default.nix aggregates them all — import it and override what you need.
networking.nix
Hostname, nftables firewall, NetworkManager. Strict perimeter by default.
hardening.nix
Sysctl hardening, AppArmor, journald limits. Security baked in, not bolt-on.
tailscale.nix
Tailscale with SSH and tag:auto. Optional, off until you enable it.
piper-tts-server.nix
Local Piper TTS with an OpenAI-compatible API on port 5001.
hermes-firstboot.nix
USB env detection + first-boot TUI wizard for the live ISO.
nix-settings.nix
Flakes, automatic GC, trusted-users, binary substituters.
users.nix
Admin user in the wheel + networkmanager groups.
your-module.nix
Fork the template, add your own module, import it in default.nix.
Recipes for every use case
Guides, references, and examples to build with tentaflake.
Where we are — and where we're going
v0.1.0 ships the core scaffolding. Here's what's done, what's being hardened, and what's on deck.
Fork it. Boot the ISO.
Declare your fleet.
A community template — keep it generic, add your agents, encrypt your secrets with agenix. MIT licensed.