Boei runtime SDK and OpenTelemetry instrumentation for AI systems
Project description
Boei Runtime SDK
The Boei Python SDK captures runtime metadata for AI systems and sends it to Boei's runtime ingest API. Install it:
pip install boei
Then import and initialize:
import boei
boei.init()
Activation
Use a managed project key from Boei:
export BOEI_API_KEY="boei_pk_..."
The SDK exchanges the project key for a runtime token at /v1/auth/token and
sends telemetry to /v1/runtime/ingest or /v1/traces. There is no Boei CLI in this story; activation is SDK install plus project key configuration.
Privacy Default
Boei does not read prompt or response content by default.
export BOEI_CAPTURE_CONTENT=false
That is also the default when the variable is unset. The legacy
TRACELOOP_TRACE_CONTENT variable does not turn Boei content capture on.
If a tenant deliberately opts in:
export BOEI_CAPTURE_CONTENT=true
the SDK still runs redaction for common PII and secret patterns before export.
The ingest API also strips prompt/message attributes unless the runtime token
carries capture_content=true.
What Runtime Proves
Runtime evidence can corroborate:
- call volume
- token counts
- provider
- model choice
- SDK-estimated runtime cost under a project key
Runtime evidence cannot prove:
- provider bill-of-record spend
- system ownership
- a confirmed AI system
- control effectiveness
- prompt or response content when content capture is off
Runtime rollups become source_evidence_atoms as pending key observations.
They stay corroborator evidence until later scanner binding and reviewer
confirmation work.
Project details
Release history Release notifications | RSS feed
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 boei-0.1.2.tar.gz.
File metadata
- Download URL: boei-0.1.2.tar.gz
- Upload date:
- Size: 296.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b800a16681577baf05fbebf2fdc65b75f6451b706cd4eebd6e33ec7b71d115fd
|
|
| MD5 |
7b88bbfd6dc7a368f6ce89f16d9561ad
|
|
| BLAKE2b-256 |
1990f031b64924553d625f9606571a50dd5c7a1bbc9521b8b2d44014f0fcd7c1
|
Provenance
The following attestation bundles were made for boei-0.1.2.tar.gz:
Publisher:
publish-sdk.yml on Boei-AI/boei-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
boei-0.1.2.tar.gz -
Subject digest:
b800a16681577baf05fbebf2fdc65b75f6451b706cd4eebd6e33ec7b71d115fd - Sigstore transparency entry: 1946344803
- Sigstore integration time:
-
Permalink:
Boei-AI/boei-ai@6fa7feea7f6da0d206cda67b1cf5ccd6b6574d53 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/Boei-AI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-sdk.yml@6fa7feea7f6da0d206cda67b1cf5ccd6b6574d53 -
Trigger Event:
release
-
Statement type:
File details
Details for the file boei-0.1.2-py3-none-any.whl.
File metadata
- Download URL: boei-0.1.2-py3-none-any.whl
- Upload date:
- Size: 362.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
651ae0d30822addaf517e4f9549748566e5181d1030392440e5dc1ac7573edbc
|
|
| MD5 |
b0254045d19e99c5b04820735a266550
|
|
| BLAKE2b-256 |
6eecd45824073915bb857a47fe247a1984e12572be513d0147271ba47fe250ee
|
Provenance
The following attestation bundles were made for boei-0.1.2-py3-none-any.whl:
Publisher:
publish-sdk.yml on Boei-AI/boei-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
boei-0.1.2-py3-none-any.whl -
Subject digest:
651ae0d30822addaf517e4f9549748566e5181d1030392440e5dc1ac7573edbc - Sigstore transparency entry: 1946345092
- Sigstore integration time:
-
Permalink:
Boei-AI/boei-ai@6fa7feea7f6da0d206cda67b1cf5ccd6b6574d53 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/Boei-AI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-sdk.yml@6fa7feea7f6da0d206cda67b1cf5ccd6b6574d53 -
Trigger Event:
release
-
Statement type: