How to Evaluate AI Agents: Core Capabilities and Scientific Research Workflows
Evaluating an AI agent requires more than judging fluent answers or impressive demos. This article outlines six core evaluation dimensions and uses single-cell research to show how agents can turn natural-language questions into auditable analysis workflows. It covers data validation, statistical design, tool reliability, reproducibility, and deployment practices for trustworthy research automation.
1. Why There Is No Single “Most Powerful AI Agent”
Before comparing AI agent tools, define what “powerful” means. Fluent answers, sequential tool calls, or a polished demonstration do not establish that a system can reliably solve real-world problems.
An AI agent is generally a system that plans tasks around a goal, invokes external tools, maintains execution state, and adjusts its actions based on feedback. Unlike a conventional conversational assistant, it can do more than generate text: within its authorized scope, it can retrieve information, perform calculations, and execute workflow operations.
Different tasks demand different capabilities. Software development requires code understanding, testing, and change control. Enterprise operations emphasize access permissions, process consistency, and audit trails. Scientific research depends heavily on data provenance, statistical assumptions, and reproducibility.
Naming a single “best” agent without specifying the use case therefore has little technical basis. A more useful approach is to define the task boundaries and assess whether the agent consistently produces correct, verifiable, and traceable results at an acceptable cost.
2. Six Core Dimensions for Evaluating AI Agents
2.1 Task Understanding: Turning Ambiguous Questions into Clear Objectives
Users rarely provide complete analytical requirements. A request such as “compare immune changes between two treatments” leaves several conditions unspecified: disease type, treatment groups, sampling times, tissue sources, and analysis metrics.
A reliable agent should identify these gaps and determine which require clarification. If the data include pretreatment and post-treatment samples, it must distinguish between differences across groups and longitudinal changes within the same patient. If only post-treatment samples are available, it must not assume that observed differences were caused by treatment.
The purpose of task understanding is not to restate a question in more technical language. It is to reduce ambiguity.
2.2 Task Planning: Building Dependency-Aware Workflows
Complex analyses usually cannot be completed with a single query. An agent needs to divide the work into stages such as study retrieval, metadata verification, quality control, cell-type comparisons, statistical testing, and interpretation.
These stages have dependencies. Treatment assignments and sample relationships must be verified before statistical comparisons are designed. Cell quality must be assessed before changes in cell composition are interpreted.
The plan should adapt to the available data rather than mechanically follow a fixed template.
2.3 Tool Use: Applying External Capabilities Correctly
A language model can propose an analysis, but actual data retrieval and statistical computation require external systems.
Effective tool use includes choosing the right tool, constructing valid parameters, interpreting responses, and handling errors. For research tasks, evaluation should also consider whether calls are read-only, whether query sizes are bounded, how missing fields are handled, and whether failures trigger repeated submissions of expensive jobs.
More tools do not necessarily mean greater capability. A small set of well-defined tools with stable inputs and outputs is often more reliable than a large collection with unclear boundaries.
2.4 Data Governance: Understanding Meaning and Provenance
Standardized fields do not guarantee consistent data semantics. “Treatment response” may refer to different assessment times or criteria. “Immune cells” may reflect different annotation pipelines. Identically named tissue fields may represent different sampling sites.
An agent must inspect field definitions, original sources, missingness, and transformation rules. Otherwise, even a syntactically correct query can produce conclusions based on incorrect semantic mappings.
2.5 Result Validation: Checking Its Own Outputs
The system should verify that group counts reconcile, patients are not duplicated, statistical units are appropriate, and conclusions remain within what the data support.
Validation is not a disclaimer added at the end. It is a technical mechanism embedded throughout execution. Examples include checking sample mappings before analysis, verifying the direction of results afterward, and attaching supporting data and methods to important report findings.
2.6 Engineering Reliability: Operating Consistently Over Time
Research teams and enterprises also need access control, cost management, logging, task recovery, and version management.
One successful run does not demonstrate reliability. Success rates and result consistency across repeated, comparable tasks provide stronger evidence.
3. Defining a Real Task: A Single-Cell Research Example
Triple-negative breast cancer generally refers to breast cancer that tests negative for estrogen receptor, progesterone receptor, and human epidermal growth factor receptor 2. Molecular characteristics influence treatment options. Immunotherapy combined with chemotherapy can benefit some eligible patients, but outcomes depend on disease stage, treatment regimen, and biological context.
This background supports a research question suitable for agent assistance:
Which single-cell studies can support comparisons of immune cell states between patients receiving chemotherapy alone and those receiving chemotherapy plus immunotherapy, and further comparisons between treatment responders and nonresponders?
The question has three layers:
- Data availability: Are there datasets covering the target disease and treatment groups?
- Analytical suitability: Do those datasets contain patient identifiers, sampling times, tissue sources, and response labels sufficient for the intended comparisons?
- Interpretability: Could observed differences be associated with treatment response, rather than differences in batch, sampling site, or patient composition?
An illustrative candidate study in the source material contained approximately 490,000 cells, with roughly 267,000 and 223,000 cells in the two treatment groups. These figures indicate scale, but they do not replace verification and should not be treated as current database counts.
Any actual analysis must read the relevant data version and confirm the numbers of cells, samples, and patients.
4. A Technical Architecture for Natural-Language Analysis
An auditable research agent can be organized into five logical layers:
User question → Task planning → Data query and analysis tools → Result validation → Evidence-backed report
4.1 Question Parsing
This layer extracts the disease, treatments, comparison groups, time points, and output requirements. When a request is ambiguous, the agent should ask for clarification or explicitly document its assumptions in the execution plan.
For example, “immune changes” could refer to immune cell proportions, gene expression states, or cell–cell interactions. The system should state which measures it intends to analyze rather than treat them as interchangeable.
4.2 Query Generation
Natural language can be translated into constrained structured queries or a domain-specific language. The goal is to make the task inspectable and executable—not to allow the model to generate arbitrary operations.
The following is an illustrative query specification, not an actual platform interface:
Target disease: Triple-negative breast cancerTreatment groups: Chemotherapy alone; chemotherapy plus immunotherapyRequired fields: Patient identifier, sample identifier, treatment regimenPreferred fields: Response label, sampling time, tissue sourceOutput: Candidate studies and field completeness
After generation, deterministic software should check that the fields exist, the conditions are valid, and the query remains within the authorized scope.
4.3 Execution
The execution layer accesses data, runs statistical analyses, and saves intermediate results. Data retrieval and analytical computation should be separated so that a single model call does not both modify data and generate conclusions.
Large expression matrices should not be passed wholesale into the model context. Instead, the computational environment should process them and return validated summary statistics, chart descriptions, and references to result files.
4.4 Validation
The validation layer can check sample uniqueness, mutually exclusive group assignments, excessive missingness, and compliance with predefined quality criteria.
If the data do not meet the requirements, the system should stop the affected analysis or qualify the strength of its conclusions. It should not automatically fill in information that does not exist.
4.5 Reporting
The final report should separate:
- Results directly observed in the data.
- Interpretations based on those results.
- Hypotheses that still require experimental validation.
This distinction prevents plausible explanations from being presented as established mechanisms.
5. From Data Retrieval to Research Conclusions
Step 1: Retrieve Candidate Studies and Verify Comparability
Beyond disease and treatment labels, check whether studies include the target tissue, pretreatment and post-treatment samples, and sufficient patient information.
A study with many cells may still contain only a few independent patients. The validity of statistical analysis depends first on biological replication, not total cell count.
Cross-study analyses must also account for differences in processing pipelines and sequencing batches. Matching field names alone does not justify merging datasets and interpreting the resulting differences as treatment effects.
Step 2: Establish Patient–Sample–Cell Relationships
Three levels must remain distinct:
- Patient: The biological individual.
- Sample: Material collected at a particular time and from a particular tissue.
- Cell: An observation measured from a sample.
One patient may contribute multiple samples, each containing many cells. Treating every cell as an independent replicate ignores this hierarchy and can create pseudoreplication, inflating statistical significance.
For clinical comparisons, analyses summarized at the patient or sample level are therefore often more appropriate than direct group tests across all cells.
Step 3: Review Quality Control and Cell Annotation
Confirm the basis for low-quality cell filtering, doublet detection, expression-data processing, and cell-type annotation.
Cell capture efficiency can differ across samples. Changes in observed cell proportions do not necessarily represent changes in actual tissue abundance. A lower proportion of a cell type could also reflect tissue dissociation conditions or quality-filtering rules.
Even when existing annotations are used, their plausibility should be checked against characteristic marker genes and sample distributions. Uncertain cell populations should be labeled separately.
Step 4: Compare Immune Cell Composition and Functional States
Immune changes involve at least two distinct questions:
- Composition: Do the relative proportions of immune cell types differ across samples?
- State: Do expression patterns differ within the same cell type—for example, in gene sets associated with cytotoxicity, interferon response, or functional suppression?
These questions should be analyzed separately. More cells of a particular type do not necessarily imply stronger function. Likewise, increased expression of function-associated genes does not by itself establish that the cells perform that function in vivo.
Step 5: Use an Appropriate Statistical Design
For differential expression analysis, raw counts can be aggregated by patient or sample within each cell type for pseudobulk analysis. Where appropriate, statistical models designed for hierarchical data can also be used.
Whether to include treatment time, tissue source, batch, or other factors depends on the study design and sample size. The system should neither add every variable mechanically nor claim that all confounding has been removed when the data are insufficient.
Reports should include effect sizes, uncertainty, and multiple-testing correction results—not just statistical significance values.
Step 6: Analyze Response Associations and Test Robustness
When clear response labels are available, the analysis can compare responders with nonresponders. However, response definitions and assessment times must be verified before labels are combined.
For studies intended to predict response from pretreatment data, post-treatment information must not leak into the prediction process. Evaluation should split data by patient rather than randomly dividing cells from the same patient across partitions.
Without adequate validation in independent data, findings should be described as candidate associations or research hypotheses, not clinical predictive biomarkers.
6. How Developers Can Evaluate and Deploy Research Agents
6.1 Build Task-Level Evaluation Sets
Evaluation should include routine tasks, missing-information scenarios, cases with no matching data, and tool failures. It should test both successful completion and the agent’s ability to stop making inferences when evidence is insufficient.
Useful measures include:
- Data selection accuracy.
- Validity of tool parameters.
- Task completion rate.
- Evidence traceability.
- Consistency across repeated runs.
- Time required for human review.
6.2 Define Human Approval Gates
Routine read-only retrieval may be suitable for lower-risk automatic execution. Large-scale computation, data exports, sensitive-data access, and important analytical changes should require approval.
Authorization should follow the principle of least privilege. External documents, data descriptions, and tool-returned text should be treated as content to analyze, not as new execution instructions. This reduces the risk of malicious content inducing unauthorized actions.
6.3 Preserve Reproducible Run Records
Each run should record the data version, filtering criteria, analysis steps, parameters, execution time, and output files. If computation involves randomness, the method used to control it should also be recorded.
These records help teams determine whether differences between runs arise from data updates, methodological changes, or system errors. They also support review of important findings.
6.4 Include Cost Control in the Workflow
Cost-conscious workflows can retrieve metadata before downloading data, analyze a small set of representative samples before launching a full computation, and use version-aware caches for repeated queries.
Cost optimization must not compromise correctness. Cache invalidation rules and their relationship to data versions need to be explicit; otherwise, the system may quickly return outdated results.
7. Conclusion: Strong Agents Close the Loop
The valuable capability of an AI agent is not “doing research in seconds.” It is turning an ambiguous question into a defined task, connecting that task to real data, and applying sound methods to produce an inspectable chain of evidence.
In single-cell research, agents can reduce repetitive retrieval, organization, and workflow orchestration. They cannot eliminate the need to address patient heterogeneity, statistical design, or experimental validation. Natural-language interaction lowers the operational barrier, not the standard of scientific judgment.
When selecting or building an agent, prioritize task fit, data semantics, tool reliability, statistical validity, and auditability. A system that can clearly explain what it did, what evidence it used, and where uncertainty remains is closer to a genuinely capable and trustworthy AI agent.
