Skip to main content

credence-skin-client

The thin JSON-RPC wire client for the Credence skin — the one library external apps depend on to talk to the engine.

It ships no engine code (no juliacall, no Julia) and holds no Measures: state stays server-side as opaque IDs. A consumer of this client physically cannot do probability arithmetic, so it cannot host a brain. This is the boundary that makes the constitutional single-reasoner invariant hold by construction for any app on the other side of the wire.

Usage

Launch the engine as a pinned image and talk JSON-RPC over its stdio:

from credence_skin_client import SkinClient

skin = SkinClient(command=[
    "docker", "run", "--rm", "-i", "ghcr.io/gfrmin/credence-skin:<tag>",
])
skin.initialize(dsl_sources={"agent": "(defun choose ...)"})  # inline BDSL, no host paths
sid = skin.create_state(type="beta", alpha=1.0, beta=1.0)
skin.condition(sid, kernel={"type": "bernoulli"}, observation=1.0)
print(skin.weights(sid))
skin.shutdown()

The client pins a wire protocol major and the handshake rejects an incompatible engine with error -32010. See apps/skin/protocol.md for the full method set and the protocol changelog.

Apps declare their domain as data — dsl_sources are inline BDSL source strings; the engine never reads the host filesystem.

Metadata

Release files for credence-skin-client 0.1.0

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

Source distribution (sdist)

Source distribution for credence-skin-client 0.1.0
File Size Uploaded Provenance Actions
credence_skin_client-0.1.0.tar.gz 8.8 kB Without provenance Details for credence_skin_client-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for credence-skin-client 0.1.0
File Interpreter ABI Platform Actions
credence_skin_client-0.1.0-py3-none-any.whl Python 3 none any Details for credence_skin_client-0.1.0-py3-none-any.whl

Total release size: 17.6 kB

Release files / credence_skin_client-0.1.0.tar.gz

Download URL credence_skin_client-0.1.0.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8179b6ca0b051eb66262b6dddd9b236b18ea89da4c01744a5f81385fedb60cd4
BLAKE2b-256 checksum
How to use checksums
41abfbbd7922a43079e4210cb752c5436917c29bdf451701dbaadf8224c5d4d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release files / credence_skin_client-0.1.0-py3-none-any.whl

Download URL credence_skin_client-0.1.0-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e85870a2d579109fe37d2d0393318e4627dff2db243f4c7830bbd20f1b37149a
BLAKE2b-256 checksum
How to use checksums
d3faffb71a56c15b3e089b94a7903c971ba7812fb7103494407784faf8f4fdea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Security for credence-skin-client 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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