Sentisec public SDK — cognitive integrity monitoring for autonomous agents (thin client).
Project description
sentisec-sdk
Public Python SDK for Sentisec.
sentisec-sdk is a thin client. You install it with pip, point it at
your workspace, and wrap your existing OpenAI / Anthropic client. Your
agent's tool calls then flow through Sentisec's hosted control plane,
where they are evaluated and either allowed, rewritten, or blocked
before they reach the world.
Install
pip install sentisec-sdk
Python 3.11+ is required.
Quick start
from sentisec_sdk import Monitor
monitor = Monitor() # picks up ~/.sentisec/credentials.toml after `sentisec login`
client = monitor.wrap_openai(...)
client = monitor.wrap_anthropic(...)
The sentisec CLI is shipped in the same wheel:
sentisec login
sentisec status
sentisec demo run
sentisec logout
Note (alpha): the public surface is being assembled across a small set of release tasks. Calling
Monitor()/Session()in this alpha pre-release raisesNotImplementedErrorpointing at the tracking task — install the0.1.0(non-alpha) release for the working client.From
0.1.0a4onwardsSENTISEC_WORKSPACE_IDis OPTIONAL — the Sentisec proxy resolves the workspace from the API key prefix, so a one-env-var setup (SENTISEC_API_KEYonly) is sufficient for thewrap_anthropic/wrap_openaipath.
Documentation
- Product overview: https://sentisec.ch
- Developer docs: https://docs.sentisec.ch
- Dashboard: https://app.sentisec.ch
- Support: mailto:support@sentisec.ch
License
Apache License 2.0. See LICENSE.
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 sentisec_sdk-0.1.0a4.tar.gz.
File metadata
- Download URL: sentisec_sdk-0.1.0a4.tar.gz
- Upload date:
- Size: 30.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
309c6355304b1d718e660859736a82fc1f65b8aef03489e2a1be801ebc6c5eb0
|
|
| MD5 |
7764e3cd9b8686c26346b4c26a736aab
|
|
| BLAKE2b-256 |
a523d7038779ab9fccb444dffbac6139b1d56e2143e4b026198ac867813e859d
|
Provenance
The following attestation bundles were made for sentisec_sdk-0.1.0a4.tar.gz:
Publisher:
publish-sdk-py.yml on Hamza-Rivon/sentisec
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sentisec_sdk-0.1.0a4.tar.gz -
Subject digest:
309c6355304b1d718e660859736a82fc1f65b8aef03489e2a1be801ebc6c5eb0 - Sigstore transparency entry: 1549001123
- Sigstore integration time:
-
Permalink:
Hamza-Rivon/sentisec@648495f295a1b7b0314cc499ba6d6ce3effb198f -
Branch / Tag:
refs/tags/sdk-py-v0.1.0a4 - Owner: https://github.com/Hamza-Rivon
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-sdk-py.yml@648495f295a1b7b0314cc499ba6d6ce3effb198f -
Trigger Event:
push
-
Statement type:
File details
Details for the file sentisec_sdk-0.1.0a4-py3-none-any.whl.
File metadata
- Download URL: sentisec_sdk-0.1.0a4-py3-none-any.whl
- Upload date:
- Size: 38.5 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 |
eeb2e4771cddaed946fb89b611494517cc589ef0f9997c46ef686b999538fbb4
|
|
| MD5 |
f1b27f9fa0b81f655f2a88caa3b233aa
|
|
| BLAKE2b-256 |
dbd9e382e10c9ac63b8dfc41b9dfa610b803fe3f05d91acfc7f3aaefc14fb4b2
|
Provenance
The following attestation bundles were made for sentisec_sdk-0.1.0a4-py3-none-any.whl:
Publisher:
publish-sdk-py.yml on Hamza-Rivon/sentisec
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sentisec_sdk-0.1.0a4-py3-none-any.whl -
Subject digest:
eeb2e4771cddaed946fb89b611494517cc589ef0f9997c46ef686b999538fbb4 - Sigstore transparency entry: 1549001239
- Sigstore integration time:
-
Permalink:
Hamza-Rivon/sentisec@648495f295a1b7b0314cc499ba6d6ce3effb198f -
Branch / Tag:
refs/tags/sdk-py-v0.1.0a4 - Owner: https://github.com/Hamza-Rivon
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-sdk-py.yml@648495f295a1b7b0314cc499ba6d6ce3effb198f -
Trigger Event:
push
-
Statement type: