Agent Reliability OSS
Open-source reliability instrumentation for AI agents.
A stable, local-first Python SDK for measuring and testing whether agents meet explicit reliability objectives. No hosted account, API key, or mandatory runtime dependency.
Install
Reliability primitives, without a platform dependency.
Wrap one logical agent execution, evaluate the relevant outcome, and calculate local reliability against an SLO. The base package sends nothing over the network.
- Package
- agent-reliability
- License
- Apache-2.0
- Python
- 3.11 or newer
- Runtime dependencies
- None in the base install
Optional extras: otel (OpenTelemetry API bridge) and http (HTTP evidence exporter). The current release is listed on PyPI (opens in a new tab).
python -m pip install agent-reliabilityfrom agent_reliability.sdk import AgentReliability
sdk = AgentReliability()
with sdk.run(
agent_id="support-agent",
name="Support Agent",
version="1",
) as run:
# Run your agent, evaluate its outcome,
# and record explicit reliability evidence.
...What it provides
Build reliability semantics into the application boundary.
Explicit instrumentation
Sync and async contexts for one logical agent execution, without monkey-patching a framework.
Deterministic evaluation
PASS, FAIL, and UNKNOWN outcomes with evaluator identity, version, configuration, and provenance.
Local reliability
Exact aggregation, SLO evaluation, error budgets, burn rate, and measurement-health tracking.
OpenTelemetry bridge
Join an existing host trace while your application retains ownership of providers and exporters.
SDK and platform
What runs where.
The open-source Agent Reliability SDK can evaluate reliability objectives locally. Gentlity’s hosted platform and integration capabilities are being developed for controlled early-access use.
- Open source
Instrument and measure locally.
The SDK provides application-side instrumentation, evaluators, provenance, reliability calculations, and test/CI assertions. It works offline and does not require Gentlity. It does not capture prompts, responses, tool arguments or credentials automatically.
- Early access
Operate reliability over time.
The Gentlity platform adds persisted evidence, historical analysis, journey coverage, revisioned reliability policy, and recorded deployment decisions for teams. Enforcement stays in your delivery workflow. Platform availability is limited to early-access engagements.
Measure locally. Decide with evidence.
Start with the SDK, and talk to us when you want persisted evidence, coverage and recorded decisions.