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://api.sentinel-sim.com",
)
# 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.1.tar.gz
(16.9 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.1.tar.gz.
File metadata
- Download URL: sentinel_sim-0.2.1.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c8b464c8ee99ed31c5efb32b7db82544d185ba4d8f569c83658e1d253aa4043
|
|
| MD5 |
7772b22e6ed8633b97dd6d238e650420
|
|
| BLAKE2b-256 |
a4c36ee6668a233ab2f84ff4a8ba63d9279db6de1683d2d84617cb150be7ed16
|
File details
Details for the file sentinel_sim-0.2.1-py3-none-any.whl.
File metadata
- Download URL: sentinel_sim-0.2.1-py3-none-any.whl
- Upload date:
- Size: 16.1 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 |
6da2be5512e9d6c60bb384c8d7fc0ecec18750c4eb0e49aa7f9f103bd9f684ff
|
|
| MD5 |
b5fc928c7fe12150b38d60bbabb648b1
|
|
| BLAKE2b-256 |
7694b7a65830dedf47fe25665a5d246373b5f649e0a90ea144ffd627dd0f129c
|