# Coval > Coval is the deployment-readiness platform for voice and chat AI agents: simulate conversations before launch, evaluate the production conversations you upload, and improve reliability with metrics, alerts, and human review. Supports inbound/outbound voice, standard chat, chat WebSocket, chat A2A, voice-to-voice (OpenAI Realtime, Gemini Live), SMS, WebSocket, Pipecat, and LiveKit agents. For most evaluations, the test case provides the simulated user's task and behavior, so `persona_prompt` can be left out. A persona prompt can be useful for additional personality or behavior shared across test cases. ## Overview - [Welcome](https://docs.coval.ai/welcome): What Coval does and who it's built for - [Conversations](https://docs.coval.ai/concepts/conversations/overview): How simulated and uploaded conversations fit together in Coval ## Simulated Conversations - [Simulated Conversations](https://docs.coval.ai/concepts/simulations/overview): Create conversations that test your agent before production - [Reports](https://docs.coval.ai/concepts/simulations/reports): Combine multiple runs into one view to compare across agents, personas, and other dimensions - [Agents](https://docs.coval.ai/concepts/agents/overview): Connect your voice and chat agents to Coval to launch simulated conversations - [Agent Mutations](https://docs.coval.ai/concepts/agents/mutations): Test agent configuration variants side-by-side in a single evaluation - [Personas](https://docs.coval.ai/concepts/personas/overview): Define who the simulated user is and how they sound - [Test Sets](https://docs.coval.ai/concepts/test-sets/overview): Define the scenarios you want to evaluate your agent against - [Create a Test Set](https://docs.coval.ai/concepts/test-sets/create): Generate test cases with AI, build them manually, or upload a CSV/Excel file - [Input Types](https://docs.coval.ai/concepts/test-sets/input-types): Scenario, transcript, or script — how tightly the simulated user follows your input - [Expected Behavior & Attributes](https://docs.coval.ai/concepts/test-sets/evaluation): Define how the agent should respond and attach per-test-case data for evaluation - [API Simulation Wrappers (Beta)](https://docs.coval.ai/concepts/test-sets/api-simulation-wrappers): Fetch data before each simulation and use the response in test case inputs - [Templates](https://docs.coval.ai/concepts/templates/overview): Save an evaluation configuration so you can re-launch or schedule it - [Runs & Schedules](https://docs.coval.ai/concepts/runs/overview): Tag your evaluations and run them on a recurring schedule - [Attributes](https://docs.coval.ai/concepts/attributes/overview): Use dynamic attributes from agents, test cases, and simulations in metric prompts and scenarios - [Versioning](https://docs.coval.ai/concepts/versioning/overview): How Coval keeps a version history for metrics, test sets, personas, and agents - [Benchmarks](https://docs.coval.ai/concepts/benchmarks/overview): Compare speech-to-text and text-to-speech providers on your own audio and text ## Agent Connection Types - [Inbound Voice](https://docs.coval.ai/concepts/agents/connections/inbound-voice): Configure agents that receive incoming phone calls and simulate inbound calls - [Outbound Voice](https://docs.coval.ai/concepts/agents/connections/outbound-voice): Configure agents that initiate phone calls to users - [Standard Chat](https://docs.coval.ai/concepts/agents/connections/chat): Connect a chat agent over a standard HTTP endpoint and simulate text conversations - [Chat WebSocket](https://docs.coval.ai/concepts/agents/connections/chat-websocket): Connect to text chat agents over a persistent WebSocket connection - [Chat A2A (JSON-RPC)](https://docs.coval.ai/concepts/agents/connections/chat-a2a): Connect to text chat agents that speak the A2A v2 JSON-RPC protocol - [OpenAI Realtime](https://docs.coval.ai/concepts/agents/connections/openai-realtime): Evaluate an OpenAI Realtime voice-to-voice agent without hosting your own endpoint - [Gemini Live](https://docs.coval.ai/concepts/agents/connections/gemini-live): Evaluate a Google Gemini Live voice-to-voice agent without hosting your own endpoint - [Grok Realtime](https://docs.coval.ai/concepts/agents/connections/grok-realtime): Evaluate an xAI Grok voice-to-voice agent without hosting your own endpoint - [Deepgram Voice Agent](https://docs.coval.ai/concepts/agents/connections/deepgram-voice-agent): Evaluate a Deepgram Voice Agent without hosting your own endpoint - [SMS Simulations](https://docs.coval.ai/guides/simulations/sms): Simulate SMS conversations with your agent - [WebSocket (Voice)](https://docs.coval.ai/concepts/agents/connections/websocket): Connect a real-time voice agent over WebSocket using configurable audio messages - [Pipecat Cloud](https://docs.coval.ai/concepts/agents/connections/pipecat): Connect your Pipecat Cloud agent to run voice AI simulations - [LiveKit](https://docs.coval.ai/concepts/agents/connections/livekit): Connect to LiveKit for advanced audio/video agents ## Evaluate - [Metrics](https://docs.coval.ai/concepts/metrics/overview): Turn a conversation into a measurable signal — what metrics are and where to go next - [Add your first metric](https://docs.coval.ai/concepts/metrics/quickstart): Create a metric and attach it to a run, end to end - [Choose a metric](https://docs.coval.ai/concepts/metrics/choose-a-metric): Find the right metric by what you want to measure - [Write judge prompts](https://docs.coval.ai/concepts/metrics/writing-judge-prompts): Prompt structure, examples, and techniques for reliable LLM-judge metrics - [Standard and Agentic LLM Judges](https://docs.coval.ai/concepts/metrics/judge-modes): Choose between Standard and Agentic mode for text-based LLM Judge metrics - [Configure metrics](https://docs.coval.ai/concepts/metrics/configuring-metrics): Template variables, transcript scope, and trace context for custom metrics - [Custom SQL Metrics](https://docs.coval.ai/concepts/metrics/sql-metrics): Query structured conversation data, return timestamped numeric values, and aggregate them into a metric - [Metric Chaining](https://docs.coval.ai/concepts/metrics/metric-chaining): Combine metrics into custom logic flows for more efficient and accurate evaluations - [Deterministic Metrics](https://docs.coval.ai/concepts/metrics/types/deterministic): Rule-based metrics — regex, field matching, and pattern checks - [Statistical Metrics](https://docs.coval.ai/concepts/metrics/types/statistical): Timing, signal, and acoustic measurements computed directly from a call - [ML Model Metrics](https://docs.coval.ai/concepts/metrics/types/ml-model): Metrics powered by purpose-built models — sentiment, voice consistency, transcription accuracy - [LLM Judge Metrics](https://docs.coval.ai/concepts/metrics/types/llm-judge): Configurable metrics that use an LLM to evaluate a transcript or recording against your own question - [Trace Metrics](https://docs.coval.ai/concepts/metrics/types/trace): Metrics derived from your agent's OpenTelemetry spans — latency, token usage, tool calls, transcription accuracy ## Analyze - [Uploaded Conversations](https://docs.coval.ai/concepts/uploaded-conversations/overview): Evaluate production conversations submitted to Coval - [Upload Conversation Data](https://docs.coval.ai/concepts/uploaded-conversations/uploading): Transcript and audio formats for uploading conversations to Coval for evaluation - [Attach Audio After a Call](https://docs.coval.ai/concepts/uploaded-conversations/async-audio-attach): Submit transcripts at call end and attach audio when the recording URL finalizes - [Add Metadata After a Call](https://docs.coval.ai/concepts/uploaded-conversations/add-metadata-after-submit): Attach metadata to a conversation after it has been submitted, for values produced by post-call analysis - [Dashboards](https://docs.coval.ai/concepts/dashboard/overview): Build dashboards to track agent metrics over time across simulated and uploaded conversations - [Alerts](https://docs.coval.ai/concepts/alerts/overview): Watch your metrics and get notified in Slack, email, or a webhook when results fall outside expected thresholds ## Traces - [Traces](https://docs.coval.ai/concepts/simulations/traces/overview): Send your agent's traces to Coval to evaluate what it did, not just what it said - [OpenTelemetry Traces](https://docs.coval.ai/concepts/simulations/traces/opentelemetry): Send traces from your agent to Coval using the OpenTelemetry SDK - [Tracing Skills](https://docs.coval.ai/concepts/simulations/traces/tracing-skills): Use Coval external skills to instrument, validate, optimize, and debug agent traces - [Tracing Wizard](https://docs.coval.ai/concepts/simulations/traces/wizard): Automatically add Coval OTel tracing to your Python voice agent with one command - [Import Traces from a Platform](https://docs.coval.ai/concepts/simulations/traces/imports): Connect Langfuse, Arize Phoenix, or LangSmith once and Coval imports traces automatically - [Twilio ConversationRelay + OTel Traces](https://docs.coval.ai/guides/simulations/twilio-conversationrelay): Add OpenTelemetry tracing to a Twilio Programmable Voice agent and correlate spans with Coval simulations - [Viewing Traces](https://docs.coval.ai/concepts/simulations/traces/viewing): Inspect a single call's spans in the trace viewer, and see where runs fail with Transition Hotspots - [Trace Search](https://docs.coval.ai/concepts/conversations/trace-search): Search across all traced calls with natural language queries, structured filters, and Transition Hotspots analysis ## Review - [Human Review Projects](https://docs.coval.ai/concepts/metrics/human-review/human-review): Set up reviewers and metrics, add conversations, and track review completion - [Human Review Insights and Annotations](https://docs.coval.ai/concepts/metrics/human-review/insights): Understand conversation patterns, reviewer consistency, and metric quality, then investigate the evidence behind your results - [Label Conversations](https://docs.coval.ai/concepts/metrics/human-review/how-to-review): Review conversation evidence, record consistent judgments, explain difficult cases, and complete your assignments - [Improving Metrics with Human Review](https://docs.coval.ai/guides/improving-metrics-with-human-review): Investigate differences between human and automated answers, revise a metric, and check the results - [Human Review via API](https://docs.coval.ai/guides/human-review-api): Create review projects, find pending annotations, and submit human answers through the API ## Cookbooks - [Handling User Authentication](https://docs.coval.ai/guides/handling-authentication): Make your simulated caller authenticate as a real user before the agent helps them - [Testing IVR](https://docs.coval.ai/guides/testing-ivr): Check whether your voice agent routes callers correctly through your phone menu - [Testing Across Audio Qualities](https://docs.coval.ai/guides/testing-across-audio-qualities): Compare performance across voices, styles, volume, interruptions, and background noise - [Testing Across Accents](https://docs.coval.ai/guides/testing-across-accents): Compare how a voice agent performs with callers across different accents - [Adversarial & Red-Team Testing](https://docs.coval.ai/guides/adversarial-red-team-testing): Test whether an agent stays safe and in-policy against prompt injection, jailbreaks, and social engineering - [Improving your LLM Judge](https://docs.coval.ai/guides/improving-your-llm-judge): Calibrate an LLM judge against human labels until its scores mean what they say - [Evaluating Tool Calls](https://docs.coval.ai/use-cases/evaluating-tool-calls): Use OpenTelemetry traces to validate what your agent's tools actually did ## Sofia - [Sofia](https://docs.coval.ai/sofia/overview): Use Sofia in Coval or through the Coval connector to investigate results and improve evaluation coverage - [Using Sofia](https://docs.coval.ai/sofia/using-sofia): Open Sofia, ask grounded questions, and turn evaluation findings into action - [Investigations](https://docs.coval.ai/sofia/investigations): Read the findings from Sofia's scheduled investigations on the Sofia AI page, work through the full history, and act on each one ## Reference - [API Keys](https://docs.coval.ai/guides/api-keys): Create and manage API keys to authenticate with the Coval API - [Workspaces](https://docs.coval.ai/guides/workspaces): Organize Coval resources into workspaces and select them in the app and API - [Keyboard Navigation](https://docs.coval.ai/guides/keyboard-navigation): Use Coval efficiently with the keyboard across lists, detail views, and the command palette - [GitHub Actions](https://docs.coval.ai/getting-started/github-actions-tutorial): Launch Coval evaluation runs from GitHub Actions ## API Reference - [API Reference](https://docs.coval.ai/api-reference/v1/introduction): Authentication, base URL, pagination, filtering, and error codes - [Conversation API compatibility](https://docs.coval.ai/api-reference/v1/conversations-compatibility): Map legacy conversation names and paths to the canonical API and CLI - [OpenAPI Specs](https://api.coval.dev/v1/openapi): Machine-readable API specifications ## CLI - [CLI](https://docs.coval.ai/cli/overview): Command-line interface for the Coval AI evaluation platform - [Installation & Configuration](https://docs.coval.ai/cli/installation): Install the Coval CLI and configure authentication - [Agent Mode](https://docs.coval.ai/cli/agent-mode): Run the CLI from autonomous agents with structured I/O, discovery, and next actions - [Agents](https://docs.coval.ai/cli/agents): Manage AI agent configurations - [Runs](https://docs.coval.ai/cli/runs): Launch and manage evaluation runs - [Simulated Conversations](https://docs.coval.ai/cli/simulated-conversations): View simulated conversation results and download audio - [Uploaded Conversations](https://docs.coval.ai/cli/uploaded-conversations): Submit and inspect production conversations - [Test Sets](https://docs.coval.ai/cli/test-sets): Manage test set collections - [Test Cases](https://docs.coval.ai/cli/test-cases): Manage individual test cases - [Personas](https://docs.coval.ai/cli/personas): Manage simulated personas - [Metrics](https://docs.coval.ai/cli/metrics): Manage evaluation metrics - [Mutations](https://docs.coval.ai/cli/mutations): Test agent variations with config overrides - [API Keys](https://docs.coval.ai/cli/api-keys): Manage API keys for programmatic access - [Human Review](https://docs.coval.ai/cli/human-review): Manage human review projects and annotations - [Run Templates](https://docs.coval.ai/cli/run-templates): Create reusable evaluation configurations - [Scheduled Runs](https://docs.coval.ai/cli/scheduled-runs): Schedule recurring evaluation runs - [Dashboards](https://docs.coval.ai/cli/dashboards): Create and manage dashboards and widgets - [Reports](https://docs.coval.ai/cli/reports): Save, merge, and read multi-run comparison reports with the Coval CLI - [Alerts](https://docs.coval.ai/cli/alerts): Manage alerts and their evaluation events with the Coval CLI - [Traces](https://docs.coval.ai/cli/traces): Search and inspect OpenTelemetry traces with the Coval CLI - [Tags](https://docs.coval.ai/cli/tags): Manage the tags used to label resources with the Coval CLI - [Workspaces](https://docs.coval.ai/cli/workspaces): Manage workspaces and run CLI commands inside a workspace with the Coval CLI ## SDKs - [SDKs](https://docs.coval.ai/sdks/overview): Typed TypeScript and Python clients generated from the public OpenAPI specs ## AI Agents - [Evaluations for Agents](https://docs.coval.ai/agents/overview): Give AI coding agents the tools and knowledge to evaluate AI quality via Skills, MCP, CLI, or API - [Guided Onboarding](https://docs.coval.ai/agents/onboarding): Run /onboard to set up a complete evaluation interactively - [Agent Skills](https://docs.coval.ai/agents/skills): Install evaluation expertise into your AI coding agent with one command - [Context7](https://docs.coval.ai/agents/context7): Access up-to-date Coval documentation directly inside AI coding agents via Context7 ## Coval Connector - [Coval Connector](https://docs.coval.ai/mcp/overview): Use Coval and Sofia from ChatGPT, Claude, Codex, and other MCP-compatible clients - [Installation](https://docs.coval.ai/mcp/installation): Install the Coval connector in ChatGPT, Claude, Codex, or another MCP client - [Tools Reference](https://docs.coval.ai/mcp/tools): Complete reference for all MCP server tools - [Connector Guide](https://docs.coval.ai/mcp/beginners-guide): A practical guide to using Coval and Sofia from an AI assistant - [Troubleshooting](https://docs.coval.ai/mcp/troubleshooting): Common installation, connection, OAuth, and tool issues for the Coval connector ## Optional - [Changelog](https://docs.coval.ai/changelog): Product updates and release notes