Open-source observability SDK for AI agents — zero-instrumentation capture, OpenTelemetry-native
Project description
wardex-sdk
Open-source observability SDK for AI agents — zero-instrumentation capture, OpenTelemetry-native.
⚠️ Beta (0.1.0b1). No PII masking yet: captured prompts and responses are sent to your backend in cleartext. Not suitable for production or sensitive data. Use in development/staging, or wait for the PII release.
Install
pip install wardex-sdk
Quickstart
import wardex_sdk as wardex
from wardex_sdk import OtlpHttpTransport
wardex.init(
transport=OtlpHttpTransport(endpoint="https://<your-collector>/v1/traces"),
intercept=True, # zero-instrumentation capture of LLM calls
)
# your app code — OpenAI/Anthropic calls are captured automatically
wardex.flush() # manual flush (background batching is on the roadmap)
wardex.close()
Status
Works today
- Zero-instrumentation capture of LLM HTTP calls (OpenAI, Anthropic) over
https, cleartexthttp, and h2c gen_aisemantics: model, tokens, parameters, finish reasons, input/output messages- Transport metrics (TCP/TLS timing, TTFT), gRPC (grpclib), WebSocket (
wss), MCP stdio - Export to any OpenTelemetry backend via
OtlpHttpTransport - Manual span decorators:
@workflow/@agent/@task/@tool/@span
Not yet (see Roadmap)
- PII masking (prompts sent in cleartext today)
- Background batching / periodic & at-exit flush (manual
flush()/close()only) - Framework adapters (LangGraph, Anthropic/OpenAI Agent SDKs)
- Distributed context propagation (W3C traceparent)
- Node/TS and Java SDKs
Roadmap
- PII masking (pre-send safety)
- Batching & lifecycle (background worker, at-exit/periodic flush, concurrency)
- Framework adapters
- Distributed propagation (W3C)
- Node/TS and Java SDKs
License
Apache-2.0. See LICENSE and NOTICE.
"Wardex" is a trademark of Wardex Labs.
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 Distributions
Built Distributions
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 wardex_sdk-0.1.0b1-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: wardex_sdk-0.1.0b1-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 802.4 kB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0dc74215c21129682745dad339f55025a5c862f41ee2e307aa6d95e4829b1ec6
|
|
| MD5 |
1fd7469df4daac0d47036cbd4756b59a
|
|
| BLAKE2b-256 |
7b27f1afa0a0de11789d0b58d77e9b2df75255df207264275506f8a4111b31e5
|
Provenance
The following attestation bundles were made for wardex_sdk-0.1.0b1-cp310-abi3-win_amd64.whl:
Publisher:
release-python.yml on wardex-labs/wardex-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wardex_sdk-0.1.0b1-cp310-abi3-win_amd64.whl -
Subject digest:
0dc74215c21129682745dad339f55025a5c862f41ee2e307aa6d95e4829b1ec6 - Sigstore transparency entry: 2069864935
- Sigstore integration time:
-
Permalink:
wardex-labs/wardex-sdk@9a819b2583608f0272e4c60d41946e13a42fe238 -
Branch / Tag:
refs/tags/python-v0.1.0b1 - Owner: https://github.com/wardex-labs
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@9a819b2583608f0272e4c60d41946e13a42fe238 -
Trigger Event:
push
-
Statement type:
File details
Details for the file wardex_sdk-0.1.0b1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: wardex_sdk-0.1.0b1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9aeda212be3f2e9c9771e942b4ee1bf449eb58b524d8052a0ed72084eb9b7a9e
|
|
| MD5 |
937dc61bdc71f00c9f4bdd65e44633a3
|
|
| BLAKE2b-256 |
fe81d5e4b235c8a081e44df15bf7227b15231ae7ff28eb8ae33aa57e68683a28
|
Provenance
The following attestation bundles were made for wardex_sdk-0.1.0b1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release-python.yml on wardex-labs/wardex-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wardex_sdk-0.1.0b1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
9aeda212be3f2e9c9771e942b4ee1bf449eb58b524d8052a0ed72084eb9b7a9e - Sigstore transparency entry: 2069864223
- Sigstore integration time:
-
Permalink:
wardex-labs/wardex-sdk@9a819b2583608f0272e4c60d41946e13a42fe238 -
Branch / Tag:
refs/tags/python-v0.1.0b1 - Owner: https://github.com/wardex-labs
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@9a819b2583608f0272e4c60d41946e13a42fe238 -
Trigger Event:
push
-
Statement type:
File details
Details for the file wardex_sdk-0.1.0b1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: wardex_sdk-0.1.0b1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c94a1bc81fedf61dec1b66f974c47e2c2fffce0fd2bd89f9e1b3274bb3fe03ae
|
|
| MD5 |
2cab0dca341eff1c57ce2ba0920ec0b7
|
|
| BLAKE2b-256 |
3756fa0f04941ebbd0ee1ec360b960a43e7e9e3f4fa512e70e92402ee2c3366f
|
Provenance
The following attestation bundles were made for wardex_sdk-0.1.0b1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
release-python.yml on wardex-labs/wardex-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wardex_sdk-0.1.0b1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
c94a1bc81fedf61dec1b66f974c47e2c2fffce0fd2bd89f9e1b3274bb3fe03ae - Sigstore transparency entry: 2069864746
- Sigstore integration time:
-
Permalink:
wardex-labs/wardex-sdk@9a819b2583608f0272e4c60d41946e13a42fe238 -
Branch / Tag:
refs/tags/python-v0.1.0b1 - Owner: https://github.com/wardex-labs
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@9a819b2583608f0272e4c60d41946e13a42fe238 -
Trigger Event:
push
-
Statement type:
File details
Details for the file wardex_sdk-0.1.0b1-cp310-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: wardex_sdk-0.1.0b1-cp310-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 951.5 kB
- Tags: CPython 3.10+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8a987f3d494ea92e4beabee0e7977cccf0c85a8123b4df9d1aedf715b28d07e
|
|
| MD5 |
853d49bb318bef4c90c7bf444ae019ce
|
|
| BLAKE2b-256 |
bfa68fc6e56d5e890b6b7a84b9d0835af92535bde51003fb87ab7a9320cc769a
|
Provenance
The following attestation bundles were made for wardex_sdk-0.1.0b1-cp310-abi3-macosx_11_0_arm64.whl:
Publisher:
release-python.yml on wardex-labs/wardex-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wardex_sdk-0.1.0b1-cp310-abi3-macosx_11_0_arm64.whl -
Subject digest:
e8a987f3d494ea92e4beabee0e7977cccf0c85a8123b4df9d1aedf715b28d07e - Sigstore transparency entry: 2069863998
- Sigstore integration time:
-
Permalink:
wardex-labs/wardex-sdk@9a819b2583608f0272e4c60d41946e13a42fe238 -
Branch / Tag:
refs/tags/python-v0.1.0b1 - Owner: https://github.com/wardex-labs
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@9a819b2583608f0272e4c60d41946e13a42fe238 -
Trigger Event:
push
-
Statement type:
File details
Details for the file wardex_sdk-0.1.0b1-cp310-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: wardex_sdk-0.1.0b1-cp310-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.10+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c756815a05381ebaf783f16bc4459fa6bab58119890781d048d471ef49f77719
|
|
| MD5 |
ca31ab4a74a92b93d6e15986ee408132
|
|
| BLAKE2b-256 |
89f8bea749058f26f199511fe476547abb19d757c4d0140cbd704fb1101b0710
|
Provenance
The following attestation bundles were made for wardex_sdk-0.1.0b1-cp310-abi3-macosx_10_12_x86_64.whl:
Publisher:
release-python.yml on wardex-labs/wardex-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wardex_sdk-0.1.0b1-cp310-abi3-macosx_10_12_x86_64.whl -
Subject digest:
c756815a05381ebaf783f16bc4459fa6bab58119890781d048d471ef49f77719 - Sigstore transparency entry: 2069864459
- Sigstore integration time:
-
Permalink:
wardex-labs/wardex-sdk@9a819b2583608f0272e4c60d41946e13a42fe238 -
Branch / Tag:
refs/tags/python-v0.1.0b1 - Owner: https://github.com/wardex-labs
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@9a819b2583608f0272e4c60d41946e13a42fe238 -
Trigger Event:
push
-
Statement type: