Koskamo

Investigate AI agent production failures

The user receives a detailed breakdown of why an agent run failed, including cost attribution, tool call details, and quality scoring, enabling rapid debugging of production incidents.

How it works

Read-onlyOperations and infrastructure

The agent queries the AgentPing MCP server to retrieve logs and metrics for specific agent runs. It identifies failures by checking for error states, high costs, or quality score drops. The agent then synthesizes this data to explain the root cause, such as a silent scheduler failure or a tool call succeeding at the wrong task, allowing the user to fix the issue.

Prompt

Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.

Prompt for Investigate AI agent production failures
Analyze the recent agent runs in AgentPing to identify any failures. For each failure, report the cost, the specific tool calls made, and the quality evaluation score. Explain why the run failed based on the instrumentation data.

MCP servers it needs

Source

The vendor page this playbook is drawn from, and the passage that supports it.

Connect Agent Ping to any MCP-compatible assistant and ask it what failed, what a run cost, what the evaluation said, and on paid plans have it acknowledge the incident and tune the rule.
Blog: AI Agent Cost, Monitoring and Quality - Agent Ping

Each playbook is drawn from the vendor page it cites and reviewed by Koskamo before it is published. Koskamo does not run these servers or your agent: check what each tool will do before you let it act on your accounts.