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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file reef_client-0.2.0.tar.gz.
File metadata
- Download URL: reef_client-0.2.0.tar.gz
- Upload date:
- Size: 22.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04d2db3c5cb450333ee0ce830219bbb398c874941927a37fb9910134dffe2ab1
|
|
| MD5 |
c65df72a6b20e2658ef02a662b345598
|
|
| BLAKE2b-256 |
23f5d483408ec1d6be0ee4852c58d878604cb30b4754b725788754b97e7920c6
|
Provenance
The following attestation bundles were made for reef_client-0.2.0.tar.gz:
Publisher:
release.yml on Human-Agent-Society/reef-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
reef_client-0.2.0.tar.gz -
Subject digest:
04d2db3c5cb450333ee0ce830219bbb398c874941927a37fb9910134dffe2ab1 - Sigstore transparency entry: 2567624423
- Sigstore integration time:
-
Permalink:
Human-Agent-Society/reef-client@c86abcdba936e6ea80e64dbb42daa74a3bc81c0d -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Human-Agent-Society
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c86abcdba936e6ea80e64dbb42daa74a3bc81c0d -
Trigger Event:
push
-
Statement type:
File details
Details for the file reef_client-0.2.0-py3-none-any.whl.
File metadata
- Download URL: reef_client-0.2.0-py3-none-any.whl
- Upload date:
- Size: 20.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8dbc2a83277d94f421188400f0238c03bb7b8fc8799c75c50f607aeccfeb3b4c
|
|
| MD5 |
efbf2c8944e15379a3c1de6fa902eaf5
|
|
| BLAKE2b-256 |
fc5f2f1d4771ecae7f858a9b045b16c0cd03a0d6ef19973ee4c04a5301ec312c
|
Provenance
The following attestation bundles were made for reef_client-0.2.0-py3-none-any.whl:
Publisher:
release.yml on Human-Agent-Society/reef-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
reef_client-0.2.0-py3-none-any.whl -
Subject digest:
8dbc2a83277d94f421188400f0238c03bb7b8fc8799c75c50f607aeccfeb3b4c - Sigstore transparency entry: 2567624461
- Sigstore integration time:
-
Permalink:
Human-Agent-Society/reef-client@c86abcdba936e6ea80e64dbb42daa74a3bc81c0d -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Human-Agent-Society
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c86abcdba936e6ea80e64dbb42daa74a3bc81c0d -
Trigger Event:
push
-
Statement type: