Immutable, reproducible, versioned Opentrons Knowledge Corpus artifacts for specific Opentrons software releases.
The primary product is the corpus artifact, not a search service or lookup SDK. Downstream tools read the files and define their own retrieval.
Distribution channels:
opentrons-knowledge-9.1.1-k1.tar.zst
ghcr.io/opentrons/opentrons-knowledge:9.1.1-k1
just sync
just ci # lint, typecheck, test, fixture corpus
just fixture-corpus
uv run opentrons-knowledge pack --corpus dist/opentrons-knowledge-0.0.0-k1Requires a local clone of Opentrons/opentrons with the tags pinned in the chosen source manifest.
# 9.0.0-k1: v9.0.0 + mkdocs-2026-06-02 + ai-server@0.0.20
uv run opentrons-knowledge build \
--manifest corpora/9.0.0-k1/source-manifest.yaml \
--opentrons-repo ../opentrons \
--output dist
# 9.1.1-k1: v9.1.1 + mkdocs-2026-07-16 + ai-server@0.0.20
uv run opentrons-knowledge build \
--manifest corpora/9.1.1-k1/source-manifest.yaml \
--opentrons-repo ../opentrons \
--output dist
# 9.1.2-k1: v9.1.2 + mkdocs-2026-08-12 + ai-server@0.0.20
uv run opentrons-knowledge build \
--manifest corpora/9.1.2-k1/source-manifest.yaml \
--opentrons-repo ../opentrons \
--output dist
# 9.1.2-k3: same pins as k2; artifact drops shipped indexes/embeddings (see RELEASE-NOTES)
uv run opentrons-knowledge build \
--manifest corpora/9.1.2-k3/source-manifest.yaml \
--opentrons-repo ../opentrons \
--output dist
uv run opentrons-knowledge validate --corpus dist/opentrons-knowledge-9.1.2-k3
uv run opentrons-knowledge pack --corpus dist/opentrons-knowledge-9.1.2-k3
# 9.1.2-k2 (superseded by k3 for new consumers)
# uv run opentrons-knowledge build --manifest corpora/9.1.2-k2/source-manifest.yaml ...That writes dist/opentrons-knowledge-<version>.tar.zst.
OCI publish (requires oras on PATH and
registry auth):
uv run opentrons-knowledge publish \
--corpus dist/opentrons-knowledge-9.1.1-k1 \
--registry ghcr.io/opentrons/opentrons-knowledgeFrom a GitHub Release .tar.zst:
uv run opentrons-knowledge unpack dist/opentrons-knowledge-9.1.1-k1.tar.zst --output dist
uv run opentrons-knowledge inspect --corpus dist/opentrons-knowledge-9.1.1-k1From GHCR (requires oras):
uv run opentrons-knowledge pull 9.1.1-k1 --output distSee AGENTS.md and docs/agent-usage.md for how
agents should treat the files (corpus/*.jsonl.zst, manifest.yaml). Indexing
and search are consumer responsibilities, not part of the published artifact.
Agents start here: AGENTS.md · docs/agent-usage.md · llms.txt
These guides are packaged into every corpus directory and thus into both distribution formats.
opentrons-knowledge build --manifest corpora/9.1.1-k1/source-manifest.yaml
opentrons-knowledge validate --corpus dist/opentrons-knowledge-9.1.1-k1
opentrons-knowledge inspect --corpus dist/opentrons-knowledge-9.1.1-k1
opentrons-knowledge pack --corpus dist/opentrons-knowledge-9.1.1-k1
opentrons-knowledge unpack dist/opentrons-knowledge-9.1.1-k1.tar.zst
opentrons-knowledge publish --corpus dist/opentrons-knowledge-9.1.1-k1
opentrons-knowledge pull 9.1.1-k1
opentrons-knowledge verify --corpus dist/opentrons-knowledge-9.1.1-k1
opentrons-knowledge sources --corpus dist/opentrons-knowledge-9.1.1-k1
opentrons-knowledge diff 9.1.1-k1 9.1.1-k2 --jsonUse just (brew install just):
just sync
just ci
just zizmor
just zizmor-onlineGitHub Actions are SHA-pinned; CI runs zizmor on
.github/** changes. Releases publish both the .tar.zst GitHub Release asset
and the OCI artifact on GHCR.
Copyright 2026 Opentrons Labworks, Inc.
Licensed under the Apache License, Version 2.0. See LICENSE and NOTICE.