Netherframe Documentation
Netherframe is an infrastructure-as-code framework for Python. You declare resources using
typed Python classes generated from Terraform provider schemas, preview changes with
nf plan, and apply them directly over gRPC with nf apply—without installing Terraform
or OpenTofu.
Pre-1.0 release status: All 20 Netherframe workspace packages are published on PyPI (Python 3.15+ required), while APIs and artifact formats remain pre-1.0. See the package catalogue, release notes, and versioning & compatibility.
Explore the documentation
This documentation is organized into four sections so each page has one clear job:
| If you want to… | Go to | What you will find |
|---|---|---|
| Learn by doing | Tutorials | Step-by-step hands-on lessons with complete, runnable code and predictable results. Start here if you are new to Netherframe. |
| Solve a specific problem | How-to Guides | Focused, goal-oriented recipes for installation, CI/CD, adoption, testing, state backends, recovery, and operations. |
| Understand how it works | Explanation | Architecture, design rationale, hybrid execution semantics, state concurrency, and comparisons with Terraform, OpenTofu, and Pulumi. |
| Look up exact details | Reference | Complete technical specifications for nf CLI commands, exit codes, pyproject.toml, settings, nf.core, nf.sdk, and packages. |
Recommended starting paths
Brand new to Netherframe?
Follow the zero-cloud tutorial track—every step runs locally against real providers without cloud credentials:
- Install Netherframe (Python 3.15+,
uv add netherframe.cli). - Tutorial 1: Run your first hybrid app — generate Random bindings, save a plan, apply it, verify convergence, and destroy.
- Tutorial 2: Multi-stack apps, typed inputs, and teardown — parameterize environments with
++env=, keep data throughnf destroywithLifecycleRules(retain=...), and guard teardowns withTeardown[bool]. - Tutorial 3: Guardrails, rollback, and audited runs — roll back a failed apply automatically, enforce
@app.checkrules, and resume finalization withnf state verify.
Evaluating Netherframe?
- Read What is Netherframe? for a concise overview of the model.
- Read Why Netherframe for concrete side-by-side comparisons against Terraform, OpenTofu, and Pulumi.
- Read How Netherframe works for the end-to-end architecture and execution pipeline.
- Browse the Examples catalogue for 25 runnable apps.
Coming from another IaC tool?
Start with the entrypoint guide tailored to your current stack:
- Terraform / OpenTofu / Terragrunt · AWS CloudFormation · AWS CDK · CDKTF · Pulumi · Ansible, Crossplane, Bicep & Cloud SDKs
- Convert a Terraform project — translate HCL into typed Python and adopt existing state explicitly.
- How to Import (Adopt) Existing Resources — bring live resources under management without recreating them.
Operating or embedding Netherframe in production?
- CI/CD and saved plans · Secrets management · Security & trust model · Interactive
nf tui&nf follow - Embedding via
nf.sdk· Cloud entrypoints (GCP, Azure, Kubernetes) · PostgreSQL graph state · Production checklist · Support and security
Working on Netherframe itself? See Contributing and Roadmap.