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 creates a git-tracked memory instance, missing default settings and host Skill entries. Schemas remain bundled with OKS and templates belong to their Skills; existing settings and profiles survive upgrades. No repo clone required.

Documentation

License

MIT

Metadata

Release files for open-knowledge-studio 0.6.24

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

Source distribution (sdist)

Source distribution for open-knowledge-studio 0.6.24
File Size Uploaded Provenance Actions
open_knowledge_studio-0.6.24.tar.gz 1.3 MB With provenance Details for open_knowledge_studio-0.6.24.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for open-knowledge-studio 0.6.24
File Interpreter ABI Platform Actions
open_knowledge_studio-0.6.24-py3-none-any.whl Python 3 none any Details for open_knowledge_studio-0.6.24-py3-none-any.whl

Total release size: 2.5 MB

Release files / open_knowledge_studio-0.6.24.tar.gz

Download URL open_knowledge_studio-0.6.24.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
26a7f363afd3eeb9f158b24390485756185f6e9c97ac56e18cb544d31d9f7b0d
BLAKE2b-256 checksum
How to use checksums
fc1c5e907bc20ec59787544f20bb75a1a56458f9c9bdebf92a7cd2cc0e5370c9
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 11, 2026.

Transparency log

Release files / open_knowledge_studio-0.6.24-py3-none-any.whl

Download URL open_knowledge_studio-0.6.24-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
75bad22808f9cd031a7c9056f1bc24cc83876ad373355ff46597ce68ba7f7951
BLAKE2b-256 checksum
How to use checksums
82ae59e2d2bbf22ec762eadd14c186934587686c5c3d0540d5a8ce67740156e0
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 11, 2026.

Transparency log

Security for open-knowledge-studio 0.6.24

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 open_knowledge_studio-0.6.24.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 11, 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.

Release history Release notifications | RSS feed

This release

0.6.24 This release

2 release files Full provenance

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