×
Community Blog Qoder Cloud Agents: An Evaluation Loop for Reliable, Continuous Agent Improvement

Qoder Cloud Agents: An Evaluation Loop for Reliable, Continuous Agent Improvement

This article introduces Qoder Cloud Agents' continuous evaluation framework for reliably testing and improving AI agents.

Learn More about Qoder

Explore Qoder – Agentic Coding For Enterprise


On Friday afternoon, you add a new Skill to your Agent. All five trial runs go well, so you confidently click Publish.

By Monday morning, the group chat is in uproar: some answers are correct, but reviewing the execution traces reveals that the Agent never checked the data; some responses say “the report has been generated,” but the file does not exist; and several previously reliable scenarios have inexplicably deteriorated.

Anyone who has put an Agent into production will probably recognize this scene. Consider these moments, too:

  • You change a sentence in the prompt: has the Agent really improved, or only on the few examples you tried?
  • You migrate to another framework: for example, you move an Agent from OpenClaw to Qoder Cloud Agents, and testing suggests they are “about the same”—how much do they differ, and where?
  • You switch models: would you put it straight into production?

Many decisions to release an Agent rest on little more than “it seems fine” after a few trial runs.

“It seems fine” is a high-risk phrase in Agent engineering—because you do not know when it will fail.

Why Are Agents So Hard to Test?

Traditional software is deterministic: the same input always produces the same output, so running a unit test and checking a few performance metrics is enough.

An Agent is different. What it delivers is not just an answer, but a complete package of answer + process + artifacts + behavioral boundaries:

  • The answer is correct, but did it consult the relevant information, or just guess correctly?
  • It says the task is complete, but was the file actually generated? Is it usable?
  • The task is done, but did it exceed its permissions or take a needlessly circuitous route?

On top of that, model outputs are inherently probabilistic—being right this time does not mean being right next time.

Without a baseline comparison, an “impression” formed from a few trial runs proves neither that the Agent is stable nor that your changes have improved it.

What an Agent needs, then, is not a one-off acceptance test, but an ongoing evaluation system.

Concept Meaning
Evaluation case An evaluation task comprising inputs, attachments, and success criteria
Agent under evaluation A complete Agent configuration and its resources
Execution environment The setting in which the Agent executes its tasks
Execution trace Message events, tool calls, and tool results during execution
Response and artifacts The final response, generated files, and changes to the environment
Evaluator Logic that assesses a particular dimension
Baseline Results before a change, used for comparison in regression testing

If you think of an Agent as an exam candidate preparing to take on a job, every role in a reliable evaluation system has a counterpart:

  • Exam question = evaluation case: inputs, attachments, and success criteria
  • Candidate = Agent under evaluation: a complete Agent configuration and its resources
  • Exam room = execution environment: the setting in which the Agent executes its tasks
  • Solution process = execution trace: message events, tool calls, and tool results
  • Exam submission = response and artifacts: the final response, generated files, and changes to the environment
  • Grader = evaluator: logic that assesses a particular dimension
  • Previous score = baseline: results before a change, used for comparison in regression testing

The goal of evaluation is not a one-off score, but a continuously running evaluation loop: identify issues → improve → validate through regression testing → identify more issues.

1

Qoder Cloud Agents provides the conditions needed to put an ongoing evaluation loop into practice:

  • The evaluation environment is the real execution environment: evaluation directly invokes the running Agent, producing results consistent with real-world execution.
  • A complete record, ready for review: events and resources are recorded throughout, so real business cases can be used directly, keeping the evaluation dataset aligned with the business over time.
  • High-concurrency testing without interference: the runtime directly provides a clean execution environment, and runs do not interfere with one another, supporting highly concurrent evaluation tasks.
  • Evaluation does not affect production tasks: Agent version management enables changes and regression testing to take place on copies, leaving production unaffected.
  • Standardized and custom evaluation datasets: alongside standard benchmarks, users can create custom evaluation datasets based on failure cases.

01 Setting the Exam | A Good Evaluation Dataset Comes from the Business Itself

Evaluation data usually comes from two sources: business evaluation datasets and open-source benchmarks. They differ in how they are organized and in the purposes they serve.

Business evaluation datasets come from the business itself.

  • Early stage: Create evaluation cases from typical tasks and known issues, or bring in external data and adapt it to business scenarios. Later, production sessions can continually be turned into new evaluation cases.

An open-source benchmark generally comprises an end-to-end workflow that includes an evaluation dataset, not just data alone. Each benchmark has its own tasks and scoring scripts; some also require specific tools, Skills, or execution environments. Evaluating with open-source benchmarks is an appropriate approach when comparing the capabilities of general-purpose Agent harnesses or comparing results against public leaderboards.

  • Mature stage: Production sessions are continually turned into new evaluation datasets.

For a user's cloud-hosted business Agent, an evaluation dataset built from the business itself is even more important. Its evaluation cases come from real tasks and issues, reflecting the Agent's performance in the business. It compares different versions of the same Agent across different business stages to determine whether the Agent has genuinely improved. This evaluation dataset grows with the business, gradually becoming the business owner's own data asset.

2

Business evaluation datasets compare the same Agent across different versions and business stages, answering the simplest question: did this change actually make it better?

More importantly, this question bank grows with the business—it ultimately becomes the business owner's own data asset. Models and frameworks can change, but others cannot simply copy a question bank rooted in your own business.

02 Experimentation | Trustworthy Results Require the Right Experimental Environment

These three situations are common in Agent evaluation:

  • Sneaking in cheat sheets: Data, files, or processes from other tasks may mislead the Agent or give it extra hints;
  • Unexplained changes to the test environment: When the environment changes, it is unclear whether the Agent or other factors caused it;
  • Leftovers from the previous exam: Files and state left behind by one run affect the next.

A standardized, isolated exam environment is a prerequisite for trustworthy scores.

3

An independent test environment for every evaluation case. QCA uses an architecture with “decoupled reasoning and execution”, separating the Agent's reasoning and decision-making from tool execution in the sandbox and creating an isolated sandbox for each session. During evaluation, each evaluation case uses a separate session and is inherently isolated.

Set up specialized evaluation environments yourself. When evaluation requires specific dependencies, data, or tools, it also needs a separately prepared environment. Keeping that environment separate from QCA's default environment prevents effective validation. With QCA's self-hosted sandbox mode, the prepared evaluation environment can serve as the execution environment, bringing execution, dependencies, and evaluation together in the same environment.

03 Evaluation | Look Beyond the Response to the Process and Artifacts

A grader who looks only at the final answer can easily be misled:

  • Lucky guesses: The Agent lacks sufficient evidence, but its answer happens to be correct;
  • False completion claims: The Agent claims the task is complete, but the artifacts are missing or unusable;
  • Peeking at the answers: The answer comes from data leakage rather than the Agent's actual capabilities.

That is why QCA evaluation insists on three checks:

  • Check the answer: Is the conclusion correct and complete?
  • Check the process: Were the necessary steps performed? Did the Agent cross operational boundaries? Did it take inefficient detours? Did it insist on answering without supporting evidence?
  • Check the artifacts: Are the files usable? Was the data modified as required?

4

Different types of questions go to different evaluators. There is just one principle—start with deterministic checks:

  • Use code-based evaluators for objective questions: If rules can determine the result, do not involve a model;
  • Use model-based evaluators for subjective questions: Let a large language model evaluate questions that require understanding content and judging quality;
  • Use Agent-based evaluators for hands-on questions: When files need to be opened or the environment inspected, let another Agent “inspect the deliverables”.

An evaluation case typically combines several types of checks, with each evaluator scoring independently. Grading itself must also follow strict rules:

  • Seal the results: Introduce the success criteria and check logic only after execution has finished and the execution environment has been frozen to prevent data leakage;
  • Evaluate repeatedly: Run and evaluate the same evaluation case multiple times, measuring performance with pass@k and pass^k rather than looking at just one result;
  • Traceable history: Cloud hosting automatically retains session events, execution traces, and artifacts, along with the basis for each scoring decision. Pass, fail, and unable-to-evaluate outcomes can all be traced back to specific evidence.

04 Review | Optimize a Cloned Copy, Validate Against the Baseline

The results of one evaluation are the starting point for the next round of optimization.

But one fact is often overlooked: most optimizations you make to an Agent happen at the semantic level—changing prompts, adding Skills, or refining tool descriptions. Model outputs are inherently probabilistic: a change does not guarantee the Agent will follow it, and following it does not guarantee consistent behavior.

Every optimization therefore requires regression validation against the baseline. At its core, this means minimizing the uncertainty introduced by “changes”.

QCA's managed architecture makes this lightweight: quickly clone an identical copy of the Agent, then iterate on that copy to create different test versions while the production business Agent continues running as usual, unaffected.

The acceptance criteria must also be clear:

  • Passing a retest of only the previously failed cases—only shows that the changes work for failure cases in that subset;
  • Rerunningthe full evaluation suite with the same data, dependencies, and environment, with significantly improved target metrics and no material regressions in other metrics—that is a validated optimization.

Fixing failed cases alone is not progress; overall performance must not regress.

5

05 Build Assets | After Launch, Feed Real Issues Back into the Evaluation Dataset

Offline evaluation datasets cover previously known issues and scenarios.

For issues that actually arise in production, you can conduct proactive, continuous assessment: turn valuable scenarios and issues into evaluation cases and add them to the evaluation dataset, building business data assets for future iteration and optimization.

Note that online assessment and offline evaluation are not the same:

  • Offline evaluation: predefined checking criteria allow results to be scored;
  • Online assessment: open-ended. Sessions come from real business activity, with no predefined reference answer, so only preliminary checks for anomalies are possible.

Online assessment therefore requires business-specific observational metrics, such as trace efficiency, tool-call accuracy, and temporal accuracy. These metrics are signals to detect issues, not performance scores.

6

06 Summary | Continuous Evaluation: Balancing Trustworthiness, Flexibility, and Cost

Agent evaluation always aims to achieve three things at once: trustworthy, comparable findings; flexibility to fit business needs; and controlled costs. In practice, it is hard to maximize all three simultaneously. Different businesses can make trade-offs and set priorities according to their needs—and that is precisely the flexibility a good evaluation framework should provide.

7

Evaluation is not a strict examiner expected to deliver a perfectly accurate score in a single sitting. It is more like an ongoing advisor, proactively uncovering issues in each round. Even without covering every issue, it delivers its core value as long as the issues it identifies are addressed and the improvements are validated.

So, you do not need perfect data or a perfect end-to-end workflow to start evaluating.

Choose a few representative failure cases already exposed in your business, build a small evaluation dataset, and start running it. As the Agent evolves, gradually add cases, refine evaluation, and expand coverage. Evaluation and the Agent grow alongside the business.

Only Agents that can be continuously evaluated can keep improving; only Agents that keep improving can earn a business's long-term trust.

Give your Agent its first evaluation today: https://qoder.com/cloud/quickstart (More evaluation capabilities are rolling out.)

0 1 0
Share on

Read previous post:

Making Fast Mode Faster

Alibaba Cloud Community

1,594 posts | 525 followers

You may also like

Comments

Alibaba Cloud Community

1,594 posts | 525 followers

Related Products

  • Qoder

    From Assisted to Autonomous — Adapting to Every Programming Need

    Learn More
  • QwenWork

    QwenWork is dedicated to helping employees strengthen their professional competitiveness in the AI era and to enabling enterprises to improve organizational effectiveness.

    Learn More
  • Token Plan

    Build more, spend less. One plan, every modality.

    Learn More
  • DeepSeek

    DeepSeek-V4.1-Flash is the lightweight flagship of DeepSeek's new architecture family, packing 552B total MoE parameters to deliver flagship-surpassing intelligence across key benchmarks.

    Learn More