Packages

18 packages. One platform.

The full set, by capability cluster — the same packages the compliance dashboard tracks. Each card links to GitHub, the surface page that explains it, and the docs entry.

Core

kaos-core

10 tools

The MCP-native runtime every other KAOS package builds on — types, tools, VFS, artifacts, and settings.

Terminal window
pip install kaos-core

kaos-content

17 tools

The canonical document AST every extractor produces and every consumer reads — 34 Block/Inline node classes, all carrying provenance.

Terminal window
pip install kaos-content

Primitives

kaos-nlp-core

17 tools

Rust-powered NLP primitives — BM25, Punkt segmentation, string distances, Aho-Corasick, MinHash/LSH.

Terminal window
pip install kaos-nlp-core

kaos-graph

17 tools

Rust-powered graph engine — 42 algorithms, first-class RDF/SPARQL, knowledge graphs.

Terminal window
pip install kaos-graph

Extraction

kaos-pdf

7 tools

PDF extraction with provenance — every paragraph, table, and OCR line carries its page and bounding box.

Terminal window
pip install kaos-pdf

kaos-web

45 tools

Web extraction, browser automation, search, and domain intelligence — for agents.

Terminal window
pip install kaos-web

kaos-office

18 tools

DOCX, PPTX, XLSX — read, write, and redline, into and out of the same document AST.

Terminal window
pip install kaos-office

kaos-tabular

17 tools

DuckDB-powered SQL over CSV, Parquet, JSON, XLSX, and SQLite — agent-ready analytics on legal data.

Terminal window
pip install kaos-tabular

Data

kaos-source

30 tools

Government, financial, and forensic data sources — Federal Register, eCFR, EDGAR, GovInfo, GLEIF, PACER.

Terminal window
pip install kaos-source

Bridge

kaos-mcp

FastMCP bridge for the platform — expose any KAOS runtime over MCP. Ships the unified `kaos` CLI.

Terminal window
pip install kaos-mcp

LLM

kaos-llm-client

7 tools

One LLM client, many providers — async-first, streaming, retries, structured output, per-call cost estimates.

Terminal window
pip install kaos-llm-client

kaos-llm-core

32 tools

Typed, composable, optimizable LLM programs — signatures, programs, codecs, optimizers. A DSPy descendant.

Terminal window
pip install kaos-llm-core

ML

kaos-ml-core

11 tools

Classical ML on the document AST — corpus, clustering, labeling, logistic regression, calibrated thresholds.

Terminal window
pip install kaos-ml-core

kaos-nlp-transformers

Dense embeddings, reranking, NLI, NER, and PII detection — Rust ONNX backend, no runtime PyTorch.

Terminal window
pip install kaos-nlp-transformers

Legal

kaos-citations

3 tools

Extract, resolve, and verify legal, financial, and accounting citations — ~60 kinds, deterministic, AST-grounded.

Terminal window
pip install kaos-citations

Agentic

kaos-agents

14 tools

Agent runtime, session memory, patterns, and recipes for legal work — with cost accounting and grounded findings.

Terminal window
pip install kaos-agents

Tooling

kaos-ui

4 tools

Scaffold KAOS apps and build agent chat UIs — six Python project templates plus a React 19 component library.

Terminal window
pip install kaos-ui

kaos-names

Friendly, legal-flavored handles for sessions, agents, and traces — zero dependencies, deterministic when seeded.

Terminal window
pip install kaos-names