How the TestMu AI Agent Testing Platform Evaluates Agents
The TestMu AI Agent Testing Platform runs every evaluation through five phases: configure context, generate scenarios, run the testing agents, score each interaction, and return a production readiness verdict. 15+ specialized testing agents drive it, each probing one quality dimension, all in parallel against your agent's real endpoint.
You run it from one hosted web application, the REST API, the CLI, or a CI/CD pipeline. There is no SDK to install and no local infrastructure to operate.
How the Five-Phase Evaluation Loop Works
Every run follows the same path, from the context you upload to a go or no-go verdict. The phases always execute in order.
-
Configure agent context. Upload the documents that describe the agent (PDF, DOCX, images, audio, video, JIRA tickets, Confluence pages), write the agent prompt that defines correct behavior, and add instructions, constraints, or focus areas for the run.
-
Generate scenarios. The platform generates 60 to 100+ test scenarios from that context, distributed across happy-path flows, edge cases, adversarial inputs, persona-specific scenarios, and compliance checks.
-
Run autonomous evaluation. 15+ specialized testing agents interact with your agent through its real channel, in parallel: a chat API, a voice endpoint, a phone number or SIP trunk, an IVR menu, or a video session URL.
-
Score each interaction. Every scenario is scored per metric with a pass or fail result, a confidence level of High, Medium, or Low, and an evidence excerpt from the conversation. Scores aggregate per metric across the run.
-
Return a readiness verdict. All scores roll up into a single Green, Yellow, or Red production readiness verdict.
The agent prompt in phase one is the evaluation baseline. It tells the platform what a correct response looks like, so the quality of the verdict depends on how precisely you define it.
The same scoring also runs on production data. Uploaded chat transcripts (Post mode) and phone call recordings (Post Analysis) skip phases 2 and 3 and are scored like test conversations. Chat transcripts are judged against your requirement documents.
What the Specialized Testing Agents Evaluate
The platform does not rely on a single evaluator. 15+ testing agents each own one quality dimension, the way a review panel produces a more reliable assessment than one reviewer. They run against the same conversation in parallel.
| Testing agent | What it evaluates |
|---|---|
| Hallucination Hunter | Detects invented facts, policies, or data |
| Bias Detector | Identifies differential treatment across demographics |
| Completeness Validator | Confirms responses fully address the user's need |
| Context Specialist | Tracks whether the agent maintains session history |
| Tone and Personality Agent | Evaluates communication style and empathy |
| Edge Case Generator | Probes with unexpected, off-script inputs |
| Escalation Handler | Validates correct handoff to human agents |
| Compliance Validator | Checks adherence to regulatory and policy requirements |
| Reasoning Validator | Assesses logical consistency across turns |
| Toxicity Screener | Flags harmful, offensive, or inappropriate outputs |
| Security Researcher | Tests for data exfiltration and prompt injection |
| Data Privacy Guardian | Checks for PII exposure and mishandling |
| Accessibility Specialist | Evaluates responses for accessibility |
| Performance Monitor | Tracks latency and response completeness under load |
| User Experience Evaluator | Assesses overall user journey quality |
How the Platform Red-Teams Your Agent
Agent Testing red-teams AI agents with adversarial scenario suites aligned to the OWASP Top 10 for LLM applications: prompt injection (LLM01), sensitive information disclosure and PII leakage (LLM02), improper output handling (LLM05), excessive agency (LLM06), system prompt leakage (LLM07), misinformation (LLM09), data exfiltration, jailbreak, and policy violations.
- Chat agents face a live adversarial attacker across seven attack types: business logic, hallucination, hijacking, prompt injection, technical injection, overreliance, and off-topic. The attacker and the grader are separate, so the score is not influenced by how hard the attacker pushed, and a run that cannot be judged is reported as inconclusive rather than passed.
- Phone caller agents get red team scenarios generated from the agent's own prompt. The platform identifies the rules the agent must follow, attacks those rules, and prioritizes rules not yet covered. Each finding links to the moment in the call recording. Their reports use the OWASP Agentic Top 10 categories ASI03 (identity), ASI06 (made-up history), and ASI09 (fake approval or pressure) alongside the OWASP LLM Top 10, with LLM10 Unbounded Consumption added, and a radar chart shows the pass rate for each risk category. See Red Teaming for Phone Caller Agents.
Toxicity, bias and harmful-content generation are evaluated as first-class metrics across the tested persona set. Every finding is evidence-backed. The specific conversation turns that triggered a flag are preserved with per-turn attribution and confidence intervals, exportable for regulatory documentation, and the A2A CLI runs the same scenarios in CI so security testing gates every release.
How the Platform Architecture Layers Fit Together
The platform is a single hosted web application. A request flows through six layers, from the interface you configure in to the external providers that place calls and run models.
Web Application
REST API / CLI
CI/CD Pipelines
Authentication & Authorization Layer
TESTING ENGINE
Orchestrates scenario execution across all agent modalities
AI EVALUATION LAYER
Scores every conversation across standardized quality dimensions
18+ Quality Dimensions
Recording Analysis
Go-Live Assessment
Threshold Scoring
EXTERNAL INTEGRATIONS
| Layer | What it does |
|---|---|
| Interface & access | Web app, REST API, CLI, and CI/CD pipelines configure projects, scenarios, and schedules. Requests authenticate with a Bearer token or API key. |
| Authentication & isolation | Isolates data per organization, keeps tokens, cookies, and API keys in a credentials vault that resolves them only at run time, and reaches private agents through a secure tunnel proxy. |
| Testing engine | Runs the chat, voice, video, phone, IVR, image, and WhatsApp modules, generates scenarios, orchestrates parallel execution, and schedules recurring runs. |
| Evaluation layer | Scores conversations with the testing agents, analyzes uploaded recordings, and produces the go-live assessment against configurable thresholds. |
| Data persistence | Stores scores and metadata in a managed database, streams live run status over server-sent events, and keeps recordings and uploads in encrypted object storage. |
| External integrations | Connects telephony and voice providers, speech-to-text and text-to-speech engines, issue trackers (Jira, GitHub, Confluence), Slack and email notifications, voice agent platforms whose prompt and tools it imports for tool call checks (ElevenLabs, Retell, Vapi, Salesforce Agentforce, Amazon Connect, and Cartesia), Test Manager and HyperExecute for post-call web tests, and the AI models used to generate and score. |
How the Platform Reaches Your Agent
The testing agents talk to your agent through the same interface real users do. The transport depends on the agent type.
- Chat: HTTP requests to your API endpoint, or a WebSocket connection.
- Voice: a real-time voice session over REST, WebSocket, or WebRTC. WebRTC covers LiveKit-hosted agents, and agents built on Deepgram Voice Agent connect through the Deepgram Voice Agent option in a voice endpoint profile.
- Video: a simulated participant with a rendered face and voice joins your agent's session from its web URL.
- Phone inbound: a real phone call placed to the agent's number, or to a SIP trunk.
- Phone outbound: a number reserved from an outbound pool, which the agent calls and the platform answers and scores.
- IVR: a real phone call that navigates the menu with speech and keypad tones.
- Image: prompts or images submitted to the generation endpoint.
Agents on a private network are reached through the secure tunnel, so the endpoint never needs a public URL.
What the Metrics and Verdict Produce
The testing agents score chat and voice agents across 9 quality metrics and phone agents across 42 call quality metrics. Each phone call also gets an overall verdict of Pass, Fail, or Review incomplete, and its validation criteria are Pass or Fail only. Video agents get pillar scores from 0 to 10, and image outputs get a quality score from 0 to 100. Chat and phone agents can also be graded on custom metrics, plain-language checks for your own business rules. Each score carries a confidence level based on how many scenarios backed it. See Features & Metrics for every metric by agent type.
The verdict is a deployment decision, not just a number. Green clears the agent for production, Yellow flags specific issues to fix first, and Red blocks deployment. Every verdict links back to the conversation turns that drove it, so a failing result points straight at the fix.
Related TestMu AI Guides
- See how to run your first evaluation from the dashboard.