Skip to main content

omnibase_infra

Production infrastructure runtime for ONEX (OmniNode eXecution).

CI Python 3.12+ License: MIT

omnibase_infra owns the infrastructure implementation layer for ONEX: runtime hosting, Kafka event transport, contract-driven handler loading, registration workflows, Infisical-backed configuration, operational runbooks, and infrastructure nodes that perform external I/O.

It depends on omnibase_core for shared models and validation primitives, and on omnibase_spi for protocol boundaries. Core must not import this package.

What This Repo Owns

Area Current source
Runtime host process and service kernel src/omnibase_infra/runtime/
Kafka event bus and DLQ support src/omnibase_infra/event_bus/, event bus guide
Contract-driven handler discovery src/omnibase_infra/runtime/handler_plugin_loader.py, handler architecture
Registration orchestration and storage effects src/omnibase_infra/nodes/node_registration_*, registration workflow
Infrastructure handlers for DB, HTTP, Consul, Infisical, Kafka, LLM, graph, vector, and filesystem integrations src/omnibase_infra/handlers/, handler guide
Infisical config discovery and prefetch src/omnibase_infra/runtime/config_discovery/, config discovery
Operational scripts and CLIs scripts/, operations index

Start Here

Need Document
Understand the repo boundary Documentation index
Run locally Quick start
Understand the architecture Architecture overview
Work on nodes Current node architecture
Work on contracts Contract reference
Operate Kafka/DLQ/runtime services Operations index
Validate changes Validation framework

Install

Library or CLI use:

uv add omnibase-infra

Repository development:

git clone https://github.com/OmniNode-ai/omnibase_infra.git
cd omnibase_infra
uv sync

The packaged distribution includes the Python package and console scripts. The repo-local scripts/ directory is for development, operational bootstrap, and CI support, and requires a clone.

Common Commands

Local infrastructure lifecycle

The repo ships a top-level Makefile with user-facing infra entrypoints. All Docker/Compose/Keycloak orchestration lives here, never in the public omnibase shell.

# Start core infra bundle (postgres, redpanda, valkey, infisical)
make up

# Add Keycloak (auth bundle) on top of core
make up-auth

# Reconcile Keycloak clients from desired-clients.json
make seed-keycloak

# Seed Infisical from ONEX contracts (writes with --execute)
make seed-infisical

# Show running containers
make status

# Stop the core bundle ONLY (auth/runtime stay running)
make down

# Stop the auth bundle (keycloak)
make down-auth

# Stop everything (runtime + auth + core, in safe teardown order)
make down-all

# List all targets
make help

make targets detect a missing/stopped Docker daemon and emit an actionable error before doing anything destructive. They also detect a missing ~/.omnibase/.env and point at remediation rather than failing with a stack trace. See docs/getting-started/full-platform.md for the full first-time bootstrap sequence.

Development and testing

# Run unit tests
uv run pytest tests/unit

# Run the infra validation suite
uv run python scripts/validate.py all --verbose

# Run markdown link validation
uv run python scripts/validation/validate_markdown_links.py

# Start the runtime CLI entrypoint
uv run onex-runtime

# Inspect operational status
uv run onex-status

Some operational flows require Docker, Kafka/Redpanda, PostgreSQL, Valkey, and Infisical. See full platform setup and Infisical secrets guide.

Runtime Shape

ONEX infra uses four node archetypes:

Archetype Role
ORCHESTRATOR Coordinates workflows and publishes events
REDUCER Owns pure FSM state transitions and emits intents
COMPUTE Performs deterministic transformations with no side effects
EFFECT Performs external I/O through infrastructure handlers

Node behavior is declared in contract.yaml. Node classes are intentionally thin; runtime behavior comes from contracts, handlers, registries, and the runtime host.

Documentation Policy

Current runtime, architecture, operations, and reference guidance belongs in this repository. Historical plans, one-off verification reports, and design investigations are not primary docs and are preserved outside this public docs tree when they still need retention.

Definition-of-done evidence for documentation refresh work is tracked in the change-control evidence system, not in this repository.

License

MIT

Download files

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

Source Distribution

omnibase_infra-0.38.9.tar.gz (12.0 MB view details)

Uploaded Source

Built Distribution

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

omnibase_infra-0.38.9-py3-none-any.whl (5.9 MB view details)

Uploaded Python 3

File details

Details for the file omnibase_infra-0.38.9.tar.gz.

File metadata

  • Download URL: omnibase_infra-0.38.9.tar.gz
  • Upload date:
  • Size: 12.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for omnibase_infra-0.38.9.tar.gz
Algorithm Hash digest
SHA256 2d8f0a16f9ecb854fd62e285bbae0b0ca2699ecf1e6d86f5320f95e0b35270b2
MD5 31303f6f6429f3ebbf7ff150fb47a202
BLAKE2b-256 be3ea82e87415dae4fa92e26f505fc03031c39907aae5ec7a1ea7dbb9c8de5d2

See more details on using hashes here.

File details

Details for the file omnibase_infra-0.38.9-py3-none-any.whl.

File metadata

  • Download URL: omnibase_infra-0.38.9-py3-none-any.whl
  • Upload date:
  • Size: 5.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for omnibase_infra-0.38.9-py3-none-any.whl
Algorithm Hash digest
SHA256 452052e06a2b18411be8f6ebca403441e8c6d164b61ce202e365231984e91d25
MD5 63fff32ae5a722cebe9719470cf63b7b
BLAKE2b-256 906f70aeadbd161e123a99ae3d56c8a71edbf9d62682b10f7671a94e55ee3876

See more details on using hashes here.

Release history Release notifications | RSS feed

0.38.16

2 files

0.38.15

2 files

0.38.14

2 files

0.38.11

2 files

0.38.10

2 files

This release

0.38.9 This release

2 files

0.38.8

2 files

0.38.7

2 files

0.38.6

2 files

0.36.1

2 files

0.36.0

2 files

0.34.2

2 files

0.34.1

2 files

0.32.0

2 files

0.30.1

2 files

0.30.0

2 files

0.29.0

2 files

0.28.0

2 files

0.27.1

2 files

0.27.0

2 files

0.26.0

2 files

0.25.0

2 files

0.24.2

2 files

0.24.1

2 files

0.24.0

2 files

0.23.1

2 files

0.23.0

2 files

0.22.0

2 files

0.21.1

2 files

0.21.0

2 files

0.20.1

2 files

0.20.0

2 files

0.19.0

2 files

0.18.0

2 files

0.17.0

2 files

0.16.2

2 files

0.16.1

2 files

0.16.0

2 files

0.15.0

2 files

0.14.0

2 files

0.13.0

2 files

0.12.0

2 files

0.11.0

2 files

0.10.0

2 files

0.9.0

2 files

0.8.1

2 files

0.8.0

2 files

0.7.0

2 files

0.6.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

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