Reference implementation of the .sarib knowledge language: query bounded subgraphs and apply id-addressed atomic edits over plain-text knowledge.
Project description
sarib
Reference implementation of the .sarib knowledge language — a plain-text format that is at once a readable document (a Markdown superset) and a labeled property graph. Agents query bounded subgraphs and apply id-addressed atomic edits instead of re-reading or regenerating whole files.
pip install sarib # core, zero dependencies
pip install "sarib[mcp]" # + the MCP server for agent clients
CLI
sarib validate notes.sarib
sarib render notes.sarib --view outline # document | outline | board | mermaid
sarib query notes.sarib --spec '{"select":"none","filter":{"type":"task"}}'
sarib apply notes.sarib --op '{"kind":"set-property","target":"t1","args":{"key":"status","value":"done"}}'
sarib canon notes.sarib # canonical normal form (for hash/diff)
MCP server
sarib-mcp /path/to/folder-of-.sarib-files
Exposes sarib_query / sarib_apply / sarib_render / sarib_validate / sarib_canon
to any MCP client (Claude Desktop, Claude Code, Cursor, …).
Status
Research-grade v0.1. Spec, full design history, decision log, and benchmarks: https://github.com/SyedSaribSultan/sarib-lang. License: MIT.
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
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 sarib-0.1.1.tar.gz.
File metadata
- Download URL: sarib-0.1.1.tar.gz
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cc40c3814c9901b0278171111fe07cd13e8f8a3bd7dcb92b270e00ff2e8f52b
|
|
| MD5 |
b96249af1b9f329561dbdfcfbdb6c7ee
|
|
| BLAKE2b-256 |
cecf57eeb67ea5e3f6bb07df3ef2cfb442143f2fc047ce4f56dd5c27fd153d65
|
Provenance
The following attestation bundles were made for sarib-0.1.1.tar.gz:
Publisher:
release.yml on SyedSaribSultan/sarib-lang
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sarib-0.1.1.tar.gz -
Subject digest:
0cc40c3814c9901b0278171111fe07cd13e8f8a3bd7dcb92b270e00ff2e8f52b - Sigstore transparency entry: 2243560919
- Sigstore integration time:
-
Permalink:
SyedSaribSultan/sarib-lang@23d3e0752c60220974339b7b062c772327473c84 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/SyedSaribSultan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@23d3e0752c60220974339b7b062c772327473c84 -
Trigger Event:
release
-
Statement type:
File details
Details for the file sarib-0.1.1-py3-none-any.whl.
File metadata
- Download URL: sarib-0.1.1-py3-none-any.whl
- Upload date:
- Size: 23.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
047184cc795e2ee4075147260faed71bc3229f441ad9492a06bc45a16a1319ff
|
|
| MD5 |
a2a3bdbdc64ae495d7b8358aa0d87868
|
|
| BLAKE2b-256 |
d34e6dba562342106b62f89606bd52ff7e99c886d9a0f3c52e5d19d48c777c35
|
Provenance
The following attestation bundles were made for sarib-0.1.1-py3-none-any.whl:
Publisher:
release.yml on SyedSaribSultan/sarib-lang
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sarib-0.1.1-py3-none-any.whl -
Subject digest:
047184cc795e2ee4075147260faed71bc3229f441ad9492a06bc45a16a1319ff - Sigstore transparency entry: 2243561226
- Sigstore integration time:
-
Permalink:
SyedSaribSultan/sarib-lang@23d3e0752c60220974339b7b062c772327473c84 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/SyedSaribSultan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@23d3e0752c60220974339b7b062c772327473c84 -
Trigger Event:
release
-
Statement type: