# Agent Evals Cost Metrics

> Measure agent quality and token costs with deterministic checks and usage tracking without using an LLM judge.

Agent Evals Cost Metrics is a paid AI agent skill on Agensi by Mohamed Mostafa Metawea, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9.99 (one-time purchase)
- Creator: [Mohamed Mostafa Metawea](https://www.agensi.io/creators/mohamed-mostafa-metawea)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0
- Last updated: 2026-12-01
- Security: scan passed (2026-11-30); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/agent-evals-cost-metrics
- Tags: llm-ops, token-tracking, cost-analysis, agent-benchmarking, quality-assurance

## About this skill

Measure an agent system with deterministic quality checks and token-based cost metrics: completion, non-empty, substance and source checks per role, per-agent usage, and a daily request count against a UTC-midnight quota, with clearly labelled assumed prices. It comes from a small Python reference app (AI Office) and was checked against that code.

### What it does
- Scores each task with simple checks: finished, not empty, long enough to be substantive, and has a source where the role needs one.
- Counts tokens per agent and estimates cost using prices you set and label as assumptions.
- Counts requests per day against a quota that resets at UTC midnight (50 a day for the OpenRouter free tier).
- Uses no extra model calls, so checks cost nothing on a free tier.

### How it works
The skill gives each check, the usage counters and the quota logic.

### Frameworks & tools
Plain Python with the standard library and SQLite. A written playbook, not an installable package.

### Use cases
- A quick quality floor for agent output.
- Watching usage against a free-tier daily limit.

### Known limitations
Deterministic checks can be gamed by filler: about 40 characters passes "substantive". Treat scores as a floor, not a grade. The source check only looks for a URL and does not verify what it says. Counters based on local logs miss calls made outside the app.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Agent Evals Cost Metrics skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill help me avoid the costs of an LLM judge?

This skill provides code based logic to measure output quality and calculate token costs without the high latency and expense of using an LLM as a judge. It solves the problem of non deterministic testing and avoids consuming your API quota on evaluation calls.

### What specific reports and metrics will I get after using this?

You will receive quality scores based on specific checks like content presence and character thresholds, along with granular reports on per employee token usage and estimated costs. The skill also produces a breakdown of task failures and tracks your daily request volume against UTC midnight quotas.

### What information do I need to provide for the cost tracking to work?

You need to provide your environment's assumed price per million tokens for both input and output to enable the cost accounting features. The skill uses these rates to calculate estimated costs across your agent runs and employees.

### What are the limitations of the quality scoring system?

These checks are deterministic and can be gamed by verbose filler text or empty language that meets the character count. Additionally, while it can verify the presence of URLs for researcher roles, it does not verify the factual accuracy of those sources.

### How do I ask my agent to start using these metrics?

Ask your agent to apply deterministic quality checks and token accounting to your recent tasks. You can also request a report on per employee usage or a check against your daily request quota.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
