Model Selection and Five-Task Evaluation Under a Unified Agent Framework

    Selecting models for Agent applications is easily skewed by single-turn Q&A or code generation benchmarks. In production, models must handle compound challenges such as long context, tool calling, state recovery, confirmation of risky actions, skill pack loading, and cost control. This article presents an engineering-oriented evaluation method: fix the Agent runtime, memory, skill packs, system settings, and toolset, then switch only the candidate LLM and observe performance across five task types. No specific third-party product is discussed; candidate models are anonymized as A, B, C, and D.

    Selecting models for Agent applications is easily skewed by single-turn Q&A or code generation benchmarks. In production, models must handle compound challenges such as long context, tool calling, state recovery, confirmation of risky actions, skill pack loading, and cost control. This article presents an engineering-oriented evaluation method: fix the Agent runtime, memory, skill packs, system settings, and toolset, then switch only the candidate LLM and observe performance across five task types. No specific third-party product is discussed; candidate models are anonymized as A, B, C, and D.

    1. Why a Controlled-Variable Evaluation Is Needed

    The core question in multi-model Agent evaluation is not “which model is smarter,” but “which model completes closed-loop tasks more reliably within a given framework.” The same task can perform very differently across Agent frameworks because of differences in system prompts, tool descriptions, memory injection, skill pack triggers, risk confirmation policies, and context pruning. Therefore, the runtime environment must be fixed before models are swapped.

    At minimum, fix the following variables:

    • Identical system prompts and role constraints;
    • Identical memory content, retrieval strategy, and injection location;
    • Identical skill pack directories, metadata formats, and trigger rules;
    • Identical callable tool lists, parameter schemas, and permission boundaries;
    • Where reasoning effort is configurable, set it uniformly to a high tier;
    • Identical timeouts, retries, maximum tool turns, and context budgets.

    Only then can observed differences be attributed to model capability rather than framework configuration drift. For long-running online Agents, quota stability, per-task cost, and failure recovery also matter. Higher reasoning tiers usually improve constraint adherence but amplify resource consumption, so a tiered quality-cost design is necessary.

    2. Evaluation Metric Design

    Build a multi-dimensional metric set instead of only checking task completion. A suggested evaluation record structure:

    1. {
    2. "task": "skill_packaging",
    3. "model": "candidate_a",
    4. "completed": true,
    5. "constraint_violations": 0,
    6. "tool_call_errors": 1,
    7. "risk_confirmations": 1,
    8. "self_check_quality": 4,
    9. "tokens_in": 0,
    10. "tokens_out": 0,
    11. "latency_ms": 0,
    12. "manual_score": 4
    13. }

    Key metrics include:

    1. Task completion rate: whether a deliverable is produced as required, not just suggestions.
    2. Constraint adherence: whether output format, directory structure, naming conventions, and permission boundaries are respected.
    3. Tool-call correctness: whether parameters are valid, calls are non-redundant, and errors are recovered from.
    4. Risk control: whether the model asks before high-risk actions and distinguishes read-only from write operations.
    5. Self-check quality: whether it identifies failure modes, edge cases, and regression test points.
    6. Resource consumption: input/output tokens, tool response size, and context growth rate.
    7. Stability: variance across runs, long-chain interruption rate, and recovery success rate.
    8. Cost and quota: per-task cost, long-term availability, and burst traffic tolerance.

    3. Five Agent Task Categories in Practice

    3.1 Skill Pack Packaging: From Prompt Document to Publishable Capability Pack

    The first task turns a design-system prompt document into a publishable skill pack. The goal is not copying the source text but packaging a capability others can install and use directly. A qualified output should include metadata, trigger conditions, input/output definitions, execution steps, constraints, examples, failure modes, and a self-check list.

    A suggested structure:

    1. name: design-system-packager
    2. version: 1.0.0
    3. trigger:
    4. keywords: ["design system", "prompt curation", "capability packaging"]
    5. inputs:
    6. source_doc: path/to/design-prompt.md
    7. outputs:
    8. - PACKAGE.md
    9. - examples/
    10. - self-check.md
    11. constraints:
    12. - Do not copy large passages from the source text
    13. - Output publishable metadata
    14. - Include failure-mode self-checks

    Points to observe: whether the model recognizes implicit constraints in the document; whether it mistakes descriptive text for executable steps; whether it generates runtime-recognizable metadata; whether its self-check flags overly broad triggers, missing inputs, or unclear permissions. If a candidate cannot even reliably read local skill pack metadata, or fails to trigger confirmation before high-risk actions, its tool protocol adherence in this Agent framework is insufficient, and further tasks need not be scaled up.

    3.2 Web Development: From Requirement Breakdown to Runnable Pages

    Web development tasks should cover requirement decomposition, component design, responsive layout, accessibility, error handling, and basic testing. Evaluation should look beyond whether code runs: does the model confirm inputs and outputs first, preserve edge cases, and recover from failed tool calls?

    Suggested observations:

    • Whether it edits at file granularity instead of rewriting large blocks;
    • Whether it avoids unnecessary dependencies;
    • Whether it handles empty, loading, and error states;
    • Whether it generates executable verification steps;
    • Whether it keeps the task goal stable across a long chain.

    Some models perform well on short tasks but show “repeated planning” or “context forgetting” after multiple tool-call rounds. Require checkpoint outputs at key milestones, such as “component structure done; next, error handling.”

    3.3 Presentation Design and Copywriting: Structure, Visual Hierarchy, and Consistency

    This category tests whether the model can turn technical content into a structured narrative. A qualified output should include audience analysis, chapter structure, per-slide goals, visual hierarchy suggestions, and tone constraints. The focus is information density and consistency, not visual flair.

    Points to observe: whether the model outlines before writing; whether it controls per-slide information volume; whether it avoids empty slogans; whether it can make local edits based on feedback without breaking the global structure. In an Agent context, also check whether it can encode design constraints into a skill pack for reuse in later tasks.

    3.4 Knowledge Base Management: Chunking, Retrieval, Citations, and Updates

    Knowledge base tasks should cover document ingestion, chunking strategy, metadata design, retrieval, citation, and updates. Require traceable citations and an explicit conflict-resolution policy. Common failure modes are “retrieving a passage but fabricating the surrounding context” or “correct citation format with a mismatched source.”

    Require the model to output:

    • Chunking granularity and overlap strategy;
    • Metadata fields and permission fields;
    • Retrieval recall and re-ranking strategy;
    • Citation format and handling of unanswerable queries;
    • Incremental update and expiry/deletion mechanisms.

    This category is effective for observing constraint adherence and self-check ability. If a model answers without evidence, treat it as high risk.

    3.5 Browser Automation: Long Chains and Resource Consumption Governance

    Browser automation places the greatest pressure on resource consumption and stability. It involves element location, wait strategies, exception recovery, screenshots and logging, and confirmation of risky actions. Set a maximum turn count and budget, and observe whether the model narrows scope after failures instead of retrying indefinitely.

    Require the model to:

    • Prefer stable selectors;
    • Require human confirmation for write and submit actions;
    • Apply backoff and a maximum retry count on timeouts;
    • Record key steps and screenshots;
    • Summarize intermediate state when context grows too long.

    In this category, some candidates may see rapid token inflation due to oversized tool responses, driving per-task costs significantly higher. Engineering mitigations include truncating tool results, paginated reads, state summarization, and caching.

    4. Common Failure Modes and Governance

    Common problems in multi-model Agent evaluation include tool protocol drift, unconfirmed risky actions, skill pack metadata read failures, context inflation, repeated planning, hallucinated citations, and long-chain interruptions. Governance strategies:

    1. Protocol validation: validate tool parameters against schemas at runtime and return structured errors on failure.
    2. Risk tiering: tiered authorization for read-only, write, submit, and delete operations, with mandatory confirmation for high-risk actions.
    3. Budget control: set token, turn, and latency budgets per task; degrade or escalate to humans when exceeded.
    4. Observability: log model, tools, latency, tokens, error codes, and human scores; integrate with logging services and monitoring alerts.
    5. Regression testing:固化 the five task categories as a regression suite and rerun it whenever the model or framework version changes.
    6. Tiered routing: route simple tasks to low-cost models and complex long chains to high-reasoning models, with policy-based fallback after failures.

    5. Conclusion

    Multi-model evaluation under a unified Agent framework should be premised on controlled variables, with task closure, constraint adherence, tool calling, risk control, resource consumption, and stability as core metrics. No single model leads across all tasks; selection should be driven by real task distribution, SLOs, and cost budgets. For long-running online Agents, adopt tiered routing, budget governance, risk confirmation, and continuous regression testing, and store evaluation artifacts in object storage, logging services, and monitoring/alerting systems to form a reusable engineering loop. General-purpose cloud service categories from providers such as Baidu AI Cloud can host this operational data, but the final choice should always come back to business metrics and engineering constraints.