Skip to main content

ONEX Infrastructure - Service integration and database infrastructure tools

Project description

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

# 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

Project details


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.34.2.tar.gz (7.8 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.34.2-py3-none-any.whl (4.8 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: omnibase_infra-0.34.2.tar.gz
  • Upload date:
  • Size: 7.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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.34.2.tar.gz
Algorithm Hash digest
SHA256 d4c61dcaf8164bbe5f6d37a48cc6b61d1911036a6bfd4715e393f362dcbe6233
MD5 9b78f10530af841194ee22ef36f86cdc
BLAKE2b-256 45405ae096dfafc24afb57091c6203efa47b28a0e4d5bf029a1bf2a3991e5bd6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: omnibase_infra-0.34.2-py3-none-any.whl
  • Upload date:
  • Size: 4.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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.34.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a0b1b44b07fecffded24ac971b408d4f738c4b20595aa2794a498e3c1a3d011d
MD5 bf1f6adf702612efcce1458d15e25b64
BLAKE2b-256 9b0eb18b8dcce566c5659ef9f4766f81a59335f21bc40bc877fba5896fb99ede

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page