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.0a0.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.0a0-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agenticassure-0.3.0a0.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.0a0.tar.gz
Algorithm Hash digest
SHA256 2ab91d1533cd9f32d1479f29dcedeedb3988d4a631f07905ddaafe9a827f01e6
MD5 c389de44245847e32525910cace0a389
BLAKE2b-256 880641ebd6bc1a7c26f5cab3ab97754c83bb340f6534461f53751be5cd3c077f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agenticassure-0.3.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 562eaa1458f45b3842427ac58aa79fd7b8e8b45480718f14880ca3415e55a82b
MD5 b282f7367c8b89fdc58ea467ceb65702
BLAKE2b-256 7516540e16f6c6750af7b79817904270aa7923e100f50fc6dde7d768bf5bbb82

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