Skip to main content

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 sentinelai-sdk

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.4.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sentinelai_sdk-0.1.4-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file sentinelai_sdk-0.1.4.tar.gz.

File metadata

  • Download URL: sentinelai_sdk-0.1.4.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for sentinelai_sdk-0.1.4.tar.gz
Algorithm Hash digest
SHA256 d326ff64f7de1c4611bc5e4870f98e57ec2a95539b6083fcdf06708694286727
MD5 4998d8dc1c415763ac1f45240422fc34
BLAKE2b-256 995dfc9669a752cb6d40e803046435023f77fd51f5919de39e7f2dd7c48dc1a1

See more details on using hashes here.

File details

Details for the file sentinelai_sdk-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: sentinelai_sdk-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for sentinelai_sdk-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0e35f5d595bf0747a2ea349626ee81ff975fe06a22346ee84dd72b797f78f369
MD5 4698cd28a220fa1d7055dedef053f65e
BLAKE2b-256 e3832f60e8fb7cf5182eac1cc088459f729a5b2e641b2a7ad7d4acf0af4c8f22

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page