Skip to content

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.

Brand new to Netherframe?

Follow the zero-cloud tutorial track—every step runs locally against real providers without cloud credentials:

  1. Install Netherframe (Python 3.15+, uv add netherframe.cli).
  2. Tutorial 1: Run your first hybrid app — generate Random bindings, save a plan, apply it, verify convergence, and destroy.
  3. Tutorial 2: Multi-stack apps, typed inputs, and teardown — parameterize environments with ++env=, keep data through nf destroy with LifecycleRules(retain=...), and guard teardowns with Teardown[bool].
  4. Tutorial 3: Guardrails, rollback, and audited runs — roll back a failed apply automatically, enforce @app.check rules, and resume finalization with nf state verify.

Evaluating Netherframe?

Coming from another IaC tool?

Start with the entrypoint guide tailored to your current stack:

Operating or embedding Netherframe in production?


Working on Netherframe itself? See Contributing and Roadmap.