Putting New LLM Capabilities into Practice: From Technical Evaluation to AI Agents

    This article explores how to objectively evaluate and engineer new large language model (LLM) capabilities to achieve sustainable business value. It covers task decomposition, building reliable evaluation sets, implementing knowledge enhancement (RAG), designing constrained AI agents, structuring generative content production, and addressing production deployment challenges related to quality, cost, and security.

    1. Shifting Focus from “New Models” to Verifying “New Capabilities”

    Updates in the LLM domain often manifest as stronger reasoning, longer context windows, multimodal understanding, or automated task execution. However, for developers and enterprise users, the real question is not “what has been released,” but “which existing business problem has become easier to solve as a result.”

    A clear information boundary must be established: existing reference materials primarily consist of recommended AI-related video entries and do not provide complete technical specifications, evaluation methods, or official capability lists for any specific new product. Therefore, one cannot deduce what features a particular model possesses, nor expand the “new product” in the title into unverified release news.

    A more valuable approach is to reduce the topic to a general technical question: Faced with constantly emerging LLM capabilities, how can we conduct objective evaluations and implement them in an engineered manner?

    Starting from the directions mentioned in the materials—generative content, agents, and automation—we can break the problem down into three layers:

    • Capability layer: Can the model understand requirements, utilize knowledge, and generate results that meet specifications?
    • Process layer: Can the model complete multiple steps within a constrained workflow?
    • System layer: Is the entire application monitorable, traceable, recoverable, and does it meet security and cost requirements?

    Only when all three layers are established can new capabilities translate into sustainable business value.

    2. Decompose Tasks Before Adopting LLMs

    Many projects perform poorly not because the model lacks capability entirely, but because the task definition is too vague.

    For example, “automatically creating a video” actually involves topic analysis, material gathering, script generation, shot breakdown, asset creation, voiceover, synthesis, and review. These steps have different capability requirements: script conception requires language generation, visual understanding requires image analysis, asset management relies on deterministic storage and retrieval, and publishing permissions must be controlled by the business system.

    Therefore, you should establish task specifications before selecting a technical solution.

    2.1 Define Inputs and Outputs Clearly

    Inputs should not simply be written as “user requirements”; they should specify whether documents, images, historical records, business rules, and authorization scopes are included.

    Outputs should not merely be “a result,” but should clearly define:

    • Which fields or content sections are required;
    • Which requirements can be checked programmatically;
    • Which conclusions must have source support;
    • Under what circumstances refusing to answer or transferring to a human is allowed;
    • Whether the output will be read by humans or executed directly by downstream systems.

    For instance, a task focused on generative content production can define the output as “a shot list containing scene descriptions, character actions, dialogue, and continuity constraints,” rather than a vague demand to “generate exciting content.”

    2.2 Distinguish Generative Problems from Deterministic Problems

    Drafting text, semantic summarization, and generating candidate solutions are suitable for the model. Calculating amounts, judging permissions, verifying inventory, and updating statuses should be handled by deterministic programs.

    This division of labor does not diminish the model’s role but prevents probabilistic outputs from bearing deterministic responsibilities.

    2.3 Define Failure Behaviors in Advance

    A complete task specification should explain not only the success conditions but also what happens upon failure.

    If materials are insufficient, missing information should be returned; if a tool execution fails, the failed step should be reported; if an irreversible operation is involved, the system should pause and request confirmation. Rather than requiring the model to “complete the task no matter what,” defining failure boundaries is usually more conducive to system stability.

    3. Build Evaluation Sets to Avoid Misleading Single Demos

    A single demonstration only proves that the system succeeded once; it does not prove it is reliable enough for real business scenarios.

    A reasonable evaluation should cover basic capabilities, complex scenarios, and anomalous inputs simultaneously.

    3.1 Evaluation Samples Should Come from Real Task Distributions

    You can extract desensitized typical questions from historical business data and supplement them with edge cases prone to failure, such as:

    • Incomplete input information;
    • Contradictory user requirements;
    • Documents containing expired rules;
    • Multiple materials giving different conclusions for the same question;
    • Requests exceeding system permissions;
    • External materials carrying prompt injection instructions.

    The test set should be properly isolated from the debugging samples. If all optimization revolves around the same batch of examples, the result might just be an adaptation to the test questions rather than a generalizable capability improvement.

    3.2 Measure Content Quality and Task Completion Separately

    Fluent answers do not equal successful tasks. For enterprise applications, you should at least focus on:

    • Correctness: Are key facts, calculations, and business judgments valid?
    • Completeness: Are necessary steps and constraints omitted?
    • Traceability: Can important conclusions be linked to valid evidence?
    • Execution success rate: When external capabilities need to be invoked, is the target operation actually completed?
    • Security: Is there unauthorized access, information leakage, or execution of improper instructions?
    • Latency and cost: Does it meet business requirements under the target load?

    For long-text generation, you should also separately check contextual consistency, repetition, and constraint forgetting, rather than judging overall quality based solely on the first few paragraphs.

    3.3 Use Controlled Experiments to Judge Upgrade Value

    When comparing new and old solutions, try to keep the task sets, context materials, tool permissions, and scoring rules consistent, and record configuration versions and test times.

    For generative tasks with randomness, multiple tests are needed to observe result fluctuations, rather than just keeping the best one. Evaluation results should also be broken down by task type to prevent the overall average from masking degradation in high-risk scenarios.

    4. Knowledge Enhancement: Providing Accurate and Timely Information

    General models do not inherently master internal enterprise regulations, real-time business statuses, and the latest documents. When handling such tasks, a common approach is to retrieve relevant materials before generation and provide the necessary content to the model.

    A typical workflow is:

    User question → Identity and permission verification → Material retrieval → Relevance filtering → Context organization → Answer generation → Citation and result verification.

    4.1 Retrieval Quality is Often More Important Than Prompt Length

    If the retrieval results are irrelevant to the question, the model will find it difficult to provide a credible answer even if it strictly follows the prompt.

    Material processing should pay attention to document structure, paragraph boundaries, update times, and source information. For tables, operation manuals, and policy documents, chunking should preserve necessary context to avoid separating applicable conditions from specific conclusions.

    Similarly, do not stuff a large amount of candidate materials into the context all at once. Excessive repetitive or conflicting content increases comprehension difficulty and invocation costs.

    4.2 Permissions Must Be Enforced in the Retrieval Pipeline

    You cannot retrieve all documents first and then ask the model “not to reveal information it has no right to access.” A safer approach is to filter based on user identity and material permissions during the retrieval phase.

    For sensitive scenarios, you also need to check whether caches, logs, and generated results create side-channel leaks. Permission controls should cover the entire data flow process, not just constrain the final response.

    4.3 Citations Do Not Equal Proven Correctness

    Attaching a source to generated content only shows that it linked to a certain material; it does not mean the material actually supports the conclusion.

    Therefore, high-risk answers should also verify whether the “conclusion-evidence” matches. When reliable evidence cannot be found, the system should explicitly state that it cannot confirm, rather than stitching together a seemingly complete explanation.

    5. AI Agent Practices: Confining Automated Execution to Controllable Boundaries

    Agents typically use models for task planning and advance tasks by combining tool calls, state maintenance, and result feedback. They are suitable for work where steps vary and paths need adjustment based on intermediate results.

    However, not all processes require highly autonomous agents. For tasks with fixed steps, deterministic workflows are often easier to test and maintain.

    5.1 Prioritize Constrained Execution Flows

    A practical design is:

    Requirement parsing → Task planning → Rule checking → Step-by-step execution → Result verification → Human confirmation or delivery.

    The model is responsible for making judgments within allowed bounds, while the system controls available operations, parameter boundaries, execution counts, and state transitions.

    Note that the model proposing a call request does not mean the operation succeeded. The system must read the actual execution result and update the task status accordingly.

    5.2 Separate “Suggesting Operations” from “Executing Operations”

    Querying materials, generating drafts, and modifying official data carry different risks and should not be granted the same permissions.

    When dealing with deletions, payments, public publishing, or important configuration changes, set up human confirmation, approvals, or other strong validations based on risk. Before execution, permissions and business conditions should be re-verified to prevent the environment from changing after the plan was generated.

    5.3 Retries Must Have Boundaries

    Simply repeating a failed step can cause duplicate writes, resource waste, or even repeated triggering of external operations.

    The system should distinguish between transient faults, parameter errors, permission errors, and unmet business conditions. For operations with side effects, idempotency controls should be designed; for completed steps, duplicate execution should be avoided through task states.

    When failures exceed the preset policy limits, the task should be aborted and scene information preserved, rather than letting the model attempt indefinitely.

    6. Generative Content Production: From Trial-and-Error to Structured Iteration

    In image, text, and video generation, repeatedly generating and manually selecting is a common workflow. This approach suits creative exploration, but without structured constraints, scaling up can easily lead to quality fluctuations and cost overruns.

    6.1 Establish Unified Content Specifications

    Taking multi-shot content as an example, you should define character traits, scene settings, narrative sequence, visual style, and continuity requirements in advance.

    This information should be managed as independent assets, rather than writing a temporary description for each shot. When involving characters, voices, or existing assets, authorization scopes and usage limits should also be confirmed.

    6.2 Adopt Phased Acceptance

    The production process can be divided into stages such as script, storyboard, key frames, dynamic clips, and final cut.

    Moving to the next stage only after the previous one passes is usually easier for locating problems than directly generating the complete final product. For example, if the narrative logic is flawed, the script should be revised first, rather than continuously reworking the visuals.

    For failed clips, prioritize localized revisions and preserve other accepted results to reduce unnecessary repeated generation.

    6.3 Make Feedback Specific to Actionable Issues

    “The effect is not good” is not effective engineering feedback. More valuable descriptions include:

    • Character appearance is inconsistent with the setting;
    • Actions between shots cannot connect;
    • Subtitles block the subject;
    • Voiceover conflicts with the visual expression;
    • Output contains unverified facts.

    After categorizing the problems, you can determine whether to modify input constraints, production steps, or review standards, rather than attributing all failures to model capabilities.

    7. Production Deployment: Co-designing Quality, Cost, and Security

    A working prototype only indicates that the technical path is initially feasible. Production systems also need to handle concurrency, timeouts, exception recovery, and continuous operations.

    7.1 Calculate Costs Around Complete Tasks

    The cost of a single model call does not represent the business cost. A single task may also include multiple rounds of retrieval, multiple generations, tool executions, human reviews, and failure retries.

    Therefore, you should track both the total cost per task and the cost per qualified result. If a new solution reduces single-call overhead but significantly increases retry counts, it may not be more economical overall.

    7.2 Establish End-to-End Observability

    It is recommended to record task versions, model configurations, retrieval sources, execution steps, time consumed, failure types, and review conclusions to support problem localization and regression analysis.

    Logs should follow the principle of necessity: desensitize sensitive data and restrict access permissions and retention periods. Observability cannot come at the cost of indiscriminately collecting user content.

    7.3 Maintain Distrust of External Content

    Retrieved documents, user-uploaded files, and tool-returned text may all contain malicious or misleading instructions. The system should distinguish between “data to be processed” and “instructions authorized to control the system.”

    Just because a piece of material asks to ignore rules, read secrets, or invoke external capabilities does not mean the model should be allowed to do so. True security boundaries must be enforced jointly by permission systems, tool gateways, and business rules.

    7.4 Reduce Upgrade Risks Through Gradual Rollouts

    Changes to models, prompts, knowledge bases, and workflows can all affect results and should be uniformly brought under version control.

    New solutions should first be validated in a small scope of tasks, observing quality, cost, and anomalies, before gradually expanding the usage scope. If core metrics degrade, you should have the ability to roll back to the previous version or switch to manual processing.

    8. Conclusion: The Value of New Capabilities Depends on the Engineering Loop

    New advancements in LLMs offer more possibilities, but “being able to generate,” “being able to call tools,” and “being able to stably complete business tasks” are three different levels.

    A reliable implementation path should start with clear task definitions, verify capabilities through real evaluations, supplement evidence with knowledge enhancement, execute tasks through constrained workflows, and ensure continuous operation through monitoring, review, and version management.

    For development teams, the top priority is not to build the demo system with the most features, but to build a delivery pipeline that can discover errors, limit risks, measure benefits, and continuously improve. Only by forming such an engineering loop can new capabilities transition from brief technical highlights into verifiable, maintainable production capacities.