Skip to main content

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

sarib-0.1.4.tar.gz (28.5 kB view details)

Uploaded Source

Built Distribution

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

sarib-0.1.4-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

Details for the file sarib-0.1.4.tar.gz.

File metadata

  • Download URL: sarib-0.1.4.tar.gz
  • Upload date:
  • Size: 28.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for sarib-0.1.4.tar.gz
Algorithm Hash digest
SHA256 4af183fe201c3c44792d4e09e2d0234a816cf44b638b96c59ccdfb7edf20860b
MD5 e0f43c6b9cb066c67497c470bf496e01
BLAKE2b-256 335c58c27d717760919d447c6efc545831d6009ffaeebed5f4a608675d2e7634

See more details on using hashes here.

Provenance

The following attestation bundles were made for sarib-0.1.4.tar.gz:

Publisher: release.yml on SyedSaribSultan/sarib-lang

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

File details

Details for the file sarib-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: sarib-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 30.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for sarib-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 270a141cd4fa8623a0bf2406ef9f9a702446007aeae3c56e2c38c8375b59115b
MD5 8fb46f601ccbb805198973941c2234a6
BLAKE2b-256 7b99b1e8c80640dfa1f371f777e2b31b0469ac119d785579ed57c6777697cbe0

See more details on using hashes here.

Provenance

The following attestation bundles were made for sarib-0.1.4-py3-none-any.whl:

Publisher: release.yml on SyedSaribSultan/sarib-lang

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