Python SDK for Sentinel SIM — AI agent tool routing, orchestration, and observability
Project description
sentinel-sim
Python SDK for Sentinel SIM — AI agent tool routing, orchestration, and observability.
Install
pip install sentinel-sim
Quick start
from sentinel import Sentinel
client = Sentinel(
api_key="sk_sentinel_...",
base_url="https://api.sentinel-sim.com",
)
# Any tool, any provider
result = client.execute("chat", "openai", {
"messages": [{"role": "user", "content": "Hello"}],
"model": "gpt-4o-mini",
}, provider_credentials={"openai": "sk-..."})
# Provider helpers
result = client.openai_chat([{"role": "user", "content": "Hello"}],
provider_credentials={"openai": "sk-..."})
# Agent chain orchestration
run = client.run(agent_id=1, payload={"task": "deploy a page"})
status = client.get_chain_execution(run["execution_id"])
Async
from sentinel import AsyncSentinel
async with AsyncSentinel(api_key="sk_sentinel_...") as client:
result = await client.openai_chat([{"role": "user", "content": "Hi"}])
HMAC signing
client = Sentinel(
api_key="sk_sentinel_...",
base_url="https://api.sentinel-sim.com",
hmac_secret="your-hmac-secret", # from key creation response
)
Providers
OpenAI, Anthropic, Gemini, Mistral, Cohere, Perplexity, DeepSeek, HuggingFace, GitHub, Vercel, Railway, Stripe, Resend, Cloudflare, Pinecone, Supabase, Neon, Twilio, GoDaddy, ElevenLabs, Replicate
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
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.3.0.tar.gz.
File metadata
- Download URL: sentinel_sim-0.3.0.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e9a620dfe59595eed2d3552d887a57f73fb3ce4df0b2db01d75db592e47ef88
|
|
| MD5 |
7d570f4edd2be5293cc446742faf9038
|
|
| BLAKE2b-256 |
8fb28e8b9f83ab0f76f70562269ca4d183c985436d56de6b64ae96d44e15578f
|
File details
Details for the file sentinel_sim-0.3.0-py3-none-any.whl.
File metadata
- Download URL: sentinel_sim-0.3.0-py3-none-any.whl
- Upload date:
- Size: 17.4 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 |
85cd9606ccd39038e593e5e543f373a28f840ed04b1ab7bd811a86d27f821df2
|
|
| MD5 |
b54ef83c218ce825d6addf75441cf1ee
|
|
| BLAKE2b-256 |
8b41ff97a26318b934f2ce8338cb1a6d91c04132c643485ca5f3498ddbd598f4
|