Why Khaos
Khaos is the transliteration of the Greek χάος. It comes from the verb khaínein, “to gape” or “to yawn”, and its oldest meaning is a gap, a chasm, an open void. In Hesiod’s Theogony (around 700 BC) Khaos is the first thing that exists, the yawning emptiness before earth, sky and the gods, and everything with a shape comes after it. Only later, through Latin chaos and Ovid’s formless tangle of matter, did the word come to mean disorder. The name fits the problem. Data from the real world arrives as a gap between what you have and what you can use: SEC filings are free text and XML, sensor streams are raw numbers, CAD files are point clouds, spreadsheets have no declared types, and every field has its own formats, tools and conventions. Khaos is the step that gives that material a shape. It does this in four ways:- One interface. Every domain works the same way: load an artifact, call it on raw input, read a typed result. You don’t learn eight toolchains.
- Structure out of raw input. Filing text becomes labelled entities, columns get semantic types, point clouds and molecules become comparable vectors, sensor windows get anomaly scores, and PDE setups become solution fields.
- A fixed contract. Each artifact is a manifest plus an ONNX file with named, shape-documented
inputs and outputs, versioned as
v1, so results are reproducible and the runtime stays small. - Local and honest. Models run on your machine, and every model card states its measured accuracy next to a baseline, so you can see which ones to trust.
Khaos is on version v1. The first release of every artifact is named
v1;
there are no v0.x versions. The runtime, architectures and serving are in place,
and artifacts are being trained and published domain by domain.Concepts
Artifact
Artifact
A pre-trained model for one task, identified by a name such as
sec_10k_core. Weights live on the Hugging Face Hub, not in this repository.Vertical
Vertical
A domain (finance, physics, robotics, …) with its own subpackage under
khaos/, its own result containers and its own optional install extra.Pipeline
Pipeline
A callable that wraps preprocessing, inference and postprocessing for an artifact.
Subclass of
khaos.pipeline.BasePipeline.Container
Container
A result object defined by a vertical, such as
finance.Doc or
physics.FieldResult. Containers are independent; there is no common parent.Registry
Registry
Maps artifact names to pipeline classes.
khaos.load() resolves a name, imports
only the needed vertical, and returns the pipeline.Where to go next
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.Installation
Get Khaos and its optional extras.
Artifacts
The domains and artifacts we are building.
Command line
The
khaos command.API reference
load, pipelines and per-domain result containers.Architecture
How the repo and runtime fit together.
Contributing
Dev setup, tests and commit conventions.