Koskamo

Audit agent performance metrics

Receive a detailed diagnostic report on agent costs, latency, and quality to identify performance bottlenecks and optimize operational efficiency.

How it works

Read-onlyOperations and infrastructure

The agent prepares an audit configuration file containing agent records and ensures the ALPNAI_AGENT_KEY environment variable is set. It connects to the MCP server, discovers available tools, and calls audit_agent_costs with the prepared data. The agent must handle JSON-RPC errors and check for result.isError before reading the report. It inspects the decision and gates for each workflow to understand the diagnosis. The agent should keep action execution separate from report reading and verify that the ALPNAI key does not grant spending authority.

Prompt

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

Prompt for Audit agent performance metrics
Connect to the ALPNAI MCP server and run an audit on my agent's performance. Use the audit.json file in the current directory for the input data. Call the audit_agent_costs tool and return the structuredContent of the report. Ensure you handle any JSON-RPC errors and check for result.isError before presenting the findings.

MCP servers it needs

Source

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

audit_agent_costs, analyze_agent_latency and check_agent_quality run Spend Proof, Latency Lab and Quality Gate respectively, free with an active key.
ALPNAI — Connect an agent with MCP

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.