Skip to main content

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

Metadata

Release files for ariadx 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ariadx 0.1.0
File Size Uploaded Provenance
ariadx-0.1.0.tar.gz 44.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ariadx 0.1.0
File Interpreter ABI Platform
ariadx-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 100.0 kB

Release files / ariadx-0.1.0.tar.gz

Download URL ariadx-0.1.0.tar.gz
Size 44.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ad082a4961712ee95e09d804702cb839e1d81ed066b4306caf18dda1dfa04282
BLAKE2b-256 checksum
How to use checksums
f111262e5d66bc134ef6cbf061be437bd26378fb7b346e5d159cff193fe8936a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.0

Release files / ariadx-0.1.0-py3-none-any.whl

Download URL ariadx-0.1.0-py3-none-any.whl
Size 55.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d66a5391f002472d5d96973a1142d3d6bf79086a4f1aafab5ff11c4bd935802
BLAKE2b-256 checksum
How to use checksums
31f4e903eef0d580f176ab7cbad947386a30473a2451832b95e41180e54e9bbf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.0

Security for ariadx 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page