Skip to main content

Ontolith

CI Python 3.11+ License

A Python framework/SDK for building collaborative knowledge bases where humans and AI agents are co-equal authors of a shared, governed ontology.

Features

  • Dual-principal model: Humans and AI agents as co-equal authors
  • Provenance & confidence: Every assertion tracked with source and confidence
  • Governed collaboration: Configurable proposal/review workflow
  • Bitemporal time-travel: Query knowledge as of any point in time
  • Conflict handling: Temporal supersession and explicit contradictions
  • Opt-in erasure: strict and append-only by default; a redaction mode lets a human admin erase a person's marked personal data, bytes included
  • Plugin extensibility: Importers, exporters, reasoners, validators

Quick Start

# Clone repository
git clone https://github.com/ontolith/ontolith.git
cd ontolith

# Install dependencies (requires Python 3.11+)
uv sync

# Run tests
uv run pytest

# Run quality checks
uv run ruff check
uv run mypy --strict src conformance/conftest.py

# Run the quickstart example
uv run python examples/quickstart.py

Development Status

✅ v1.2.1 - M0–M4 complete; 1.0.0 tagged 2026-09-28

Install with pip install ontolith (see Quick Start above). See docs/Ontolith_Implementation_Plan.md for the full milestone history and vNext plans.

Documentation

Full documentation site — a Getting Started guide, conceptual overview, tutorials (governance & review, bitemporal queries, writing a plugin, hybrid search), and the auto-generated API reference. Built from site_docs/ via mkdocs.yml; deployed by .github/workflows/docs.yml on every push to main.

Reference/planning documents:

Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

License

Apache-2.0 - See LICENSE for details.

Metadata

Release files for ontolith 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ontolith 1.2.1
File Size Uploaded Provenance Actions
ontolith-1.2.1.tar.gz 1.4 MB With provenance Details for ontolith-1.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ontolith 1.2.1
File Interpreter ABI Platform Actions
ontolith-1.2.1-py3-none-any.whl Python 3 none any Details for ontolith-1.2.1-py3-none-any.whl

Total release size: 1.7 MB

Release files / ontolith-1.2.1.tar.gz

Download URL ontolith-1.2.1.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
af3605b4a1d7b43ab69c6ab309b1f23c75c9d17da4367f67fff0c43c2dd73e49
BLAKE2b-256 checksum
How to use checksums
bf3deca33369b89e24070d8f107acdea2b3fae1ad916e2772af52c6af6475714
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Release files / ontolith-1.2.1-py3-none-any.whl

Download URL ontolith-1.2.1-py3-none-any.whl
Size 323.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be92d0bdc4d2bd982c0dee330ec7ecb9be757876fa8c449d9a885e6b92574ca2
BLAKE2b-256 checksum
How to use checksums
d8fe71aa6ec9ebb3ed0dd39d4b3784f258c005899eef8a473ac805d796c42ee6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Security for ontolith 1.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ontolith-1.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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