Skip to main content

Iron Frame

Infrastructure reliability layer for LLM-powered systems.

Reliable. Trustworthy. Accurate. Diligent.

License: Apache 2.0 Python Status

Iron Frame sits between raw LLMs and domain applications -- trading, healthcare, compliance, research -- and handles every fundamental limitation of LLMs: hallucinations, reasoning errors, context drift, bias accumulation, and incomplete process execution.

It is infrastructure, not a domain system. Your application sits on top of Iron Frame and trusts the foundation beneath it.


Why Iron Frame

Most "AI reliability" products try to fix hallucination with more AI. Iron Frame takes a different approach: deterministic enforcement outside the LLM context window. A model cannot rationalize around hooks it never sees.

  • Hooks execute outside the LLM. Deterministic gates at the platform level, not in the prompt.
  • Self-auditing from day 1. Confidence scoring, self-consistency, and cross-model verification on every output.
  • Compliance-ready audit from day 1. HIPAA, FINRA, SOC2, SEC, GDPR fields captured by the audit schema natively -- not bolted on.
  • Spend caps are mandatory. Per-request, per-session, and per-day budget ceilings prevent runaway cost.
  • Immutable audit trail. Write-before-release. If logging fails, the operation does not complete.
  • Model-agnostic. Swappable providers with capability-based routing (fast / smart / cheap / verification / long-context).

Install

pip install ironframe

Optional extras:

pip install "ironframe[openai]"   # OpenAI / Perplexity adapter
pip install "ironframe[z3]"       # Symbolic verification (Tier 4)
pip install "ironframe[all]"      # Everything

Quickstart

from ironframe import IronFrameConfig
from ironframe.mal.client_v1_0 import IronFrameClient

config = IronFrameConfig.from_env()
client = IronFrameClient(config)

response = client.complete(
    prompt="Summarize the key risks in this contract.",
    capability="smart",
)

print(response.content)
print(f"Confidence: {response.confidence}")
print(f"Cost: ${response.cost:.4f}")

Every call is audited, budget-checked, and confidence-scored. See examples/ for more.


Architecture

Iron Frame has 18 components organized around four pillars:

Pillar Components
Model Access Model Abstraction Layer (MAL), Budget Manager, Error Recovery
Verification Self-Audit Engine (SAE), Logic Skills, Eval & Regression, KB Grounding
Enforcement Hook Engine, State Machine, Tool Governance, Security, Agent Trust, I/O Schema
Observability Immutable Audit Log, Compliance Adapters, Conformance & Drift Engine, Context Budget

See SPEC.md for the canonical specification and docs/architecture.md for a walkthrough.


Compliance Adapters

Iron Frame ships adapters for HIPAA, FINRA, SOC2, SEC, and GDPR compliance requirements. The base classes are Apache 2.0 -- you can write your own adapters for any protocol.

The pre-built regulatory adapters in src/ironframe/compliance/adapters/ are source-available under PolyForm Noncommercial. They are free for research, education, nonprofits, and personal projects. Commercial use in a for-profit production system requires a commercial license.

See src/ironframe/compliance/adapters/LICENSE_COMMERCIAL and docs/compliance-adapters.md.


Licensing (TL;DR)

  • Core framework: Apache License 2.0 -- use it freely, including commercially. Includes an explicit patent grant.
  • Compliance adapters (compliance/adapters/): PolyForm Noncommercial. Free for noncommercial use. Commercial license available.
  • Base classes (compliance/base_v1_0.py, compliance/audit_requirements_v1_0.py): Apache 2.0. Write your own adapters.

See LICENSE, NOTICE, and the open-core ADR.


Status

Iron Frame is in beta. The API surface is stable (every module is explicitly versioned with a _v1_0 suffix), but expect refinement before v1.0.

  • 18 components implemented
  • 5 compliance adapters
  • Requirements Traceability Matrix with 22 tracked requirements
  • Unit + integration test coverage

Contributing

See CONTRIBUTING.md.


Documentation

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ironframe-0.1.0.tar.gz (218.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ironframe-0.1.0-py3-none-any.whl (274.0 kB view details)

Uploaded Python 3

File details

Details for the file ironframe-0.1.0.tar.gz.

File metadata

  • Download URL: ironframe-0.1.0.tar.gz
  • Upload date:
  • Size: 218.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ironframe-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ad2df760a921642cbfb6cd1adbadc59bffcf4414e3bbda5c44fe1f6045f0a11f
MD5 4b7376ca49387a524d6601f818c79f58
BLAKE2b-256 d3f14bb16b0763f2f06437607fa1c2dd3a5e2362544447d31313a68b731209d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for ironframe-0.1.0.tar.gz:

Publisher: release.yml on briancarter456546/ironframe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ironframe-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ironframe-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 274.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ironframe-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0199ffdddb536b7c74bd5f6ff3021638fd1b71164831d53b4c0a079b52ca636c
MD5 7009606f6b5e9c3d8a14c2bc8509d0c2
BLAKE2b-256 29cfe9a4693dea0315c9b851b85f2165fc449091ac078656707dc5ad9b012462

See more details on using hashes here.

Provenance

The following attestation bundles were made for ironframe-0.1.0-py3-none-any.whl:

Publisher: release.yml on briancarter456546/ironframe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.2

2 files

0.1.1

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page