Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

boei-0.1.2.tar.gz (296.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

boei-0.1.2-py3-none-any.whl (362.9 kB view details)

Uploaded Python 3

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

Hashes for boei-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b800a16681577baf05fbebf2fdc65b75f6451b706cd4eebd6e33ec7b71d115fd
MD5 7b88bbfd6dc7a368f6ce89f16d9561ad
BLAKE2b-256 1990f031b64924553d625f9606571a50dd5c7a1bbc9521b8b2d44014f0fcd7c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for boei-0.1.2.tar.gz:

Publisher: publish-sdk.yml on Boei-AI/boei-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for boei-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 651ae0d30822addaf517e4f9549748566e5181d1030392440e5dc1ac7573edbc
MD5 b0254045d19e99c5b04820735a266550
BLAKE2b-256 6eecd45824073915bb857a47fe247a1984e12572be513d0147271ba47fe250ee

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page