ariadx
Diagnose why AI agents fail — not just that they failed.
ARIA (Autonomous Reflective Intelligence Architecture) ingests any agent trace — LangGraph, OpenAI, or raw tool calls — and produces a structured failure report: which requirements were missed, what behavioral failure occurred, and what to fix.
pip install ariadx
Three-line diagnosis
from aria.sdk import diagnose
report = diagnose(
task="Find the population of France and save it to population.txt",
tool_calls=[{"tool_name": "web_search",
"tool_args": {"query": "population of France"},
"tool_result": "67.8 million (2024 estimate)..."}],
final_output="The population of France is 67.8 million.",
)
print(report["failure_class"]) # e.g. "goal_misalignment"
print(report["requirement_satisfaction"]) # e.g. 0.5 — file was never saved
What you get back
{
"failure_class": "goal_misalignment",
"confidence": 0.84,
"requirement_satisfaction": 0.43,
"requirements": ["calculate compound interest", "show the formula", "save to results.txt"],
"requirements_satisfied": [true, true, false],
"evidence": ["Requirement not satisfied: 'save to results.txt'"],
"suggested_action": "Add explicit success criteria and require the agent to verify them."
}
Failure taxonomy
| Class | What it means |
|---|---|
prompt_drift |
Trajectory diverges from the original goal over turns |
tool_misuse |
Wrong tool, wrong args, or tool errors |
context_overflow |
Repeats completed steps; context lost |
hallucination_loop |
Asserts facts without grounding (caught by independent web verification) |
goal_misalignment |
Task "completed" but requirements not satisfied |
Validated on real data
- 91%+ failure-detection precision on the GAIA benchmark
- 78% human agreement on failure classification (50 human-labeled real-world runs)
- Built on a 5-class behavioral failure taxonomy validated across 1,200 synthetic + 90 real agent traces
Framework adapters
from adapters.langgraph_adapter import diagnose_langgraph_trace
from adapters.openai_adapter import diagnose_openai_trace
Runtime API + dashboard
pip install "ariadx[api]"
uvicorn api.main:app --port 8000 # REST API with /diagnose, /run, /feedback, /dashboard
Links
- Source & docs: https://github.com/AyushSingh110/ARIA
- License: Apache 2.0
- Research: paper targeting ICLR 2026 workshop / ACL 2026 System Demonstrations
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ariadx-0.1.0.tar.gz
(44.8 kB
view details)
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
ariadx-0.1.0-py3-none-any.whl
(55.2 kB
view details)
File details
Details for the file ariadx-0.1.0.tar.gz.
File metadata
- Download URL: ariadx-0.1.0.tar.gz
- Upload date:
- Size: 44.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad082a4961712ee95e09d804702cb839e1d81ed066b4306caf18dda1dfa04282
|
|
| MD5 |
a72ae04b108ce8420880fb8372a43bc0
|
|
| BLAKE2b-256 |
f111262e5d66bc134ef6cbf061be437bd26378fb7b346e5d159cff193fe8936a
|
File details
Details for the file ariadx-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ariadx-0.1.0-py3-none-any.whl
- Upload date:
- Size: 55.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d66a5391f002472d5d96973a1142d3d6bf79086a4f1aafab5ff11c4bd935802
|
|
| MD5 |
0999838dfd8ce74582bc84eeaa3bedc8
|
|
| BLAKE2b-256 |
31f4e903eef0d580f176ab7cbad947386a30473a2451832b95e41180e54e9bbf
|