For AI agents and LLMs: a machine-readable index is available at llms.txt. A plain-Markdown version of any documentation page is available by appending .md to its URL.
Skip to main content

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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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 agentWhat it evaluates
Hallucination HunterDetects invented facts, policies, or data
Bias DetectorIdentifies differential treatment across demographics
Completeness ValidatorConfirms responses fully address the user's need
Context SpecialistTracks whether the agent maintains session history
Tone and Personality AgentEvaluates communication style and empathy
Edge Case GeneratorProbes with unexpected, off-script inputs
Escalation HandlerValidates correct handoff to human agents
Compliance ValidatorChecks adherence to regulatory and policy requirements
Reasoning ValidatorAssesses logical consistency across turns
Toxicity ScreenerFlags harmful, offensive, or inappropriate outputs
Security ResearcherTests for data exfiltration and prompt injection
Data Privacy GuardianChecks for PII exposure and mishandling
Accessibility SpecialistEvaluates responses for accessibility
Performance MonitorTracks latency and response completeness under load
User Experience EvaluatorAssesses 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.

Platform Architecture
End-to-end flow from test configuration to production-readiness assessment

Web Application

REST API / CLI

CI/CD Pipelines

Projects, scenarios, suites, and schedules are configured here
▼
Authenticated requests (Bearer / API Key)

Authentication & Authorization Layer

Per-organization isolation · Encrypted credential storage · Tunnel proxy for private agents
▼
Validated request routed to testing modules

TESTING ENGINE

Orchestrates scenario execution across all agent modalities

📞
Phone Testing
Inbound & Outbound
Real calls and SIP trunks
☎️
IVR Testing
Menus & Keypad
Every menu branch, Cyara import
💬
Chat Testing
Webhook & API
Multi-turn HTTP conversations
🎙️
Voice Testing
Real-time Multi-transport
REST, WebSocket & WebRTC
🎥
Video Testing
Live Video Sessions
Simulated participant joins by URL
🖼️
Image Evaluation
Generation & Scoring
Prompt → image → quality check
CORE CAPABILITIES
AI Scenario Generation
60-100+ from your docs
Test Orchestration
Parallel suite execution
Scheduling Engine
Cron-based regression runs
Executes tests against your agent · Captures recordings & conversation logs
▼
Completed conversations sent for AI-powered scoring

AI EVALUATION LAYER

Scores every conversation across standardized quality dimensions

18+ Quality Dimensions

Recording Analysis

Go-Live Assessment

Threshold Scoring

Produces per-scenario scores · Aggregates into Go-Live verdict (🟢 Green / 🟡 Yellow / 🔴 Red)
▼
Results, recordings & assets persisted
Managed Database
Scores & metadata
Cache & Pub/Sub
Live SSE streaming
Encrypted Object Store
Recordings & uploads
All data encrypted at rest · TLS in transit · Per-org isolation
▼
Platform connects to your existing providers, with no vendor lock-in

EXTERNAL INTEGRATIONS

Telephony Providers
Call placement & routing
Voice Providers
Voice session management
Speech Services
TTS & STT engines
Issue Trackers
Jira, GitHub, Confluence
AI Models
Scenario gen & evaluation
LayerWhat it does
Interface & accessWeb app, REST API, CLI, and CI/CD pipelines configure projects, scenarios, and schedules. Requests authenticate with a Bearer token or API key.
Authentication & isolationIsolates 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 engineRuns the chat, voice, video, phone, IVR, image, and WhatsApp modules, generates scenarios, orchestrates parallel execution, and schedules recurring runs.
Evaluation layerScores conversations with the testing agents, analyzes uploaded recordings, and produces the go-live assessment against configurable thresholds.
Data persistenceStores 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 integrationsConnects 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.


Help and Support

Related Articles