Fail-closed controllers
Balanced controllers use non-root gVisor containers, read-only roots, dropped capabilities, bounded resources, private state, and no direct network.
An open-source NixOS flake for isolated agents with explicit host policy, brokered egress, disposable workers, and reproducible operations.
One NixOS brain · Many AI tentacles.
3 · Read the evaluated result
schemaVersion = 1
[[agents]]
adapter = "hermes"
name = "assistant"
autoStart = false
[[agents]]
adapter = "zeroclaw"
name = "researcher"
autoStart = falseThe installed default. A setting that would weaken the sandbox makes the configuration fail to build instead.
balanceddevstrict[ the agent world · illustrated ]
Each controller has its own illustrated capsule and service paths.
Exact models and budgets; provider keys stay on the host.
A separate Unix socket to the pinned research service.
Queued tool jobs in a disposable environment without egress.
A fixed-size workspace quota; private state is separate.
The blue tentacles represent Tentaflake’s environment; they are not additional network routes.
Illustrated balanced topology, not live activity or security evidence. dev removes the container policy and is not a security boundary. Profile limits.
[ 01 · boundaries first ]
Every capability is declared at the layer that can actually enforce it. Unknown runtime evidence stays unknown instead of becoming a green status.
Balanced controllers use non-root gVisor containers, read-only roots, dropped capabilities, bounded resources, private state, and no direct network.
A per-agent LLM broker enforces exact models, request and daily budgets, and credential substitution. The provider key never enters the capsule.
Web access goes only through the pinned secure-research-tool relay. Provider-hosted web tools are rejected, and retrieved content stays untrusted.
Fixed-size Btrfs workspaces, optional private-state quotas, disposable offline workers, explicit approvals, and encrypted backups. Review storage limits and migration.
[ 02 · architecture ]
The controller never receives the host runtime socket or a real provider credential. Model calls, web research, tool execution, and persistent storage each have a distinct enforcement layer.
Explore the architecture[ 03 · security evidence ]
A successful build proves the candidate closure, not the live host. tentaflake keeps configured policy, live evidence, and unknowns apart.
Read the threat modeltentaflake doctor --security separates configured policy, live evidence, warnings, and unknowns.
An external attacker node exercises denied ports, metadata access, direct DNS, private ranges, resource ceilings, and reboot recovery.
The threat model does not claim prompt-injection resistance, daemon-level UID remapping, a separate kernel, or deployment proof from evaluation alone.
[ 04 · start safely ]
Build the installer ISO, test it in a disposable UEFI VM, then install to an explicitly selected disk.
Open the install guideImport the module, declare a stopped capsule, evaluate and build first, then activate in a controlled window.
Read the secure quickstarttentaflake.tomlnix build the toplevel, without activationnixos-rebuild switch in an approved windowtentaflake doctor --security on the live host[ 05 · agent-native ]
The documentation is plain text at predictable URLs, pinned to an exact source commit. Point Claude, ChatGPT, Gemini, or your coding agent at it and let it explain any chapter. Then check its answer against the page it cites.
Read https://docs.tentaflake.dev/llms.txt, then the install guide and the secure quickstart it links to. Ask me about my hardware and whether this is a new machine or an existing NixOS host. Then write a step-by-step plan. Do not run any command that formats a disk or activates a configuration.An assistant can be wrong. Building is not activating: disk writes, nixos-rebuild switch, and credentials stay with the operator.
[ 06 · skills ]
A skill is a short instruction file an agent loads when a task matches it. Install the tentaflake skill into Claude Code, Codex, Cursor, Gemini CLI, or another compatible agent, and it knows where the docs live and which steps it must leave to you.
Maps tasks to documentation pages and carries the rules that hold everywhere: stay on balanced, keep secrets out of Nix, and never activate without approval.
npx skills add \
https://tentaflake.dev/.well-known/agent-skills/tentaflake/SKILL.mdInspect or maintain a resolved Tentaflake host through its authorized private management path.
Review a concrete Tentaflake requirement, verification evidence and synchronized documentation.
Locate owning sources, guides and checks before changing Tentaflake.
[ 07 · agent adapters ]
Hermes and ZeroClaw have native adapters; vendor acceptance remains pending. Generic OCI workloads are declared stopped and run offline without automatic startup or accepted model/Research integration. OpenClaw refuses startup; public Pi Durable entries remain stopped, with separately reviewed host admission available. Review adapter contracts and evidence.
Discover presets with tentaflake runtimes --json. Installed-layout agent plan|import prepares stopped additions without activation; consumer flakes edit and validate their own tracked TOML. Read the configuration workflow.
A capable general agent controller with a dedicated non-root identity and private workspace.
A compact autonomous runtime held to the same final container policy and broker boundary.
OpenClaw remains a refusal scaffold. Pi Durable needs explicit reviewed host admission; neither claim establishes live vendor or provider acceptance.
[ 08 · product roadmap ]
The separately dated planning source describes priorities for onboarding, runtime acceptance, diagnostics and adapters. Consult the current pinned documentation for its exact source and evidence limits.
01
Keep TOML onboarding and installation simple without hiding Nix host policy, changing defaults or silently relocating state/accounting.
02
Complete actual vendor startup, model transport, Research discovery, execution mediation, lifecycle and restore acceptance for each runtime. Source fixtures alone do not establish support. OpenClaw remains a refusal scaffold, and Pi Durable one unless explicitly admitted; generic OCI remains offline without accepted model/Research hooks.
03
Improve bounded application readiness and diagnostics without replaying work or overriding explicit operator stops.
04
Add adapters through their own reviewed image, native hooks and evidence, not new shared security implementations or runtime-prefixed host services.
Planning snapshot · Source e6f3081. Plans are not release commitments.
[ 09 · direct answers ]
tentaflake is an open-source NixOS flake template for operating isolated AI agent controllers on hardware you manage. It provides the host, container, policy, worker, storage, and verification layers; it does not implement an agent model or hosted control plane.
Hermes and ZeroClaw have native adapters with vendor acceptance pending. Generic digest-pinned OCI workloads are declared stopped and can run offline, without automatic startup or accepted model/Research integration. OpenClaw is a refusal scaffold; public Pi Durable declarations remain stopped, while separately reviewed host admission can run its exact runtime. Provider acceptance remains separate.
Balanced agents run non-root through gVisor with a read-only root filesystem, no capabilities, bounded resources, no published ports, and no direct network. Automatically started controllers also require an exact LLM broker, disposable worker, fixed-size workspace, and research relay declaration.
No. You supply an approved provider or local endpoint. Real provider credentials stay on the host and enter the broker through runtime-only systemd credentials. An agent receives a per-boot virtual credential scoped to its declared policy.
Only through the pinned secure-research-tool relay, which you configure and enable per agent. Native web tools, provider-hosted web search, and the legacy fetch broker are disabled for research agents, and retrieved content stays untrusted.
Yes. Each prose guide has a Markdown twin, the guides are available as one file, and guide chapters offer assistant prompts grounded in their Markdown. The documentation splash page is not a prose twin. Verify an assistant's answer against its cited guide.
tentaflake is pre-1.0. Review the exact source revision, threat model, evidence gaps and residual risks, and validate the target host before relying on it. Development documentation is not a released support claim.

[ declare · verify · activate ]