Python SDK for Sentinel SIM — AI agent governance, tool routing, and observability
Project description
sentinel-sim
Python SDK for Sentinel SIM — the infrastructure layer for AI agent tool calls.
Route any tool call through Sentinel with full observability, policy enforcement, and budget control.
Install
pip install sentinel-sim
Quick start
from sentinel import Sentinel
client = Sentinel(
api_key="sk_agent_...", # from dashboard.sentinel-sim.com
base_url="https://web-production-90bb3.up.railway.app",
)
# Chat via OpenAI
result = client.openai_chat([
{"role": "user", "content": "Hello!"}
])
# Deploy to Vercel
result = client.vercel_deploy("my-app", files=[
{"file": "index.html", "data": "<h1>Hello</h1>"}
])
# Create a GitHub repo
result = client.github_create_repo("my-repo", private=True)
# Deploy a Railway service
result = client.railway_create_project("my-project")
Async support
from sentinel import AsyncSentinel
import asyncio
async def main():
async with AsyncSentinel(api_key="sk_agent_...") as client:
result = await client.openai_chat([{"role": "user", "content": "Hi"}])
asyncio.run(main())
Supported providers
| Provider | Tools |
|---|---|
| OpenAI | chat, embedding, image_generation, transcription |
| Anthropic | chat, vision, tool_use, streaming |
| GitHub | create_repo, push_file, create_issue, create_pr |
| Vercel | deploy, manage_project, manage_domain |
| Railway | create_project, create_service, deploy_service, upsert_variables |
| Stripe | create_payment_intent, create_customer, create_refund |
| Replicate | image_generation, model inference |
| Resend | send_email |
Links
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
sentinel_sim-0.2.0.tar.gz
(16.6 kB
view details)
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 sentinel_sim-0.2.0.tar.gz.
File metadata
- Download URL: sentinel_sim-0.2.0.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de5ef4363474c3c641155fe3af61dd2784c2de10486c7e16d15507eb243f75c4
|
|
| MD5 |
06a16914bf555e9e0b876ecd62a0d9a2
|
|
| BLAKE2b-256 |
4c2f9c9ba06d8464de12c55ec82831a494cf98781df85a36697d53e64f697d04
|
File details
Details for the file sentinel_sim-0.2.0-py3-none-any.whl.
File metadata
- Download URL: sentinel_sim-0.2.0-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b776c88ff0fddb2bb5a7bdb4887d45fea23ef95b692cfc4ec67d1e10cdefd4a
|
|
| MD5 |
925dd8e4d59320add62da9dd14289846
|
|
| BLAKE2b-256 |
b38a7b55bbff8f9c399176e54ac40558ad380208adaffa9e35d5c9f1d77f0281
|