OpenViSTAI · Agents · Blockchain · Crypto
Menu
Agent Evaluation & Observability

Agentsre

Agentsre is a Python library for SRE reliability instrumentation in agentic AI systems, with task-level indicators, semantic output validation, a chain circuit breaker and duplicate-write protection.

Independent OpenViST project profile, based on linked sources.

Agentsre — Multi-agent workflows where outputs should be checked before reaching an orchestrator
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Agentsre when a Python agent application can provide task-level records and you need operational signals about agent behavior, or when agent chains need semantic validation and write safeguards.

Who it is for

  • Developers instrumenting Python-based AI agent applications.
  • SRE and platform teams monitoring agent task behavior beyond HTTP status and infrastructure health.
  • Teams operating agent chains that need schema-based output checks or protection against repeated writes.

Documented uses

  • Collect task-class indicators for decision quality, tool-call efficiency, human escalations and approval queue drift.
  • Validate an agent's output against registered required fields and types before passing it along a chain.
  • Publish collected indicators to AWS CloudWatch.
  • Use semantic validation outcomes to control a circuit breaker or guard against duplicate write retries.
Before you choose

Requirements & limits

The repository is public and identifies the project as MIT-licensed. The README specifies Python 3.9 or later and pip installation.

  • The core collector requires the application to supply task fields such as confidence, tool calls, escalation and approval status.
  • CloudWatch publishing is an optional extra; the core package is described as having zero dependencies.
  • The quick start prints collected indicators, while alerting and dashboard handling are left to the integrating application.
  • Semantic schema validation requires the team to register expected fields and types.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Collect reliability indicators by task class

Record a task with Agentsre and collect its semantic reliability indicators.

Before you start

  • Python 3.9 or later
  • Install the core package with pip install agentsre
  • Task data including task ID, task class, tool calls, escalation and approval status, decision confidence, and completion status

Steps

  1. Import AgentSLICollector and TaskRecord from agentsre, then create a collector.

  2. Record a TaskRecord containing the task's fields.

  3. Call collector.collect with the task class to retrieve the indicators.

  4. Optionally check collector.breached for that task class and connect the result to an alert handler.

Expected outcome

Collected results for Decision Quality Rate, Tool Invocation Efficiency, Human Escalation Rate and Approval Queue Depth Drift.

Guide limitations

  • The collector depends on the application supplying task-level values, including decision confidence.
  • The documented quick start prints results; it does not configure a dashboard or alerting service.
Source-based practical guide

Publish collected indicators to AWS CloudWatch

Send collected task-class indicators to the documented CloudWatch destination.

Before you start

  • Python 3.9 or later
  • Install the AWS extra with pip install agentsre[aws], which adds boto3
  • A collector with task records to collect

Steps

  1. Collect indicators for a task class using the Agentsre collector.

  2. Import CloudWatchPublisher from agentsre.cloudwatch and create it with an agent ID.

  3. Pass the collected indicators to publisher.publish.

Expected outcome

The README describes publishing metrics under the AgentReliability namespace, with agent ID and task class dimensions.

Guide limitations

  • The guide documents the package call and destination structure, not AWS account or CloudWatch configuration.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
20 November 2026
Original website title
Ajay150313/agentsre · Official homepage title · retained in its source language