Metadata-Version: 2.4
Name: sentisec-sdk
Version: 0.1.0a0
Summary: Sentisec public SDK — cognitive integrity monitoring for autonomous agents (thin client).
Project-URL: Homepage, https://sentisec.ch
Project-URL: Documentation, https://docs.sentisec.ch
Project-URL: Support, https://sentisec.ch
Author-email: Sentisec <hello@sentisec.ch>
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: agent-monitoring,ai-safety,anthropic,llm,openai,sentisec
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.11
Requires-Dist: httpx>=0.27
Requires-Dist: pydantic>=2.9
Provides-Extra: anthropic
Requires-Dist: anthropic>=0.40.0; extra == 'anthropic'
Provides-Extra: dev
Requires-Dist: build>=1.2; extra == 'dev'
Requires-Dist: mypy>=1.10; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.6; extra == 'dev'
Provides-Extra: openai
Requires-Dist: openai>=1.54.0; extra == 'openai'
Description-Content-Type: text/markdown

# sentisec-sdk

Public Python SDK for [Sentisec](https://sentisec.ch).

`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

```sh
pip install sentisec-sdk
```

Python 3.11+ is required.

## Quick start

```python
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:

```sh
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

- 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](./LICENSE).
