Skip to main content

Test and benchmark LLM-powered AI agents before deployment

Project description

AgenticAssure

Test and benchmark your AI agents before they go live.

PyPI version License: MIT CI

AgenticAssure is an open-source SDK for testing, benchmarking, and validating LLM-powered AI agents. Define test scenarios in YAML, run them with Python, and get structured reports on agent quality, safety, and performance.


Quick Install

pip install agenticassure

For optional extras:

pip install agenticassure[similarity]   # semantic similarity assertions
pip install agenticassure[openai]       # OpenAI integration
pip install agenticassure[all]          # everything

Usage

1. Define a scenario in YAML

# scenarios/greeting.yaml
name: greeting-test
description: Verify the agent responds with a polite greeting

steps:
  - input: "Hello, who are you?"
    assertions:
      - type: contains
        value: "hello"
      - type: tone
        value: polite

2. Run with Python

from agenticassure import ScenarioRunner

runner = ScenarioRunner.from_yaml("scenarios/greeting.yaml")
result = runner.run(agent=my_agent)

print(result.passed)   # True / False
print(result.summary)  # Structured report

3. Or use the CLI

agenticassure run scenarios/greeting.yaml --agent my_agent

Features

Core (open-source)

  • YAML-based scenario definitions
  • Built-in assertion library (contains, regex, JSON schema, tone)
  • Semantic similarity assertions (optional)
  • CLI and Python API
  • Structured test reports with Rich output
  • OpenAI and LangChain agent adapters
  • Extensible plugin system

Pro (commercial)

  • Advanced HTML and PDF report generation
  • Multi-agent orchestration testing
  • Regression tracking and historical benchmarks
  • Slack and email notifications
  • Priority support and SLA

Project Structure

agenticassure/
  core/       # Open-source agenticassure package (MIT)
  pro/        # Commercial agenticassure-pro package

Development

# Clone the repo
git clone https://github.com/agenticassure/agenticassure.git
cd agenticassure

# Install core in dev mode
pip install -e "core[dev]"

# Run tests
pytest core/tests

# Lint and format
ruff check core/src
black --check core/src

Documentation

Full documentation is available at docs.agenticassure.com.

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

License

The core package is released under the MIT License. The pro package is available under a commercial license -- see pro/ for details.

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

agenticassure-0.3.0.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

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

agenticassure-0.3.0-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

Details for the file agenticassure-0.3.0.tar.gz.

File metadata

  • Download URL: agenticassure-0.3.0.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for agenticassure-0.3.0.tar.gz
Algorithm Hash digest
SHA256 483330ca13b27d109cfef797fa13e06169f87de223a111a4defb544f353770be
MD5 8caea4306cef95a64b09cc93055e00a3
BLAKE2b-256 267e0045c0be31d88b0106f833a61457e22e6f637f7244f4b36668384275dc92

See more details on using hashes here.

File details

Details for the file agenticassure-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: agenticassure-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 24.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for agenticassure-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 613ef35a4f707d77938733eff3457655a40fc8459beb84cce57cd690f41bf986
MD5 efaa930c23c9cccd2afbd5d0aacb95ed
BLAKE2b-256 c779a8f10f25fb4c2589c9fc90167921d22530abbc4135e1ac76b61ae21a996e

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