Skip to main content

Scholialang

Website · Spec · MCP · Python · Doug Fir Labs

scholialang

Scholia helps agentic systems preserve reasoning state, use tools without quality loss, and reduce context cost across long-horizon work. scholialang is the Python reference implementation of the language: the parser, validator, and core primitives that make Scholia traces portable, inspectable, and reusable across sessions.

Scholia v0.6 builds on content-addressed reasoning traces. The v0.6 language keeps the v0.5 closed vocabulary and adds the content-addressed substrate: optional canonical_id hashes, a canonical-id-keyed DAG registry, and the three core lazy-prelude modes hash_only, hash_list, and inline.

It contains the language-level pieces only:

  • atom dataclasses
  • parser
  • validator
  • canonical_id hashing
  • DAG registry primitives
  • lazy prelude rendering
  • stable atom IDs
  • metadata helpers
  • JSON/YAML serializers
  • Markdown/XML renderers

Host-runtime concerns such as trace persistence, enrichment, adjudication, and proof-graph bridging live outside this package.

Current v0.6 Scope

scholialang owns the language runtime for the v0.6 scope: the 32-kind closed vocabulary inherited from v0.5, optional canonical_id computation and validation, canonical-id-aware reference resolution, the local DAG registry primitive, and the three finalized lazy-prelude modes. MCP servers, editor clients, host plugins, and public launch pages live in sibling repositories.

Install

pip install scholialang

For local development:

pip install -e '.[dev]'
pytest

Related Repositories

This package tracks Scholia language version v0.6.2.

License

The scholialang reference implementation is dual-licensed under either MIT or Apache-2.0, at your option. See LICENSE, LICENSE-MIT, and LICENSE-APACHE.

The normative specification prose lives in scholialang-spec and is licensed separately under CC-BY-4.0.

Useful launch links:

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scholialang-0.7.1.tar.gz (71.8 kB view details)

Uploaded Source

Built Distribution

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

scholialang-0.7.1-py3-none-any.whl (78.4 kB view details)

Uploaded Python 3

File details

Details for the file scholialang-0.7.1.tar.gz.

File metadata

  • Download URL: scholialang-0.7.1.tar.gz
  • Upload date:
  • Size: 71.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for scholialang-0.7.1.tar.gz
Algorithm Hash digest
SHA256 590d81f34aec011eba560075e7eb0f0246574a09abaa8e4513f23f39323e2ab5
MD5 3a422b49a8f066fabe311d2eb48c56ea
BLAKE2b-256 10aed4fd8bca58f4ea03dfeae2cefc39459ce450964fa05c3bbf16f398531344

See more details on using hashes here.

Provenance

The following attestation bundles were made for scholialang-0.7.1.tar.gz:

Publisher: publish.yml on dougfirlabs/scholialang

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

File details

Details for the file scholialang-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: scholialang-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 78.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for scholialang-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 598c91df036ff03671ff65f5a9a78e4a868f6146bc7c6a2825a983f52807c215
MD5 f89e9eeb078c8f4b04e0107fae5e537b
BLAKE2b-256 3702b721f0503b4d4c68b24b5b1675cb9b893e53ab96af9173010e91f6744fa4

See more details on using hashes here.

Provenance

The following attestation bundles were made for scholialang-0.7.1-py3-none-any.whl:

Publisher: publish.yml on dougfirlabs/scholialang

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

Release history Release notifications | RSS feed

0.7.2

2 files

This release

0.7.1 This release

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

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