Skip to main content

Governance-grade knowledge-base format (OKF-compatible) plus CLI and single-writer MCP server

Project description

data-olympus

knaisoma/data-olympus MCP server

New here? Start with WHY.md. It is the story behind the project: the problem we kept hitting with coding agents, what data-olympus does differently, how it relates to Google's Open Knowledge Format, and where our benchmarks say it is strong and where it is not. The rest of this README is the technical reference.

data-olympus is a governance-grade knowledge-base format and server for agent workforces. It is readable by Open Knowledge Format (OKF) consumers: it inherits OKF's directory structure, frontmatter conventions, reserved filenames, and link model, then layers governance extensions on top (stable id, controlled type/status/tier fields, supersedes chains) plus a single-writer MCP server and a CLI. CI proves two concrete directions against official Google OKF commit d44368c15e38e7c92481c5992e4f9b5b421a801d: its reference visualization consumer reads every concept in example-bundle, and data-olympus imports, lints, indexes, searches, and retrieves the pinned official Bitcoin sample. This is fixture-scoped interoperability evidence, not a blanket guarantee for every OKF bundle or future upstream revision. The result is a git-native, version-controlled document graph of engineering standards, architectural decisions, and project knowledge that agents and humans can read, search, and extend without any proprietary service.

It governs decisions, not code. When an agent is about to make a choice (a library, a pattern, a migration), data-olympus surfaces the established standard or decision that should govern that choice. It is deliberately not a code-search, reference-finding, or "where is X used" tool: LSP, grep, and Sourcegraph already do that well. The retrieval task it targets is coding-intent to governing-rule, and it helps where current model interaction during vibe-coding is weakest: keeping the model aligned to patterns the team has already established as correct.

Status: pre-1.0 beta. Stable releases are distributed through PyPI and GHCR.

Why

  • Portable, no lock-in. The entire KB is a directory of markdown files in git. No database, no proprietary schema, no vendor.
  • Git-native diffs and review. Every change is a commit. Proposed edits go through a pending queue before commit; history is plain git log.
  • Agent and human readable. Plain markdown with YAML frontmatter. No SDK required to read or author a document.
  • Governed multi-agent writes. The single-writer MCP pipeline (advisory locks, per-session worktrees, durable push queue) prevents concurrent write races without requiring distributed locking infrastructure.
  • Queryable by status, tier, and type. Filter by status: accepted, tier: T1, or type: decision without post-processing. The supersedes chain makes it possible to trace decision history across the graph.
  • Tested with official OKF tooling. CI pins an exact Google OKF revision and proves both consumption directions over committed fixtures. The pin, fixture checksum, and Apache 2.0 license provenance live in tests/okf/reference.json.

Quickstart

Requires Python 3.13+ and uv. Run the stable CLI directly from PyPI:

uvx --from data-olympus data-olympus --help

Install it persistently when you are ready to create a bundle and run the server:

uv tool install data-olympus
data-olympus init my-kb
data-olympus-mcp --help

An announced candidate remains opt in through its exact PyPI version:

uvx --from 'data-olympus==0.6.0rc3' data-olympus --help

See docs/quickstart.md for bundle initialization, server startup, readiness, agent registration, and the contributor source installation.

See docs/adoption.md for the full bundle authoring guide.

Documentation

  • SPEC.md: format specification (bundle layout, frontmatter schema, serving contracts).
  • docs/quickstart.md: verified local-run procedure.
  • docs/adoption.md: bring-your-own-KB guide (author, lint, index, serve, wire an agent).
  • docs/serving.md: single-replica serving model, read-only replicas, git pull loop, health/readiness/liveness split, proxy headers, audit-log rotation.
  • docs/operations.md: production runbook — backup, upgrade, recovery playbooks (degraded/fetch-failed, history rewrite, frozen/demoted push entries, orphaned locks), and the health/alerting model.
  • docs/comparison.md: how data-olympus relates to OKF, enterprise catalogs, markdown KB tools, agent-context conventions, RAG, and ADR tooling.
  • docs/okf-profile.md: field-by-field OKF profile — which governance extensions are stable, which are runtime-only serving fields, and which are experimental candidates.
  • docs/glama.md: Glama registry claim, release, and score-maintenance notes.
  • docs/enforcement.md: turning the KB into a mandatory consultation gate (hooks, kb enforce).
  • benchmarks/README.md: retrieval benchmark methodology and how to reproduce the numbers in docs/comparison.md.
  • SECURITY.md: supported versions and how to report a vulnerability.

License

Apache 2.0. See LICENSE and NOTICE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

data_olympus-0.6.0rc3.tar.gz (371.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

data_olympus-0.6.0rc3-py3-none-any.whl (348.5 kB view details)

Uploaded Python 3

File details

Details for the file data_olympus-0.6.0rc3.tar.gz.

File metadata

  • Download URL: data_olympus-0.6.0rc3.tar.gz
  • Upload date:
  • Size: 371.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for data_olympus-0.6.0rc3.tar.gz
Algorithm Hash digest
SHA256 b3d3668daebab85b32df20f8b92de3659337308cfffc7e8b822d9337d0664c3d
MD5 a90f0f173152def8818d941b7a6cad78
BLAKE2b-256 92ff42fc77a3c939fbf11eca088323580339129fc8b30fc1447bdea51d8a691a

See more details on using hashes here.

Provenance

The following attestation bundles were made for data_olympus-0.6.0rc3.tar.gz:

Publisher: rc-publish.yml on knaisoma/data-olympus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file data_olympus-0.6.0rc3-py3-none-any.whl.

File metadata

  • Download URL: data_olympus-0.6.0rc3-py3-none-any.whl
  • Upload date:
  • Size: 348.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for data_olympus-0.6.0rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 69202bf0257f6d8f00fc0e33e3d71a6d2487f8c1324142863e918f14b2d3c89e
MD5 0d989f7538297bc2719567a0dea500d2
BLAKE2b-256 f3ed6b3549655c1dca4bab75d894ad9cab425d757974af147c8ad9ae3a0cae59

See more details on using hashes here.

Provenance

The following attestation bundles were made for data_olympus-0.6.0rc3-py3-none-any.whl:

Publisher: rc-publish.yml on knaisoma/data-olympus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page