Skip to main content

Compare

Bernstein vs Terraform / Pulumi (IaC): quick decision guide

Infrastructure-as-Code (Terraform/Pulumi) adapter for Bernstein.

Page built on 2026-08-16 from data/adapters-meta.json. Every claim below links to its primary source.

Install both

Terraform / Pulumi (IaC)

No install command recorded in the bernstein adapter source as of 2026-08-16.

Bernstein

pipx install bernstein

Apache-2.0. Deterministic Python scheduler.

Feature matrix

CapabilityTerraform / Pulumi (IaC)Bernstein
Install methodNot recordedpipx install bernstein
LicenseNot recordedApache-2.0
AuthenticationNot recordedPer-agent credential scoping (no shared key)
Multi-agent orchestrationOne agent in a terminalTerraform / Pulumi (IaC) plus 40+ other adapters in parallel worktrees
MCP supportNot measuredYes
Parallel-safe in worktreesNot measuredYes (designed around git worktrees)
HMAC-chained audit logNoYes (RFC 2104 SHA-256 chain in .sdd/)
Deterministic schedulerNot applicable (single-agent CLI)Yes (Deterministic Python scheduler)

Adapter source: src/bernstein/adapters/iac.py

Verifiable facts

The brief for this surface requires at least three facts that a reader can verify against a primary source. The list below is built from the bernstein adapter source and, when available, the upstream project's own pages.

  1. Bernstein ships a Terraform / Pulumi (IaC) adapter at src/bernstein/adapters/iac.py that wraps the upstream CLI as one of 42 routable agents. [source: bernstein adapter source, as of 2026-08-16]
  2. Bernstein is an open-source Multi-agent orchestrator licensed Apache-2.0, with a deterministic Python scheduler that routes work across CLI agents in parallel git worktrees. [source: bernstein repo, as of 2026-08-16]
  3. Bernstein records lineage and a replay journal on every run; with the audit log enabled it also writes an HMAC-SHA256 chained record under .sdd/ that lets a reviewer replay every routing and quality-gate decision. [source: bernstein repo, as of 2026-08-16]

Where Terraform / Pulumi (IaC) fits in Bernstein

Bernstein registers Terraform / Pulumi (IaC) under the slug "iac" and the registry name "iac". The adapter source lives at src/bernstein/adapters/iac.py in the bernstein repo and was last touched at build time 2026-08-16. The Terraform / Pulumi (IaC) adapter file is 208 lines and 7,297 bytes long, fingerprinted b21ee318f9e7e439 (first 16 hex chars of SHA-256). No upstream GitHub repository is recorded in the bernstein adapter for Terraform / Pulumi (IaC); refer to the upstream vendor's documentation when auditing. The bernstein adapter file for Terraform / Pulumi (IaC) does not yet carry a "Last verified against upstream" line; this means the adapter still tracks an unpinned upstream binary. Bernstein routes tasks to Terraform / Pulumi (IaC) when its pass rate on similar work clears the configured threshold, otherwise the deterministic Python scheduler picks a different adapter from the 40+ adapter catalog.

Adapter source excerpt

The module docstring of the Terraform / Pulumi (IaC) adapter, as it stands in the bernstein repo. Punctuation is normalised for the web; the wording is the author's. Length: 173 characters.

Infrastructure-as-Code (Terraform/Pulumi) adapter for Bernstein. Orchestrates IaC agents that run plan/preview before apply, enforcing a dry-run safety check on every spawn.

Adapter telemetry

Registry nameiac
Adapter classTerraform / Pulumi (IaC)
Source filesrc/bernstein/adapters/iac.py
Source file size208 lines, 7,297 bytes
Source SHA-256b21ee318f9e7e439d02fd240ebc4e3270d20b4ae938c67885db7c70eaf00a77a
Category bucketcli-family
Upstream repoNot derivable from adapter source
Upstream homepageNot recorded
Last verified upstreamNo "Last verified" line in adapter source
Operator-curated overlayNo (programmatic page)

When to pick which

Choose Terraform / Pulumi (IaC)

Reach for Terraform / Pulumi (IaC) when the work is a single thread that fits one agent: in a single-process terminal session, designed for single-instance use per repo. Auth model is configured per upstream docs. You skip the orchestrator round-trip and get the smallest possible surface between you and the model.

Choose Bernstein

Wrap Terraform / Pulumi (IaC) under Bernstein when the goal splits into parallel tasks, when you want an HMAC-chained audit log on every routing decision, or when a deterministic Python scheduler (no LLM picking who runs what) is a hard requirement.

FAQ

Does Bernstein replace Terraform / Pulumi (IaC)?

No. Bernstein wraps Terraform / Pulumi (IaC) as one of 40+ CLI adapters and routes tasks to it based on per-task pass-rate history. Terraform / Pulumi (IaC) keeps running unchanged; Bernstein decides when it gets work.

Can I run Terraform / Pulumi (IaC) alongside other agents in the same repo?

Yes. Each agent runs in its own git worktree under .sdd/worktrees/{session_id}, so file edits never collide. Bernstein merges results back to the trunk only after the configured quality gates (lint, types, tests) pass.

Is this comparison page handwritten?

No. The template is fixed; every fact and every link is pulled from the bernstein adapter source in the master branch and (when available) the upstream project's own pages. The data extractor lives at scripts/gen-compare-data.mjs. No LLM writes the prose.