omnibase_core
omnibase_core is the ONEX (OmniNode eXecution) platform kernel. It owns node execution, contracts,
core models, validation tooling, and the canonical architecture vocabulary used
by downstream OmniNode repos.
Badge note: this tracks the PR-triggered
ci.ymlrun (event=pull_request), not the push-triggered run ondev. The push/schedule-triggered run is permanently red by design: its Contract Compliance Check job fails closed on every non-PR event because its DoD checks are PR-scoped and correctly refuse to vacuously pass outside PR context. That is an intentional, documented tradeoff, not a regression — see thecontract-compliancejob comment in.github/workflows/ci.ymlfor the rationale.
Who Uses It
Use this repo when you need to:
- Use ONEX core types, nodes, contracts, and validation tools.
- Build a contract-driven EFFECT, COMPUTE, REDUCER, or ORCHESTRATOR node.
- Extend Core internals such as validation, contracts, node execution, handlers, model conventions, or runtime-development scaffolding.
Downstream runtime implementations, infrastructure clients, workflow packages, dashboard projections, and thin wrapper tooling should link back here for Core architecture and validation truth rather than duplicating it.
What This Repo Owns
- ONEX node base classes and execution vocabulary.
- Contract models, handler contracts, subcontracts, and contract validation.
- Core event envelopes, error models, container patterns, and dependency injection conventions.
- Core documentation standards for ONEX architecture and node construction.
- Shared validation entrypoints such as
onex-validate-links,onex-validate-topics,check-local-paths, and string-version checks.
What This Repo Does Not Own
- Concrete infrastructure, Kafka/Postgres/Infisical clients, runtime host
deployment, or registration operations. Those belong in
omnibase_infra. - Protocol-only service interfaces for downstream implementation packages.
Those belong in
omnibase_spi. - Zero-upstream structural DTOs and compatibility shims. Those belong in
omnibase_compat. - Portable workflow package ownership. That belongs in
omnimarket.
Track 1: Use The Package
Install:
uv add omnibase_core
Install optional surfaces only when needed:
uv add "omnibase_core[spi]"
uv add "omnibase_core[kafka]"
uv add "omnibase_core[full]"
Common imports:
from omnibase_core.nodes import NodeCompute
from omnibase_core import ModelOnexError
Core is a Python 3.12+ package. Package metadata, optional dependency groups,
and CLI entrypoints are declared in pyproject.toml.
Track 2: Build A Node
Every ONEX node starts from one of the four core archetypes:
- EFFECT: external I/O
- COMPUTE: transformation and validation
- REDUCER: state aggregation
- ORCHESTRATOR: workflow coordination
Minimal COMPUTE node:
from omnibase_core.nodes import NodeCompute
class NodeMyFeature(NodeCompute):
pass
The preferred path is contract-driven: YAML declares inputs, outputs, capabilities, bindings, and lifecycle constraints; custom Python behavior is added only when the contract cannot express the behavior.
Start here, in the knowledge base:
Track 3: Extend Validation Or Runtime Internals
Core owns validators and development/runtime internals that other repos consume. Use these commands before changing validation, contracts, docs, or architecture surface:
uv sync --dev --frozen
uv run onex-validate-links --verbose
uv run pytest tests/ -q
Focused validation entrypoints:
uv run onex-validate-topics . --verbose
uv run check-local-paths docs src scripts
uv run validate-string-versions src
For ownership, downstream-consumer guidance, and cross-repo usage, see Validation Ownership.
Documentation
Full documentation → https://github.com/OmniNode-ai/knowledge-base
This repository ships code, contracts, and executable configuration. Its prose
documentation lives in the OmniNode knowledge base; nothing is duplicated here,
and the kb-doc-gate check (.kb-doc-gate.yaml, mode: strict) fails any pull
request that reintroduces markdown outside the allowed set.
High-signal entrypoints:
- Architecture Overview
- ONEX Four-Node Architecture
- Contract System
- Handler Contract Guide
- Validation Framework
- Validation Ownership
- Decision records
- Contributing
- Security
License
Release files for omnibase_core 0.47.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| omnibase_core-0.47.12.tar.gz | 9.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| omnibase_core-0.47.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.4 MB
Release files / omnibase_core-0.47.12.tar.gz
| Download URL | omnibase_core-0.47.12.tar.gz |
|---|---|
| Size | 9.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b17ec896a0dff43e85c06fbee714a14338a3087f6a140c62e432cef182bd952
|
|
BLAKE2b-256 checksum How to use checksums |
047141250140db5e8558f2ebc91007dfcad80d3047da1923b000fb1c9a36ee0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / omnibase_core-0.47.12-py3-none-any.whl
| Download URL | omnibase_core-0.47.12-py3-none-any.whl |
|---|---|
| Size | 6.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ebadb7bafa63b5b7494968eca84fe4ff22de3272eb15673aa0378ddd944f145e
|
|
BLAKE2b-256 checksum How to use checksums |
f9344a0b3b7a67f1e0b7cd45398bd6a6ca35fd1d42b8a407ca5a05603913a6b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|