More screenshots

    Works with the AI Agents you already use

    Agent Failure Analyzer: Find Why AI Agent Runs Fail

    by AGI Tools

    1

    Find why your AI agent runs fail from their real logs: tool errors, rate limits, context overflows and cut-off answers grouped into ranked root causes, with confidence levels and a CI gate.

    $9.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Agent Failure Analyzer: Find Why AI Agent Runs Fail

    Agent Failure Analyzer: Find Why AI Agent Runs Fail

    Example session with this skill installed

    Why did my support agent's runs fail last week? The exported logs are in logs/week-47.jsonl.

    • Read your context and instructions
    • Compiled the agent failure analyzer

    Week 47 (included demo, invented data): 14 of 27 runs failed (51.8%); exit code 1 with --fail-above 0.05.

    Top root causes

    1. tool_error in check_inventory, 'inventory service timeout after

    ms (request <id>)': 4 runs, medium confidence; 2 of them retried at once and failed again (repeat); 2 other runs recovered by themselves.

    1. api_error, rate limit (HTTP 429): 3 runs, high confidence.
    2. truncated_output at the output token limit: 2 runs, high confidence.
    3. unknown_tool refund_order (never declared): 1 run; its error result and the empty answer that follow are downstream.
      Also: a context overflow, broken argument JSON, a content-filter stop, and one transcript that stops right after an error (low confidence). For review only: 1 refusal, 1 polling loop, 1 unexplained failure. 1 cut-off line skipped.
      Week 48 after the fixes: 1 of 27 runs failed (3.7%), the context overflow; 6 runs recovered from a first error; exit 0.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Agent runs fail for a handful of reasons, but in logs they look like thousands of different errors: every timeout has its own duration, every rate limit its own request id. Agent Failure Analyzer reads your agent's real logs (OpenAI Chat Completions or Responses API, Anthropic Messages, chat transcripts) with a real Python program, finds the failure signals in every run and groups them into a short, ranked list of root causes.

    It tells the first failure of a run apart from what followed it, failed retries from errors the agent recovered from, and gives every cause a confidence level, so you fix the right thing first.

    Signals: tool errors and timeouts, API errors and rate limits, context overflows, answers cut at the token limit or stopped by a content filter, empty answers, undeclared tools and broken argument JSON. Refusals, call loops and unexplained failures are listed for review, never counted as failures.

    Use --fail-above in CI to block a release when too many runs fail. Runs locally on Python 3.9+, standard library only, no API key; secrets and emails in excerpts are masked, and --no-values leaves excerpts out.

    Built by AGI Tools. Not affiliated with Agensi, Anthropic or OpenAI.

    It reads logs only and cannot see failures that left no trace; answers that report one are listed as unexplained.
    Causes are inferred from the order of the signals; read the example records before concluding.
    Tool errors are recognised from error flags, JSON error fields and common error openings.
    Masking covers the listed secret formats only; use --no-values to leave every excerpt out.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 6 days ago

    Software
    Python 3.9+

    Exported logs of your agent (JSONL or JSON). The skill itself needs no account, package or API key.

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Environment Variables

    File Scopes

    **/*.jsonl
    **/*.json
    **/*.md

    Terminal: runs scripts/analyze.py with Python. Read: the log files you name. Write: the report folder you name. Environment variable SOURCE_DATE_EPOCH (optional) fixes the report date for reproducible reports. No network access.

    Listed7 days ago

    What's inside

    Frequently Asked Questions

    No. It reads the local files you name and makes no network connection.

    OpenAI Chat Completions and Responses API request/response logs, Anthropic Messages logs and chat transcripts, as JSONL or JSON. Other shapes must be exported to one of these first.

    It is the earliest confirmed failure of the run, the most likely root cause. Each cause carries a confidence level and example records to check.

    Yes: --fail-above exits 1 above the failure rate you set, and when no run could be read.

    No. It finds failures recorded in the logs. To test answer quality, build evals from your logs.

    New in Testing & Debugging

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.