reef_client
Stdlib-only client SDK for the Reef protocol. reef_client is a client of
Reef's HTTP wire protocol, not of the reef package: it never imports reef
and has no dependencies, so external harnesses can install it or copy it into
environments that cannot take the reef wheel's dependencies.
The distribution is reef-client (pyproject.toml); the
import package is the inner reef_client/ directory:
client.pyisReefClient, the ask/observe/report loop every example shares (see the Reef docs), plus the harness update channel reads:harness_versions(the version catalog with gate metrics) andharness_pull(write one served tree, head or version-addressed, into a directory).skill.pyfetches and syncs the scenario's served skill file (fetch_skill/sync_skill);sse.pyconverts between buffered chat completions and OpenAI-style SSE chunk streams in both directions (synthesize_sse_events/SSEAccumulator).serve.pyis serve mode: a local sidecar that agents treat as their model endpoint (python -m reef_client.serve), owning session stamping, trajectory capture, receipt collection, and SSE passthrough/synthesis so reef-oblivious agents need no SDK. See the reference.
The client and skill helpers are re-exported at the package root:
from reef_client import ReefClient, fetch_skill, sync_skill. Import the
sse/serve submodules directly.
Install
pip install reef-client
For development:
git clone https://github.com/Human-Agent-Society/reef-client && cd reef-client
pip install -e .
The package is standard library only — copying the inner reef_client/
directory into your harness works too.
Metadata
Release files for reef-client 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| reef_client-0.2.1.tar.gz | 23.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| reef_client-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 44.6 kB
Release files / reef_client-0.2.1.tar.gz
| Download URL | reef_client-0.2.1.tar.gz |
|---|---|
| Size | 23.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7fb932cfc887352662ecc522b39557bb9721cd3731438d81a55368b873807b42
|
|
BLAKE2b-256 checksum How to use checksums |
c05a6dcdf4702c8f795c89d6e6b540f0262b5b1b2e2518fbe1918d7c8982c987
|
| 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 Sep 20, 2026.
Transparency logRelease files / reef_client-0.2.1-py3-none-any.whl
| Download URL | reef_client-0.2.1-py3-none-any.whl |
|---|---|
| Size | 21.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ca1746019590ac739cefd81264a5261aa355802dae73bf638de2d2178b7786ac
|
|
BLAKE2b-256 checksum How to use checksums |
2e017cc10e68051879bf215c0f32b9133c1c47b39d323233f4b6f27f267eb639
|
| 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 Sep 20, 2026.
Transparency log