Infrastructure as Code, Reimagined
A standalone IaC engine that parses your .tf files natively and talks directly to Terraform providers via gRPC. No terraform binary. No baggage.
Apache-2.0 · Written in Rust · Built by ops0.com
──WATCH IT RUN
13 resources across VPC, S3, EC2 — independent branches execute in parallel, dependents fire the instant their deps complete.
──FEATURES
Better Building Blocks=Better Infrastructure
Built from the ground up in Rust for speed, correctness, and a developer experience that stays out of your way.
Native HCL Parsing
Reads your existing .tf files directly with hcl-rs. No wrapper, no transpilation. Your Terraform configs work out of the box.
Event-Driven Parallelism
Resources start the instant their dependencies complete. No wave-based batching -- every millisecond counts.
Direct gRPC to Providers
Communicates directly with AWS, GCP, Azure, and every Terraform provider via the tfplugin5/6 protocol.
SQL-Queryable State
State lives in SQLite (or PostgreSQL for teams). Query your infrastructure with full SQL instead of parsing JSON.
Drift Detection
Run oxid drift to instantly detect configuration drift across your entire infrastructure. Know before it breaks.
Import Existing State
Migrate from Terraform seamlessly. Import your .tfstate files and keep going without missing a beat.
──PERFORMANCE
Wave-Based vs Event-Driven Execution
Both tools walk the dependency graph in parallel. Terraform batches resources into synchronized waves — the next wave waits for the entire previous wave to finish. Oxid fires each resource the instant its specific dependencies are satisfied. No idle gaps.
Terraform
Oxid
Honest take: For small configs, both tools spend 90% of the time waiting on cloud APIs — timings are nearly identical. The gap widens on deeper dependency chains, larger infra, and higher parallelism settings.
──STATE INSPECTION
Query Your State Like a Database
Terraform dumps everything. Oxid stores state in SQLite/PostgreSQL — query exactly what you need with SQL.
Why SQL? Oxid stores every resource in a real database (SQLite locally, PostgreSQL for teams). Filter by type, status, module — join across resources. No more piping terraform show through grep and jq.
──COMPARE
How Oxid Stacks Up
Architectural differences that make Oxid faster and more transparent.
| Feature | Terraform / OpenTofu | Oxid |
|---|---|---|
| Execution Model | Wave-based (batch) | Event-driven per-resource |
| Parallelism | Resources in same wave wait for slowest | Dependents start instantly when deps complete |
| State Backend | JSON file or remote backend | SQLite (local) / PostgreSQL (teams) |
| Config Language | HCL only | HCL + YAML |
| Provider Protocol | Wraps binary / shared lib | Direct gRPC (tfplugin5/6) |
| Queryable State | terraform show | Full SQL queries |
| License | BSL / MPL | Apache-2.0 |
──PIPELINE
How it Works
From HCL parsing to state persistence, every step is designed for speed and transparency.
Parse
Reads .tf files using hcl-rs, extracting resources, data sources, variables, outputs, and providers.
Build DAG
Constructs a dependency graph from explicit depends_on and implicit expression references.
Start Providers
Downloads provider binaries from registry.terraform.io, starts them as subprocesses, connects via gRPC.
Plan
Calls PlanResourceChange on each provider to compute diffs, showing you exactly what will change.
Apply
Event-driven DAG walker executes resources as dependencies are satisfied, calling ApplyResourceChange via gRPC.
Store State
Persists resource attributes to SQLite database, queryable with full SQL at any time.
──ARCHITECTURE
A Clean Pipeline from Config to Cloud
──QUICK START
Up and Running in Seconds
Works on Linux and macOS. No dependencies required.
curl -fsSL https://raw.githubusercontent.com/ops0-ai/oxid/main/install.sh | bash
oxid init
oxid plan
oxid apply
More Commands
oxid destroy─Tear down infrastructureoxid state list─List all managed resourcesoxid drift─Detect configuration driftoxid query "SELECT * FROM resources"─SQL-query your stateoxid graph | dot -Tpng -o g.png─Visualize the dependency DAG──OPEN SOURCE
Ready to Drop the Baggage?
Oxid is free and open source. Start managing your infrastructure with a faster, more transparent engine.