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

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:

Metadata

Release files for scholialang 0.7.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scholialang 0.7.2
File Size Uploaded Provenance Actions
scholialang-0.7.2.tar.gz 72.0 kB With provenance Details for scholialang-0.7.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for scholialang 0.7.2
File Interpreter ABI Platform Actions
scholialang-0.7.2-py3-none-any.whl Python 3 none any Details for scholialang-0.7.2-py3-none-any.whl

Total release size: 150.6 kB

Release files / scholialang-0.7.2.tar.gz

Download URL scholialang-0.7.2.tar.gz
Size 72.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d5162d200a26b5f134287020a983808510fc0cfbe3a0ec204520878daf2a0db9
BLAKE2b-256 checksum
How to use checksums
fbe4e3bf3ad4c07d44488bd3520ffd6b0f43eb0233b43ad4d85b006090ee1dc7
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 Aug 6, 2026.

Transparency log

Release files / scholialang-0.7.2-py3-none-any.whl

Download URL scholialang-0.7.2-py3-none-any.whl
Size 78.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
78c2679b2a5e7158b86d5be70013f8b2b13547269f658e394cb6096d365dc57a
BLAKE2b-256 checksum
How to use checksums
07f7830a0aa092434d358c321b442ea79d551bb46090abf13814bae47ed37584
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 Aug 6, 2026.

Transparency log

Security for scholialang 0.7.2

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for scholialang-0.7.2.tar.gz

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 Aug 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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