Test and benchmark LLM-powered AI agents before deployment
Project description
AgenticAssure
Test and benchmark your AI agents before they go live.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agenticassure-0.2.0.tar.gz.
File metadata
- Download URL: agenticassure-0.2.0.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa1912915be533e01a744bf515d01133f314ff6e716fae1d13ebbd4c4fe9d1ff
|
|
| MD5 |
69206bb83450ed2a99056edf3e1f9096
|
|
| BLAKE2b-256 |
e0e935d86e62c283c2a219250ce6604919280ef166af33a1672c46eb6152a0a5
|
File details
Details for the file agenticassure-0.2.0-py3-none-any.whl.
File metadata
- Download URL: agenticassure-0.2.0-py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8157cecbc3b33ddaa6dd465e544c297ea85c4601f8055c4429e1fd4b0102e432
|
|
| MD5 |
02b4673df6e9421818353778b64e7585
|
|
| BLAKE2b-256 |
7674000ea18cc2b285572e08c6b8e9f9596585d1d44fb745478138ee530aa231
|