Custom evaluation agent creation
Arize AI and DeepEval are nearly even for creating custom evaluation agents and criteria.
Since Oct 7Data through Nov 21, 2026Based on 9 AI answersAutomated index
Brands AI mentions
Also mentioned rarely: DeepEval, OpenAI API, OpenAI Evals, Python, OpenAI Platform, LangChain, OpenAI Agents SDK, Langfuse, Promptfoo, OpenInference, Splunk, LangChain LangGraph, CrewAI, LlamaIndex
- OpenAIChatGPTChatGPT 80%Google AI ModeGoogle AI Mode 0%
- LangSmithChatGPTChatGPT 40%Google AI ModeGoogle AI Mode 50%
- AnthropicChatGPTChatGPT 0%Google AI ModeGoogle AI Mode 75%
- GPT-4oChatGPTChatGPT 0%Google AI ModeGoogle AI Mode 50%
- Arize PhoenixChatGPTChatGPT 0%Google AI ModeGoogle AI Mode 50%
Questions and answers
ChatGPTNov 12, 2026
How to build tailored AI evaluation agents
Building tailored evaluation agents is a great way to measure how well your AI model performs against the specific requirements of your application, rather than relying on generic benchmarks.
The approach I recommend is to build a custom evaluation framework consisting of specialized evaluators (AI judges), a test dataset, scoring criteria, and an automated testing pipeline.
The objective is to have an evaluation agent independently assess your model's outputs, identify weaknesses, score performance, and provide actionable feedback.
Here's how to build one, step by step.
1. Understand the architecture
First, distinguish between two types of agents:
- Your model (the system under evaluation): The AI model you're trying to assess.
- Evaluation agents (the judges): Specialized agents that assess your model's responses against predefined criteria.
For example, if you're building an AI customer support model, you could create several evaluation agents:
Your AI model
Generates responses to user requests
Model outputs and execution traces
Accuracy evaluator
Checks factual correctness.
Safety evaluator
Checks unsafe responses.
Quality evaluator
Checks clarity and relevance.
Task evaluator
Checks task completion.
Evaluation orchestrator
Combines scores, identifies failures and generates reports.
This modular approach allows you to evaluate different dimensions independently instead of relying on one generic AI judge.
2. Define what you want to evaluate
This is arguably the most important step.
Before creating evaluation agents, identify the specific capabilities your model needs to demonstrate.
For example:
Evaluation dimension What to measure Accuracy Is the response factually correct? Relevance Does it answer the actual question? Reasoning Does it reach a sound conclusion? Instruction following Does it follow user requirements? Consistency Does it produce reliable results? Safety Does it respect safety constraints? Tool usage Does it use the correct tools? Efficiency Does it achieve results within cost and latency limits? Give each dimension measurable success criteria.
For example:
- Accuracy: At least 90% of responses meet the correctness criteria.
- Instruction following: At least 95% compliance.
- Safety: No critical policy violations in the test suite.
- Task completion: At least 85% successful completion.
These are illustrative targets, not universal benchmarks.
3. Build your evaluation dataset
Your evaluation agents need examples to test against.
Create a dataset containing representative inputs, expected outcomes, and edge cases.
I recommend starting with 50–100 test cases, then expanding as you discover failures. Even 20–50 realistic tasks can be a useful starting point.
Your dataset should include:
Test category Example Normal scenarios Typical user requests Difficult scenarios Complex, multi-step requests Edge cases Missing or contradictory information Adversarial scenarios Attempts to manipulate the model Failure scenarios Situations where the model should acknowledge limitations Domain-specific cases Questions requiring specialist knowledge For each test case, capture:
- Input provided to the model.
- Expected output or acceptable outcome.
- Evaluation criteria.
- Reference answer, where appropriate.
- Severity of a potential failure.
Important: Don't only test whether the model produces the same answer as your reference answer. Many tasks have multiple valid answers. Evaluate whether the response satisfies the underlying requirements.
4. Create specialized evaluation agents
Now you can build your actual evaluators.
I would start with four or five specialized evaluation agents.
Agent 1: Accuracy evaluator
Assesses:
- Factual correctness.
- Hallucinations.
- Completeness.
- Consistency with reference information.
Output: Accuracy score and explanation.
Agent 2: Instruction-following evaluator
Assesses:
- Whether instructions were followed.
- Whether requested formats were respected.
- Whether constraints were satisfied.
- Whether important requirements were omitted.
Output: Compliance score and violations.
Agent 3: Safety evaluator
Assesses:
- Policy compliance.
- Sensitive information handling.
- Unsafe recommendations.
- Appropriate refusal behavior.
Output: Safety score and severity of violations.
Agent 4: Performance evaluator
Assesses:
- Response latency.
- Token consumption.
- Cost per task.
- Reliability across repeated runs.
Output: Performance metrics and bottlenecks.
Agent 5: Overall quality evaluator
Assesses:
- Overall usefulness.
- Answer quality.
- Whether the user achieved their objective.
- Trade-offs between quality and efficiency.
Output: Overall score and improvement recommendations.
How to configure each evaluator
Each evaluator needs five components:
- Role: What the evaluator is responsible for.
- Evaluation instructions: What it should examine.
- Scoring rubric: How it should assign scores.
- Input data: What model outputs and reference materials it receives.
- Output schema: A standardized format for its assessment.
For example, here's a starting prompt for an accuracy evaluator:
You are a specialized AI model accuracy evaluator. Your responsibility is to assess the factual accuracy of responses generated by the target AI model. Evaluate each response against: 1. Factual correctness 2. Completeness 3. Unsupported claims 4. Contradictions 5. Hallucinated information Scoring: 0 = Completely incorrect 1 = Mostly incorrect 2 = Partially correct 3 = Mostly correct 4 = Fully correct Do not reward confident language without evidence. Return: - Score (0-4) - Identified errors - Supporting evidence - Explanation - Recommended improvements Evaluate only factual accuracy. Do not penalize writing style unless it affects correctness.The key is to keep evaluators narrowly scoped. An accuracy evaluator shouldn't also be responsible for judging tone, safety, and instruction following.
5. Establish a scoring system
Once the evaluation agents are built, you need a standardized scoring framework.
For example, use a score from 0–100 for each evaluation dimension.
Here is an illustrative weighted scoring model:
Dimension Weight Accuracy 30% Instruction following 20% Task completion 20% Safety 15% Response quality 10% Efficiency 5% Total 100% The overall score is:
mathS=\sum_{i=1}^{n}w_i s_iWhere:
s_i= score for an evaluation dimension.w_i= its assigned weight.
You can also establish performance categories:
Score Classification 90–100 Excellent 80–89 Good 70–79 Needs improvement 50–69 Poor Below 50 Critical I would also introduce hard failure conditions. For example, a critical safety violation should not be offset by excellent scores in other dimensions.
6. Build the evaluation execution pipeline
This is where everything comes together.
The process should be automated so that you can run the same evaluations whenever you change your model, system prompt, tools, or configuration.
-
Load evaluation dataset
Retrieve test cases and expected outcomes.
-
Run the target model
Send each test input to your model and capture its output.
-
Run specialized evaluators
Send the outputs to the appropriate evaluation agents.
-
Validate and aggregate scores
Combine evaluator results and apply failure thresholds.
-
Generate evaluation report
Identify weaknesses, recurring failures, and performance changes.
-
Improve and retest
Update the model, prompts, or tools and run the evaluation suite again.
Your evaluation system should produce reports containing:
- Overall performance score.
- Individual evaluator scores.
- Pass/fail rates.
- Most frequent failure categories.
- Examples of incorrect responses.
- Comparison against previous model versions.
- Recommendations for improvement.
Example of an evaluation report
ILLUSTRATIVE MODEL EVALUATION
86/100
(Good)
Example recommendations
- Improve response quality in complex queries.
- Reduce unnecessary token consumption.
- Investigate incomplete answers in multi-step tasks.
The figures above are illustrative, not actual model test results.
7. Choose the technology to build it
There are several ways to implement this architecture.
Technology What it does Python Evaluation orchestration and custom scoring OpenAI API Model execution and LLM-based evaluators LangSmith Tracing, evaluation and debugging Langfuse LLM observability and evaluation Custom database Stores test cases, scores and history Dashboard Visualizes evaluation performance Some useful starting resources:
OpenAI agent evaluation guide
Learn about traces, graders, datasets and evaluation runs.
Evaluation best practices
Learn how to define success criteria, construct test datasets and implement continuous evaluation.
Anthropic's agent evaluation guide
Particularly useful for understanding code-based graders, model-based judges and human evaluation.
Demystifying evals for AI agents
OpenAI graders guide
Learn how to create specialized scoring systems and calibrate model-based graders.
One important platform consideration: OpenAI's legacy Evals platform is scheduled to become read-only on October 31, 2026, and shut down on November 30, 2026. Since we're now in November 2026, I'd build a portable evaluation harness rather than make your architecture dependent on that legacy platform. You can still use the agent tracing and evaluation concepts in the documentation.
8. My recommended implementation strategy
I would build this in three phases:
Phase Deliverable Phase 1 Dataset, evaluation criteria and scoring rubrics Phase 2 Specialized evaluation agents and orchestration Phase 3 Automated testing, reporting and continuous monitoring Start with a small number of evaluators, validate their judgments against human reviewers, and expand once the scoring is reliable.
One particularly important principle: you must evaluate the evaluators themselves. If your accuracy evaluator incorrectly rewards hallucinations, your overall performance metrics will be misleading. Compare its scores with human-assigned scores and refine its rubric until agreement is sufficiently high.
Let's tailor this to your actual use case
The architecture above is a general foundation. The next step is to design evaluation agents around the specific model you're testing.
I have one important question:
What type of AI model or application are you trying to evaluate?
1. What are you evaluating?
2. What is your main evaluation objective?
3. Additional context (optional)
[Textarea placeholder: Describe your model, industry, technology stack, or specific requirements...] (Current value unavailable.)
[Design my evaluation system]
With that information, I can help you design the actual evaluation agents, their individual system prompts, scoring rubrics, test datasets, orchestration architecture, and implementation plan.
Pages cited in this answer 7
- anthropic.comDemystifying evals for AI agents \ Anthropic
- developers.openai.comEvaluation best practices | OpenAI API
- developers.openai.comWorking with evals | OpenAI API
- developers.openai.comEvaluate agent workflows | OpenAI API
- developers.openai.comGraders | OpenAI API
- microsoft.comWho evaluates the evaluators? The data science behind agent evals | Microsoft Copilot Blog
- anthropic.comDemystifying evals for AI agents \ Anthropic
Google AI ModeNov 12, 2026
Building tailored evaluation agents (often referred to as an "LLM-as-a-Judge" or
custom evaluator pipeline) lets you systematically test your model on the exact failure modes that matter to your product.The standard, step-by-step process to design, build, and deploy custom evaluation agents breaks down as follows:
Step 1: Define Your Quality Dimensions & Criteria
Before writing any evaluator code, map out what "good performance" actually means for your specific use case. Generic accuracy or BLEU scores rarely work for complex generation or agentic tasks.
- Domain-Specific Rules: Is it medical accuracy, legal compliance, strict JSON formatting, or adherence to a brand voice?
- Agentic Dimensions: Do you need to score multi-turn reasoning, tool-calling selection (right tool, right arguments, right order), or latency and token cost?
- Severity Tiers: Categorize errors (e.g., Critical/Hallucination, Minor Tone Issue, Optimal).
Step 2: Build Your Gold-Standard & Test Datasets
An evaluation agent is only as good as the inputs it receives. Curate a representative dataset that mirrors real-world traffic.
- Golden Examples: Inputs paired with reference (ground-truth) answers or expected tool-call trajectories.
- Edge Cases & Adversarial Prompts: Include known failure cases, ambiguous queries, and prompt-injection attempts.
- Split by Tier: Create baseline suites (fast, run on every commit) and deep-dive suites (expensive, run pre-release).
Step 3: Choose Your Evaluation Strategy (The "Judge" Architecture)
Decide how the evaluation agent will score the model's output. You can mix and match three primary approaches:
- Deterministic / Code-Based Checks: Regex, JSON schema validators, exact match, or Python functions for hard constraints (e.g., math calculations, code execution tests).
- LLM-as-a-Judge (Model-based Evaluators): Deploy a strong, instruction-tuned model (like Claude 3.5 Sonnet, GPT-4o, or a fine-tuned open-source critic) prompted with a strict Rubric to grade the target output.
- Hybrid / Composite Evaluators: Use code to pre-parse the trace or check tool outputs, and pass the structured context to an LLM judge for qualitative nuance.
Step 4: Engineer the Evaluator Prompt (The Core Agent)
If you are using an LLM-as-a-judge, treat the evaluator agent like a software component—it needs strict instructions to prevent leniency bias, position bias, or verbosity bias. A good evaluator prompt should include:
- Role definition: “ You are a strict, objective QA judge for an enterprise financial assistant.”
- The Evaluation Criteria: Clear definitions of what a score of 1, 3, or 5 looks like.
- Few-shot examples: Provide 2–3 input/output/reasoning/score examples so the judge calibrates to your standards.
- Chain-of-Thought Requirement: Force the evaluator agent to output a reasoning block before emitting a JSON score (e.g.,
{"reasoning": "...", "score": 4}). This makes debugging the evaluator much easier.
Step 5: Validate and Calibrate Your Evaluator
Before trusting your evaluation agent to pass/fail builds automatically, you must benchmark the judge against human judgment.
- Human-in-the-Loop Audit: Have human annotators score a sample of 50~100 responses.
- Measure Agreement: Calculate inter-rater reliability (Cohen’s Kappa or correlation) between your human scores and your evaluation agent’s scores.
- Iterate the Rubric: If your evaluator is too soft or overly pedantic compared to humans, tweak the prompt instructions or switch the judge model.
Step 6: Integrate into CI/CD & Trace Logging
Automate the evaluation loop so it runs continuously rather than as an afterthought.
- Tracing & Telemetry: Capture full execution traces (prompts, intermediate thoughts, tool inputs/outputs, final answers) using observability tools.
- Pipeline Hooks: Trigger evaluation agent runs on pull requests, nightly staging builds, or via sampling on live production traffic.
- Dashboarding: Track regression trends over time so you know immediately if a prompt update or model swap broke a specific capability.
To help us narrow this down, what specific type of model or agent are you building (e.g., RAG chatbot, code assistant, multi-step workflow), and what is the primary failure mode you are most worried about?
We need to create a test set to evaluate our LLM against. What is the best synthetic data generation tool for creating evaluation datasets?
Summary
No brand is recommended most for creating a synthetic evaluation dataset. Vellum’s answer describes specialized evaluation agents and few-shot prompting for nuanced datasets.
Also asked as
- How can I create tailored evaluation agents to monitor my model's performance for my particular use case?
- I need to build evaluation agents tailored to my specific use case to track my model's performance. How do I construct these?
For agents: this page as Markdown, https://parse.gl/topics/custom-evaluation-agent-creation.md. JSON, MCP · free for the last 90 days, checks from $0.01
This page
Read and search
Connect
An agent can save work before signup: POST https://agent.parse.gl/v1/workspaces
What it costs
Prices: https://parse.gl/pricing.md
Map of the site: https://parse.gl/llms.txt