Drop-in reliability observability for multi-agent AI workflows
Project description
sentinel-ai
Drop-in reliability observability for multi-agent AI workflows.
Install
pip install sentinel-ai
Quickstart
import sentinel
sentinel.init(api_key="sk_live_...")
# Decorator — add to any existing function
@sentinel.trace_step(name="research-agent", step_type="llm_call", workflow_name="My Pipeline")
def research_agent(query: str) -> dict:
return my_llm.run(query) # unchanged
# Auto-patch OpenAI client
sentinel.patch_openai(client, workflow_name="My Pipeline")
# Auto-patch Anthropic client
sentinel.patch_anthropic(client, workflow_name="My Pipeline")
# LangChain callback
cb = sentinel.LangChainCallback(workflow_name="My Pipeline")
llm = ChatOpenAI(model="gpt-4o", callbacks=[cb])
Get your API key at www.agentsentinelai.com/dashboard → ⚙️ Settings.
Integration patterns
| Pattern | Lines of code | Best for |
|---|---|---|
@sentinel.trace_step |
1 line per function | Standalone agent functions |
sentinel.patch_openai(client) |
2 lines total | Teams using OpenAI SDK |
sentinel.patch_anthropic(client) |
2 lines total | Teams using Anthropic/Claude SDK |
sentinel.LangChainCallback() |
1 line total | LangChain / LangGraph users |
sentinel.workflow() context manager |
5 lines total | Any existing pipeline |
What you see in the dashboard
| Tab | What you see |
|---|---|
| Workflows | Execution DAG: Agent A → B → C |
| Traces | Per-step latency, input/output payloads |
| Incidents | Auto-created when any step raises an exception |
| State | Shared state written by agents |
| Contracts | Validated handoffs between agents |
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
sentinelai_sdk-0.1.0.tar.gz
(12.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 sentinelai_sdk-0.1.0.tar.gz.
File metadata
- Download URL: sentinelai_sdk-0.1.0.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a41050f0eba38fa91ec03c4373a889bbb45339255b9adf3da6d5313208fbb6e
|
|
| MD5 |
8476409e3bf8a628203d758bc6558cb7
|
|
| BLAKE2b-256 |
63cb984b3e46247c651f32990589af102b84107969c32231b8640c31fe8726b7
|
File details
Details for the file sentinelai_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sentinelai_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3e94cfee216c9bfde411db34b6e6f9598486928b0f6f2f067f8a4fdf1d6af11
|
|
| MD5 |
e94c375513dd4334dadfd4186e7c148b
|
|
| BLAKE2b-256 |
84340f5f902618758b3cc318bc09141991aa52ed45d1ee2eea68b1f4888239d3
|