Skip to main content

open-knowledge-studio (oks)

File-based knowledge engineering CLI for Claude Code and coding agents.

oks is the command-line core of Open Knowledge Studio: a file-based knowledge base that turns raw material into a recallable, self-decaying wiki.

Install

pipx install "git+https://github.com/open-agent-power/open-knowledge-studio.git@main#subdirectory=cli" && pipx ensurepath

We recommend pipx because modern Linux (Ubuntu 24.04+) and macOS Homebrew Pythons are PEP 668 externally-managed, so a bare pip install fails. If your mirror lags behind PyPI, add --pip-args="-i https://pypi.org/simple".

Optional multimodal ingest is included in the package, while its heavy dependencies (PDF / audio / video / formula extraction) remain opt-in:

oks capability install watch
oks capability install document
oks capability install pdf

Add --yes to install a listed capability after reviewing its dependencies.

What you get

  • 6+1-factor recall engine — token overlap, substring, topic trace, type boost, review penalty, memory curve, plus an optional goal boost that lifts on-scope pages.
  • Dreaming cycle — distill raw materials into draft proposals; humans review and promote them to the wiki.
  • Decay system — memory-curve scoring with type-specific λ and hot/warm/cold/evictable tiers.
  • oks CLI — search, recall, offline evaluation, execution traces, wiki CRUD, drafts, distill, lint, status, metrics.

The CLI core is dependency-light and calls no external network APIs; agents and humans orchestrate the pipeline around it.

Quick start

pipx install "git+https://github.com/open-agent-power/open-knowledge-studio.git@main#subdirectory=cli" && pipx ensurepath   # 1. install the CLI
oks init my-knowledge-base          # 2. scaffold an instance (skills + buckets)
cd my-knowledge-base
oks status                          # 3. use it
oks recall "git branch" --knowledge-only
oks recall "deployment" --knowledge-only --type strategy --format json
oks recall "git branch" --goal none --format json --explain
oks eval recall eval/datasets/team-v1.yaml --output eval/runs/baseline.json
oks trace start memory-goal --run-id demo-001

Use --goal active (default) to merge active goals, --goal <slug> for one reproducible goal, or --goal none for a no-goal baseline. --explain exposes score components without changing ranking.

Machine-readable output uses recall-response/v1 for oks recall and recall-hit/v1 for individual hits. --type filtering happens before ranking and --limit; --knowledge-only drops the episodic path.

oks eval is offline and read-only. oks trace writes append-only execution events under raw/executions/; generated Wiki/Skill proposals stay under drafts/proposals/ until a human explicitly promotes them.

oks init materializes the shareable layer (Claude Code skills, templates, schema, settings) and a git-tracked memory instance. No repo clone required.

Documentation

License

MIT

Download files

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

Source Distribution

open_knowledge_studio-0.5.14.tar.gz (301.1 kB view details)

Uploaded Source

Built Distribution

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

open_knowledge_studio-0.5.14-py3-none-any.whl (327.0 kB view details)

Uploaded Python 3

File details

Details for the file open_knowledge_studio-0.5.14.tar.gz.

File metadata

  • Download URL: open_knowledge_studio-0.5.14.tar.gz
  • Upload date:
  • Size: 301.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for open_knowledge_studio-0.5.14.tar.gz
Algorithm Hash digest
SHA256 85c99bc11ebb8489a44469a62b67a26156854c6ab7385d2a65aedf86493ef0e9
MD5 5117de93740d4c919850e5954b104a5d
BLAKE2b-256 4afdc7b6b3eab3be4a600e4f5d17bfb97dbf3a29f6c58f27cc0810f1b7fe4301

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_knowledge_studio-0.5.14.tar.gz:

Publisher: publish-oks.yml on open-agent-power/open-knowledge-studio

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

File details

Details for the file open_knowledge_studio-0.5.14-py3-none-any.whl.

File metadata

File hashes

Hashes for open_knowledge_studio-0.5.14-py3-none-any.whl
Algorithm Hash digest
SHA256 f14b42e22d8848cefde85f3aaebd3a73b3a305092b0b6e8566b7725c3ce04ebf
MD5 36bb4c715a8670bd7068a6462ad8b3b5
BLAKE2b-256 5a2bec6e9b869dccb7d0d8fd5fcb6c4501924a12a975a85d18b6fce03c96c42a

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_knowledge_studio-0.5.14-py3-none-any.whl:

Publisher: publish-oks.yml on open-agent-power/open-knowledge-studio

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 Sentry Error logging StatusPage Status page