Skip to main content

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 raises NotImplementedError pointing at the tracking task — install the 0.1.0 (non-alpha) release for the working client.

Documentation

License

Apache License 2.0. See LICENSE.

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

sentisec_sdk-0.1.0a1.tar.gz (29.4 kB view details)

Uploaded Source

Built Distribution

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

sentisec_sdk-0.1.0a1-py3-none-any.whl (37.0 kB view details)

Uploaded Python 3

File details

Details for the file sentisec_sdk-0.1.0a1.tar.gz.

File metadata

  • Download URL: sentisec_sdk-0.1.0a1.tar.gz
  • Upload date:
  • Size: 29.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sentisec_sdk-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 b0e9f8d4ff1602683dbf9bb70579ce243ac4d2530a2fce48808e9b4be1e13fd9
MD5 9fc557e5f7157957e52f68067667dcc0
BLAKE2b-256 2e670c0bf254a4a54e0c92d6c05489203a136a16e5a95a4928eb7d91df8d4e16

See more details on using hashes here.

Provenance

The following attestation bundles were made for sentisec_sdk-0.1.0a1.tar.gz:

Publisher: publish-sdk-py.yml on Hamza-Rivon/sentisec

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

File details

Details for the file sentisec_sdk-0.1.0a1-py3-none-any.whl.

File metadata

  • Download URL: sentisec_sdk-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 37.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sentisec_sdk-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 abc74b521d60514dc15d083895b71a6e8488a7e5a7ee382eba8dd8cacbdfe3d6
MD5 7d008016db1416a0a98581cf3ecc0e14
BLAKE2b-256 59b8ee071f3c0151e405914ef2968704dcb578adeac2d73ddf60ab5c50367d77

See more details on using hashes here.

Provenance

The following attestation bundles were made for sentisec_sdk-0.1.0a1-py3-none-any.whl:

Publisher: publish-sdk-py.yml on Hamza-Rivon/sentisec

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