Custom evaluation agent creation

Arize AI and are nearly even for creating custom evaluation agents and criteria.

Since Oct 7Data through Nov 21, 2026Based on 9 AI answersAutomated index

How we measure
Mentioned in, on ChatGPT and Google AI Mode
  • 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

    1. 1Python
    2. 2OpenAI API
    3. 3LangSmith
    4. 4Langfuse

    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 dimensionWhat to measure
    AccuracyIs the response factually correct?
    RelevanceDoes it answer the actual question?
    ReasoningDoes it reach a sound conclusion?
    Instruction followingDoes it follow user requirements?
    ConsistencyDoes it produce reliable results?
    SafetyDoes it respect safety constraints?
    Tool usageDoes it use the correct tools?
    EfficiencyDoes 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 categoryExample
    Normal scenariosTypical user requests
    Difficult scenariosComplex, multi-step requests
    Edge casesMissing or contradictory information
    Adversarial scenariosAttempts to manipulate the model
    Failure scenariosSituations where the model should acknowledge limitations
    Domain-specific casesQuestions 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.

    • Magnifying glass check document icon. Papers with business report and magnifying glass. Process and examination concept icon vector.

    Agent 1: Accuracy evaluator

    Assesses:

    • Factual correctness.
    • Hallucinations.
    • Completeness.
    • Consistency with reference information.

    Output: Accuracy score and explanation.


    • Instruction-Following Gets an Upgrade: What GPT-4.1 Means for the Future of Conversational AI |

    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.


    • Shield with check mark. Vector illustration.

    Agent 3: Safety evaluator

    Assesses:

    • Policy compliance.
    • Sensitive information handling.
    • Unsafe recommendations.
    • Appropriate refusal behavior.

    Output: Safety score and severity of violations.


    • Chart Line Icon. Business Statistics, Diagrams and Graphs Icon Editable Stroke Vector Illustration

    Agent 4: Performance evaluator

    Assesses:

    • Response latency.
    • Token consumption.
    • Cost per task.
    • Reliability across repeated runs.

    Output: Performance metrics and bottlenecks.


    • Artificial Intelligence Workflow Automation with Checklist Completing Tasks and Achieving Business Target

    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:

    1. Role: What the evaluator is responsible for.
    2. Evaluation instructions: What it should examine.
    3. Scoring rubric: How it should assign scores.
    4. Input data: What model outputs and reference materials it receives.
    5. 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:

    DimensionWeight
    Accuracy30%
    Instruction following20%
    Task completion20%
    Safety15%
    Response quality10%
    Efficiency5%
    Total100%

    The overall score is:

    math
    S=\sum_{i=1}^{n}w_i s_i

    Where:

    • s_i = score for an evaluation dimension.
    • w_i = its assigned weight.

    You can also establish performance categories:

    ScoreClassification
    90–100Excellent
    80–89Good
    70–79Needs improvement
    50–69Poor
    Below 50Critical

    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.

    1. Load evaluation dataset

      Retrieve test cases and expected outcomes.

    2. Run the target model

      Send each test input to your model and capture its output.

    3. Run specialized evaluators

      Send the outputs to the appropriate evaluation agents.

    4. Validate and aggregate scores

      Combine evaluator results and apply failure thresholds.

    5. Generate evaluation report

      Identify weaknesses, recurring failures, and performance changes.

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

    TechnologyWhat it does
    PythonEvaluation orchestration and custom scoring
    OpenAI APIModel execution and LLM-based evaluators
    LangSmithTracing, evaluation and debugging
    LangfuseLLM observability and evaluation
    Custom databaseStores test cases, scores and history
    DashboardVisualizes evaluation performance

    Some useful starting resources:

    OpenAI agent evaluation guide

    Learn about traces, graders, datasets and evaluation runs.

    Evaluate agent workflows


    Evaluation best practices

    Learn how to define success criteria, construct test datasets and implement continuous evaluation.

    Evaluation best practices


    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.

    Working with 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:

    PhaseDeliverable
    Phase 1Dataset, evaluation criteria and scoring rubrics
    Phase 2Specialized evaluation agents and orchestration
    Phase 3Automated 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.

    Google AI ModeNov 12, 2026

    1. 1GPT-4o
    2. 2Anthropic

    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:

    1. Deterministic / Code-Based Checks: Regex, JSON schema validators, exact match, or Python functions for hard constraints (e.g., math calculations, code execution tests).
    2. 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.
    3. 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, parse.gl/topics/custom-evaluation-agent-creation.md.

This page

Reuse: Figures and tables on this page are free to republish with attribution: a link to https://parse.gl/topics/custom-evaluation-agent-creation beside them. A standard followed link (dofollow) is preferred.

Read and search

Every brand's share on this topic, with 95% ranges: GET agent.parse.gl/v1/tools/query_metrics?args=%7B%22measures%22%3A%5B%22share_named%22%5D%2C%22by%22%3A%5B%22brand%22%5D%2C%22filter%22%3A%7B%22topic%22%3A%5B%22top_b51cef12-9a54-4d83-a1bb-9afc196ae3a3%22%5D%7D%7D
Search the index: GET parse.gl/api/public/search?q=<words>

Connect

Connect an assistant: agent.parse.gl/mcp

An agent can save work before signup: POST https://agent.parse.gl/v1/workspaces

What it costs

No account: Public figures and up to 5 examples per list, about 120 brands a day per address.
Free account: 90-day Parse Index reads, your brand's first check (20 buyer questions), and a free weekly check.
Prepaid credits (from $20): Exports, deeper search results, live checks, verified contacts, and daily tracking.
Live checks: $0.01 per question per engine ($0.05 on Gemini and Claude).
Full public answers and pages: 25 free per day, then $0.005 each.
Public answers older than 90 days: $0.001 each the first time your workspace counts or lists one, then yours.