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.
Metadata
Release files for sarib 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sarib-0.1.7.tar.gz | 41.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sarib-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 77.9 kB
Release files / sarib-0.1.7.tar.gz
| Download URL | sarib-0.1.7.tar.gz |
|---|---|
| Size | 41.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3210b9a6f75b8bdd69c0e94d59f013822fbd11ebbf71e4210fd4ebbf44aef32
|
|
BLAKE2b-256 checksum How to use checksums |
0ff24a12cb8222f0cca8be613364343db098eda3ecf303685f8afbb808226cc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 15, 2026.
Transparency logRelease files / sarib-0.1.7-py3-none-any.whl
| Download URL | sarib-0.1.7-py3-none-any.whl |
|---|---|
| Size | 36.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0632efdd9d4eb10219fc7c4ed86f5cc22ba9c06555e1de71622c4e4042afe356
|
|
BLAKE2b-256 checksum How to use checksums |
6be26d9a90a9fc9208fa0d209b668b2989d7c0c4a0137b8ccea897f95af410f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 15, 2026.
Transparency log