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.
oksCLI — 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 search "git branch"
oks search "deployment" --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 search-response/v1 for oks search,
recall-response/v1 for oks recall, and recall-hit/v1 for individual
hits. Search type filtering happens before ranking and --limit.
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
- Design docs: https://open-agent-power.github.io/open-knowledge-studio/
- Source & issues: https://github.com/open-agent-power/open-knowledge-studio
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file open_knowledge_studio-0.4.0.tar.gz.
File metadata
- Download URL: open_knowledge_studio-0.4.0.tar.gz
- Upload date:
- Size: 385.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f7902e7652b89011012a45b65e39e295cf9240f95f13cfd068f8438dc9bb087
|
|
| MD5 |
f0cf6de1af619025f0a4cb1e96ea97a1
|
|
| BLAKE2b-256 |
9ce17801a4dd55aecf3cac143eefe2dae82af551cbe13c67c342450839ea4d56
|
Provenance
The following attestation bundles were made for open_knowledge_studio-0.4.0.tar.gz:
Publisher:
publish-oks.yml on open-agent-power/open-knowledge-studio
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
open_knowledge_studio-0.4.0.tar.gz -
Subject digest:
9f7902e7652b89011012a45b65e39e295cf9240f95f13cfd068f8438dc9bb087 - Sigstore transparency entry: 2395082931
- Sigstore integration time:
-
Permalink:
open-agent-power/open-knowledge-studio@4211fa8e2174b75dd2a3093cb643777826e6b112 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/open-agent-power
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-oks.yml@4211fa8e2174b75dd2a3093cb643777826e6b112 -
Trigger Event:
push
-
Statement type:
File details
Details for the file open_knowledge_studio-0.4.0-py3-none-any.whl.
File metadata
- Download URL: open_knowledge_studio-0.4.0-py3-none-any.whl
- Upload date:
- Size: 426.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83ff57ce805a1f34f37b929b4d1aaa2d86f483d98376c113613933475bb0c221
|
|
| MD5 |
879967eeae529827e0073263cb014b7c
|
|
| BLAKE2b-256 |
99d2684eda48de4c428d040949d30e29f43cc33a826415dfd3c24de7e334d1f2
|
Provenance
The following attestation bundles were made for open_knowledge_studio-0.4.0-py3-none-any.whl:
Publisher:
publish-oks.yml on open-agent-power/open-knowledge-studio
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
open_knowledge_studio-0.4.0-py3-none-any.whl -
Subject digest:
83ff57ce805a1f34f37b929b4d1aaa2d86f483d98376c113613933475bb0c221 - Sigstore transparency entry: 2395083584
- Sigstore integration time:
-
Permalink:
open-agent-power/open-knowledge-studio@4211fa8e2174b75dd2a3093cb643777826e6b112 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/open-agent-power
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-oks.yml@4211fa8e2174b75dd2a3093cb643777826e6b112 -
Trigger Event:
push
-
Statement type: