Ontolith
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
redactionmode 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.0 - 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:
- Product Requirements
- Technical Specification
- Use Cases & Interfaces
- Implementation Plan
- Architecture Decision Records
- Known Issues
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.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ontolith-1.2.0.tar.gz | 1.4 MB | With provenance | Details for ontolith-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ontolith-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for ontolith-1.2.0-py3-none-any.whl |
Total release size: 1.7 MB
Release files / ontolith-1.2.0.tar.gz
| Download URL | ontolith-1.2.0.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0bf630f8d1158db0c6b7839573658a43abbaf588e4c1aae5b0410a41c3ed38c3
|
|
BLAKE2b-256 checksum How to use checksums |
24fc87b2252fa8e2b5d583be437ca64c7fd27c6e1269e9714fb158d1b2110d69
|
| 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 8, 2026.
Transparency logRelease files / ontolith-1.2.0-py3-none-any.whl
| Download URL | ontolith-1.2.0-py3-none-any.whl |
|---|---|
| Size | 323.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df9bb4c42aa4951670b57caaa939907037366d98f7f38e10ee05a719afa41cef
|
|
BLAKE2b-256 checksum How to use checksums |
ca531f68a5447409ec117fbee0e822f4e1b098b3d87bb783bad6a86cb8fdb5fd
|
| 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 8, 2026.
Transparency logSecurity for ontolith 1.2.0
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.
Attestation for ontolith-1.2.0.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 8, 2026.
Transparency logA 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.